Skip to content
Access control Disclosed report Intermediate

Critical Authentication Bypass via Path Normalization (Double Slash) on Live NASA MODAPS OKAPI Production Instance

The administrative API of the NASA MODAPS OKAPI service was meant to be protected by an edge layer, but a path normalisation difference between that layer and the backend application server let unauthenticated requests reach admin routes. An attacker could send requests with duplicate or encoded slashes to bypass the edge rules and trigger server-side validation handlers on mutating methods.

marcelojr Follow

Originally disclosed on Bugcrowd

Critical View original
  • Accepted in 3 days
  • Fixed in 7 days
  • Disclosed after 19 days

Summary by marcelojr

Summary

An authentication bypass vulnerability was identified in the administrative API of the NASA MODAPS OKAPI repository management service. The application interface handles critical infrastructure deployment and metadata configurations, which were intended to be restricted by an edge protection layer (AWS Application Load Balancer).

However, due to a path normalization differential between the proxy/WAF layer and the backend ASGI application server, the restriction could be reliably bypassed. By submitting requests containing duplicate slashes (//-/admin/*) or encoded sequences (/%2f-/admin/*), an unauthenticated remote attacker could circumvent the edge rules.

Testing confirmed that the bypassed routes reached the underlying application logic and successfully triggered server-side validation handlers on mutating HTTP methods (such as PUT). The issue has been completely remediated by the NASA security team through proper server-side authorization checks and edge-rule adjustments.

The original report as published on Bugcrowd, by marcelojr. 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 a path normalisation differential: the edge layer and the backend ASGI server interpreted duplicate or encoded slashes differently, so the edge rules did not match the admin path that the backend resolved.

Impact

An unauthenticated attacker could reach administrative API routes and trigger server-side validation handlers on mutating methods, though the text does not claim any data was changed or read.

What the attacker needed

Network access to the service; no account needed

The fix

It was fixed by adding proper server-side authorisation checks and adjusting the edge rules.

How it was found

  1. Send a request to an admin path using duplicate slashes so the edge layer does not recognise it as an admin route.
  2. Alternatively send the same admin path with an encoded slash sequence.
  3. Use a mutating HTTP method such as PUT to reach the underlying application logic.
  4. Observe that the request triggers server-side validation handlers, confirming the bypass.

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 web service had a front door (a proxy or firewall) that was supposed to block access to admin pages. The front door and the actual application read web addresses slightly differently, so adding an extra slash made the front door think the request was harmless while the application still treated it as an admin page. That let someone reach admin functions 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.