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.