Unauthenticated SSRF in NASA Trek addManifest allows internal network access from the Trek server
An unauthenticated endpoint in NASA's Trek web service accepted a user-supplied URL and made the server fetch it, allowing an attacker to reach internal services on the loopback interface and internal network. The attacker could use the server as a proxy to interact with non-public services.
Originally disclosed on Bugcrowd
- Accepted in 12 hours
- Fixed in 2 months
- Disclosed after 3 months
Summary by n0RollBack
Unauthenticated Server-Side Request Forgery (SSRF) in the NASA Trek addManifest web service.
Summary An unauthenticated endpoint in the Trek outreach web service accepted a user-controlled URL parameter and made the server issue an HTTP request to that URL and parse the response. No authentication, allowlist, or network egress restriction was enforced, so an external, unauthenticated requester could make the Trek server reach services on its own loopback interface and on the internal network segment behind it.
Endpoint GET /moon/TrekServices/ws/outreach/eq/addManifest with an attacker-controlled manifestURL parameter. The request required no authentication.
Impact confirmed during testing
- The server was made to reach an internal search service bound to its loopback interface, an administrative interface that should only be reachable from the host itself.
- The server was made to reach an internal-only backend host that is not routable from the public Internet.
Together these confirmed that the Trek server could be used as a proxy to interact with internal, non-public services, which is the core risk of an internal-facing SSRF.
Severity P2 (High). CVSS 3.1 base score 8.6 (AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N).
Remediation NASA remediated the endpoint so that it no longer performs the unrestricted server-side fetch. The submission was validated, accepted, and marked as resolved.
Testing statement Reported under the NASA Vulnerability Disclosure Program. No data was exfiltrated. Testing was strictly limited to proving reachability of internal services, using a single source address.
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 endpoint accepted a user-controlled URL and performed a server-side HTTP request without validating or restricting the destination, such as with an allowlist or network egress controls.
Impact
An external, unauthenticated attacker could use the Trek server as a proxy to interact with internal, non-public services, potentially accessing sensitive information or administrative interfaces.
What the attacker needed
No authentication required; Network access to the Trek service
The fix
NASA remediated the endpoint so that it no longer performs the unrestricted server-side fetch.
How it was found
- Send an unauthenticated GET request to the addManifest endpoint with a manifestURL parameter pointing to an internal address.
- Observe that the server fetches the URL and parses the response, confirming reachability of internal services.
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.
This is a server-side request forgery (SSRF) bug. The website had a feature that took a web address from the user and asked its own server to fetch that address. Because the server did not check where it was connecting, an attacker could give it addresses of internal machines that are normally hidden from the internet, and the server would connect to them on the attacker's behalf.
What is SSRF?
The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.