Skip to content
Access control Disclosed report Intermediate

Broken Access Control: CSRF token accepted as upload-permission token -> unauthenticated file upload to NASA PRODUCTION Google Cloud Storage (ADAPT fellowship portal)

The upload endpoint accepted the same CSRF token as both the CSRF token and the upload token, so an anonymous user could obtain a signed URL for the production Google Cloud Storage bucket. This allowed unauthenticated upload of PDF files to NASA's HR pipeline storage.

skxss Follow

Originally disclosed on Bugcrowd

  • Accepted in 18 days
  • Fixed in 25 days
  • Disclosed after 2 months

Summary by skxss

Title: Broken Access Control - CSRF token accepted as upload_token leads to unauthenticated file upload to NASA Production GCS (ADAPT portal)

The ADAPT fellowship portal (adapt-public.aetc.appdat.jsc.nasa.gov) allows anonymous users to get a CSRF token via POST /upload/refresh-csrf-token. The upload endpoint POST /upload/generate-resume-url expects csrf_token and upload_token, but both are validated by the same signer and upload_token is not bound to any form submission.

An attacker can fetch a CSRF token and reuse it as upload_token to get a valid signed URL for the production bucket aetc_adapt_production (and staging). This bypasses the entire form gate.

POC: 1) POST /refresh-csrf-token (anon) -> get token 2) POST /generate-resume-url with {"csrf_token": token, "upload_token": token} -> 200 + GCS signed PUT URL for prod bucket. PUT PDF to that URL -> 200 stored.

Impact is unauthenticated write to NASA HR pipeline (private bucket, no anon read, PDF-only). Fixed on 3 Sep 2026. Marker files in staging only for cleanup.

Reported by skxss @Bugcrowd.

The original report as published on Bugcrowd, by skxss. 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 upload endpoint validated both the CSRF token and the upload token with the same signer and did not bind the upload token to a specific form submission.

Impact

An unauthenticated attacker could write PDF files to NASA's production HR pipeline storage bucket, though the bucket is private and only accepts PDFs.

What the attacker needed

None

The fix

The issue was fixed on 3 September 2026.

How it was found

  1. Send an anonymous POST request to the refresh-csrf-token endpoint to obtain a CSRF token.
  2. Send a POST request to the generate-resume-url endpoint with the same token used as both csrf_token and upload_token.
  3. Receive a signed PUT URL for the production bucket.
  4. Upload a PDF file to the signed URL, which is stored successfully.

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.

A CSRF token is a secret code a website gives a form to prove the request came from that page. Here the same code was also accepted as a separate permission token for uploading files, so anyone could get one and use it to upload files without logging in.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

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.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.