Skip to content
SSRF Write-up Intermediate

How a Single Unauthenticated Endpoint Let Me Reach NASA's Internal Network

An unauthenticated endpoint on NASA's Solar System Trek accepted a user-supplied URL and fetched it server-side without validation, allowing an attacker to make the server reach its own loopback interface and an internal JPL backend. The attacker could use this to access internal services not otherwise reachable from the public internet.

n0RollBack Follow

Published on medium.com

NASA

n0RollBack, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 8 min read.

Context

NASA runs a Vulnerability Disclosure Program on Bugcrowd, open to anyone who reports in good faith. There is no bounty. The reward is recognition: a place in NASA's public Hall of Fame and, for valid findings that get fixed, a Letter of Recognition signed by NASA's Senior Agency Information Security Officer. The scope is deliberately narrow: nasa.gov and its NASA-managed subdomains, tested read-only, in-scope only, with no exfiltration, under rules of engagement backed by the Computer Fraud and Abuse Act.

One of those subdomains is trek.nasa.gov, the home of NASA Solar System Trek, a set of interactive mapping tools for the Moon, Mars and other bodies, built and operated by JPL. Trek exposes a Jersey web-services layer. Jersey, by default, publishes a Web Application Description Language document that enumerates every registered resource and method, and on this host it was sitting in the open.

The finding is an unauthenticated Server-Side Request Forgery in the Trek platform that let an anonymous request from the public internet reach services running inside NASA JPL infrastructure. NASA validated it, accepted it as a High impact issue, resolved it, issued a signed Letter of Recognition from the Office of the Chief Information Officer, and approved public disclosure.

Setup

The endpoint accepted unauthenticated requests. The endpoint accepted unauthenticated requests, and every request in the proof used the same all-zeros item_UUID so that no real outreach record was ever touched. The testing was remote-only, in-scope and read-only, with no pivoting past the point of proof.

The stack was running Apache Tomcat 8.5.4 and Jersey 1.19. Their age is context, not the root cause.

Finding it

The finding did not start with a scanner. It started with a WADL file:

Text
https://trek.nasa.gov/moon/TrekServices/ws/application.wadl

That single file described 138 paths and 144 methods. Near the top it leaked something that should never have been exposed to the public internet: the base resource URL of an internal backend.

XML
<resources base="http://moontrek-protected.jpl.nasa.gov:8080/TrekServices/ws/">

That is an internal JPL hostname, on port 8080, named moontrek-protected. It is not directly reachable from the public internet.

Among the enumerated methods was one that immediately looked interesting:

Text
/outreach/eq/addManifest

An endpoint that takes something called a manifest URL is a classic SSRF candidate. Anything that accepts a URL and does something server-side with it deserves a closer look.

Exploitation

The endpoint accepted an unauthenticated GET request with two parameters:

HTTP
GET /moon/TrekServices/ws/outreach/eq/addManifest?item_UUID=<uuid>&manifestURL=<url> HTTP/2Host: trek.nasa.gov

No cookie, no Authorization header, no API key. The server takes the manifestURL value, fetches it, and parses the response body as JSON. There was no scheme validation, no host allowlist and no block on internal address ranges. That is the whole vulnerability in one sentence: user-controlled URL, fetched server-side, no validation. The interesting part is what that let the researcher prove.

Step 1: prove the server makes outbound requests

The first request pointed manifestURL at a hostname that does not resolve:

Bash
curl -sk "https://trek.nasa.gov/moon/TrekServices/ws/outreach/eq/addManifest?item_UUID=00000000-0000-0000-0000-000000000000&manifestURL=https://example.invalid/"

The server answered with a Java stack trace:

Text
java.net.UnknownHostException: example.invalid    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)    at sun.net.www.http.HttpClient.openServer(HttpClient.java:465)    at gov.nasa.jpl.trek.services.OutreachService.addManifest(OutreachService.java:166)

That confirmed three things at once. The server actively performs DNS resolution and outbound HTTP using the supplied input. The exact vulnerable code path is OutreachService.addManifest at line 166. And the application is verbose enough to return its internal reflections in error bodies, which is how the entire proof was built without ever touching real data.

The item_UUID was all zeros for every single request, precisely so that no real outreach record would ever be interacted with.

Step 2: reach the server's own loopback interface

Next the request aimed at the server's localhost:

Bash
curl -sk "https://trek.nasa.gov/moon/TrekServices/ws/outreach/eq/addManifest?item_UUID=00000000-0000-0000-0000-000000000000&manifestURL=http://[redacted]:8983/solr/admin/cores?wt=json"

Response:

Text
JSONObject["SLIDESHOWS"] not found.    at org.json.JSONObject.get(JSONObject.java:471)    at org.json.JSONObject.getJSONArray(JSONObject.java:618)    at gov.nasa.jpl.trek.services.OutreachService.addManifest(OutreachService.java:167)

The server reached http://[redacted]:8983/solr/admin/cores, got back valid JSON from the Solr admin API, and then failed only because that JSON did not contain a field called SLIDESHOWS. The failure is the proof: the application successfully talked to an internal Solr administrative interface on port 8983, an interface that has no business being reachable from the outside, and it did so on the researcher's behalf.

Step 3: reach the internal JPL backend

Now the hostname from the WADL comes back. The request asked Trek to fetch its own internal backend:

Bash
curl -sk "https://trek.nasa.gov/moon/TrekServices/ws/outreach/eq/addManifest?item_UUID=00000000-0000-0000-0000-000000000000&manifestURL=http://moontrek-protected.jpl.nasa.gov:8080/"

Response:

Text
A JSONObject text must begin with '{' at 4 [character 1 line 4]    at org.json.JSONObject.<init>(JSONObject.java:195)    at gov.nasa.jpl.trek.services.OutreachService.addManifest(OutreachService.java:166)

The server reached moontrek-protected.jpl.nasa.gov:8080, received an HTML response from the internal backend, and failed trying to parse HTML as JSON. In plain terms: an anonymous request from the public internet caused a NASA host to make a request to an internal JPL service that is not otherwise reachable from the outside. That is the crossing of a trust boundary, and it is the core of the impact.

Root cause

Every stack trace pointed at the same two lines:

Text
gov.nasa.jpl.trek.services.OutreachService.addManifest  line 166: new JSONObject(httpGet(manifestURL))  line 167: json.getJSONArray("SLIDESHOWS")

The user-supplied manifestURL goes straight into an HTTP fetch, and the response body goes straight into a JSON parser. No allowlist, no scheme check and no internal-range block anywhere in between.

The WADL file disclosed the internal backend's base URL to the public internet. The verbose error handling returned stack traces naming internal classes, line numbers and internal reachability, which is what made the proof possible without retrieving any data.

Impact

The issue was classified as P2, High impact, with a CVSS 3.1 vector of AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N, scoring 8.6.

An unauthenticated attacker could make trek.nasa.gov issue arbitrary outbound GET requests from its server-side network context, reaching the server's loopback interface and internal JPL hostnames that the public cannot touch directly. From there, an SSRF like this is a pivot: internal admin interfaces, service-to-service endpoints, and in many cloud deployments the metadata service.

The researcher did not test the metadata endpoints, did not port-scan the internal range and did not chain further. The proof was already conclusive and was built entirely from reflected error messages. No NASA data was retrieved or exfiltrated beyond what the server volunteered in its own stack traces.

Fix

The fix recommendations submitted, in priority order:

  1. Authenticate /outreach/eq/addManifest, or remove it from the public API surface if it was never meant to be public.
  2. Validate manifestURL against a strict allowlist of trusted hosts.
  3. Block requests to private, loopback, link-local and internal ranges: [redacted]/8, [redacted]/8, [redacted]/16, [redacted]/12, [redacted]/16, and the internal JPL ranges.
  4. Apply DNS pinning: resolve the host before the fetch and re-validate after any redirect.
  5. Set strict outbound timeout and response-size limits.
  6. Disable the Jersey WADL exposure with com.sun.jersey.config.feature.DisableWADL=true.
  7. Audit every other manifestURL-style parameter in OutreachService and the neighbouring planet endpoints for the same pattern.

NASA resolved the issue on 03 Aug 2026 and issued the Letter of Recognition the following day. The report does not describe which of the recommendations were implemented.

Variants to test

  • WADL and similar description documents. Request application.wadl (and equivalent descriptors for other frameworks) on any Jersey or JAX-RS service. A positive result is a document enumerating resources and methods, and especially a base attribute pointing at an internal hostname or non-public port.
  • URL-accepting parameters. Look for parameters whose names suggest fetching, importing or manifest handling (manifestURL, url, callback, feed, import, webhook). A positive result is a server-side fetch you can observe, for example through a DNS lookup or an error naming the fetch code path.
  • Non-resolving hostname. Point the parameter at a hostname that cannot resolve. A positive result is a resolver or connection exception in the response, which proves server-side DNS and outbound HTTP and often names the vulnerable class and line.
  • Loopback services. Aim at http://[redacted]:<port>/ for common administrative interfaces. A positive result is a parse error that differs from a connection refused error, showing the service answered and only the response format was wrong.
  • Internal hostnames from leaked metadata. Feed back any internal hostname disclosed by a descriptor or error message. A positive result is a response that could only come from inside the network, such as an HTML body where JSON was expected.
  • Redirect handling. If the fetch follows redirects, point it at an external host that redirects to an internal address. A positive result is the internal response arriving after the redirect, which shows validation happens only on the first URL.
  • Scheme handling. Try file://, gopher:// and other schemes where the client library supports them. A positive result is content or an error that could only originate from the local filesystem or another protocol handler.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 24 min read.

What happened, in plain words

NASA has a website called NASA Solar System Trek, at trek.nasa.gov. It is a set of interactive maps of the Moon, Mars and other worlds, built and run by JPL, NASA's Jet Propulsion Laboratory. One of the features on that site takes a web address from the visitor, goes and fetches that address from the server, and reads what comes back.

That feature had no lock on the door. Anyone on the internet could use it, without an account, without a password, without a login cookie. And it would fetch any address it was given, including addresses that only machines inside NASA's own network are supposed to be able to reach.

A security researcher called n0RollBack found it, proved it with a small set of requests, and reported it to NASA. NASA confirmed the problem, rated it High impact, fixed it, sent the researcher a signed Letter of Recognition, and later approved this public write-up. This article walks through the whole thing from zero, assuming you have never done security work before.

The program: how reporting to NASA works

Before the technical part, you need to know the rules of the game, because they shaped every decision in the story.

NASA runs something called a Vulnerability Disclosure Program, hosted on a platform called Bugcrowd. A vulnerability disclosure program (VDP) is an official invitation: an organisation says "if you find a security problem in our systems, tell us here, and we promise not to treat you as a criminal for looking". Bugcrowd is a company that runs the mailbox and the paperwork for many such programs.

Some programs pay money for findings. This one does not. There is no bounty, meaning no cash reward. What you get instead is recognition: your name in NASA's public Hall of Fame, and, for valid findings that actually get fixed, a Letter of Recognition signed by NASA's Senior Agency Information Security Officer. Think of it as a formal thank-you letter from the top of the organisation, which researchers use on their CVs.

The scope is the list of things you are allowed to touch. Here it is deliberately narrow: nasa.gov and the subdomains that NASA manages. A subdomain is a site that lives under a main domain, so trek.nasa.gov is a subdomain of nasa.gov, the same way a room is part of a building. Anything outside that list is off limits, even if you could technically reach it.

The rules of engagement are the behaviour contract. Here they say: read-only (look, do not change anything), in-scope only, and no exfiltration (do not copy data out). Behind those rules sits the Computer Fraud and Abuse Act, a United States law about unauthorised access to computers. That law is why the discipline in this story is not optional: staying inside the rules is what keeps the researcher protected.

One of the in-scope subdomains is trek.nasa.gov, the home of NASA Solar System Trek. Trek is a set of interactive mapping tools for the Moon, Mars and other bodies, built and operated by JPL.

The setup: what the researcher needed (almost nothing)

The endpoint accepted unauthenticated requests. The endpoint accepted unauthenticated requests, meaning requests with no identity attached at all. Every request in the proof used the same all-zeros item_UUID so that no real outreach record was ever touched. The testing was remote-only, in-scope and read-only, with no pivoting past the point of proof.

A few of those words need unpacking.

  • An endpoint is one specific address on a server that does one specific job. If a website is a building, an endpoint is a particular service window: "this window handles passport photos, that one handles complaints".
  • Unauthenticated means the server does not ask who you are. No username, no password, no session cookie. A session cookie is a small piece of data your browser stores after you log in, so the server can recognise you on the next page; think of the wristband you get at a festival, which proves you already paid. Here there was no wristband at all, and the door still opened.
  • A UUID is a universally unique identifier: a long string of letters and numbers shaped like 00000000-0000-0000-0000-000000000000, used to name one specific record in a database. Using all zeros is a deliberate choice: it is a value that almost certainly matches no real record, so the request cannot accidentally read or change somebody's data.
  • A VPN is a virtual private network, a tunnel that makes your traffic appear to come from one fixed place. A single VPN egress means all the testing traffic left from one consistent exit point, which makes the activity easy to review afterwards.
  • Pivoting means using one small foothold to reach further into a network, step by step. The researcher deliberately did not do it.

The stack was running Apache Tomcat 8.5.4 and Jersey 1.19. The stack is the collection of software a site is built on. Tomcat is a program that runs Java web applications; Jersey is a library that helps Java applications publish web services. Their age is context, not the root cause: old software is worth noting, but the actual bug was in how the application handled input, not in the version numbers.

Finding it: reading the map before touching the terrain

The finding did not start with a scanner. A scanner is an automated tool that fires thousands of requests and looks for known weak patterns. Instead, it started with a WADL file.

A WADL file is a Web Application Description Language document. In plain terms, it is a machine-readable menu of everything a web service offers: every address it answers on, every operation it supports, and what each one expects. Jersey, the library mentioned above, publishes this menu by default, without anyone asking for it. On this host it was sitting in the open:

Text
https://trek.nasa.gov/moon/TrekServices/ws/application.wadl

Line by line: https:// means a secure web connection; trek.nasa.gov is the host; /moon/TrekServices/ws/ is a folder-like path on that host; and application.wadl is the file name. Opening that URL in a browser would show you the menu.

That single file described 138 paths and 144 methods. A path is an address the service answers on; a method is an action it can perform there. So the menu listed 138 doors and 144 things you could do at those doors.

Near the top it leaked something that should never have been exposed to the public internet: the base resource URL of an internal backend.

XML
<resources base="http://moontrek-protected.jpl.nasa.gov:8080/TrekServices/ws/">

This is XML, a text format for structured data where things are wrapped in angle brackets. The tag <resources> describes the service's resources, and the attribute base gives their base address. Reading the address piece by piece:

  • http:// is the unencrypted web protocol.
  • moontrek-protected.jpl.nasa.gov is a hostname inside JPL's own network. The jpl.nasa.gov part marks it as JPL infrastructure, and the -protected in the name is, as the researcher notes, ironic.
  • :8080 is a port. A port is like an apartment number inside a building: one machine can run many services, and the port number says which one you want. Port 8080 is a common choice for a secondary web service.
  • /TrekServices/ws/ is the path on that internal service.

That hostname is not directly reachable from the public internet. It is an internal address, the kind of thing that only machines already inside the network can talk to. Seeing it printed in a public file is like finding the floor plan of the staff-only basement pinned to the front door.

Among the enumerated methods was one that immediately looked interesting:

Text
/outreach/eq/addManifest

An endpoint that takes something called a manifest URL is a classic SSRF candidate. SSRF stands for Server-Side Request Forgery, and the idea is simple: a website offers a feature that fetches a web address on your behalf, and you abuse that feature to make the website fetch an address it should not be able to reach. The everyday comparison: a hotel concierge will happily phone a restaurant for you. If the concierge will phone any number you give, including the staff-only line to the manager's office, you have just used the concierge to get somewhere you could not go yourself. Anything that accepts a URL and does something server-side with it deserves a closer look.

The vulnerability: a URL parameter with no lock on it

The endpoint accepted an unauthenticated GET request with two parameters:

HTTP
GET /moon/TrekServices/ws/outreach/eq/addManifest?item_UUID=<uuid>&manifestURL=<url> HTTP/2Host: trek.nasa.gov

Line by line:

  • GET is the HTTP method used when a browser asks for a page. It is the "please give me this" verb of the web.
  • /moon/TrekServices/ws/outreach/eq/addManifest is the path to the endpoint.
  • The ? starts the query string, the part of a URL that carries parameters.
  • item_UUID=<uuid> is the first parameter: the identifier of the record being worked on. The angle brackets are a placeholder, meaning "put a value here".
  • & separates parameters.
  • manifestURL=<url> is the second parameter: a web address the server is expected to fetch. A manifest, in this context, is a file that describes a set of content.
  • HTTP/2 is the version of the web protocol used for the request.
  • Host: trek.nasa.gov tells the server which site name the request is for. Many servers host several sites on one machine, and this header picks one.

No cookie. No Authorization header, which is the part of a request where a login token would normally travel. No API key, which is a secret string some services require to identify the caller. The server takes the manifestURL value, fetches it, and parses the response body as JSON. JSON is a text format for data, made of curly braces, names and values, and it is what most web services speak to each other.

There was no scheme validation, no host allowlist and no block on internal address ranges. The scheme is the http:// or https:// part of an address; validating it means checking it is one of the allowed kinds. A host allowlist is a list of approved hostnames, and checking against it means refusing anything not on the list. Blocking internal address ranges means refusing addresses that belong to private networks.

That is the whole vulnerability in one sentence: user-controlled URL, fetched server-side, no validation. The interesting part is what that let the researcher prove.

Step 1: prove the server makes outbound requests

The first request pointed manifestURL at a hostname that does not resolve:

Bash
curl -sk "https://trek.nasa.gov/moon/TrekServices/ws/outreach/eq/addManifest?item_UUID=00000000-0000-0000-0000-000000000000&manifestURL=https://example.invalid/"

Line by line:

  • curl is a command-line tool that sends web requests and prints the response. It is a browser without the pictures.
  • -s means silent: do not print a progress bar.
  • -k means insecure: accept the server's certificate even if curl cannot verify it. Researchers use it when a site's certificate setup is unusual, so that a certificate warning does not hide the actual response.
  • The quoted string is the full URL being requested, with the all-zeros UUID and https://example.invalid/ as the manifest URL.
  • example.invalid is a hostname reserved for testing. The .invalid ending is guaranteed never to exist, so it can never resolve to a real machine. That is the point: the researcher wanted a name that is certain to fail.

The server answered with a Java stack trace:

Text
java.net.UnknownHostException: example.invalid    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)    at sun.net.www.http.HttpClient.openServer(HttpClient.java:465)    at gov.nasa.jpl.trek.services.OutreachService.addManifest(OutreachService.java:166)

A stack trace is the list a program prints when it crashes, showing the chain of function calls that led to the failure, from the outermost to the innermost. Reading it:

  • java.net.UnknownHostException: example.invalid is the actual error: the program tried to look up the name example.invalid and could not find it. DNS, the system that turns names like example.invalid into machine addresses, returned nothing.
  • at java.net.AbstractPlainSocketImpl.connect(...) and at sun.net.www.http.HttpClient.openServer(...) are the lower layers of Java's networking code, where the connection attempt happened.
  • at gov.nasa.jpl.trek.services.OutreachService.addManifest(OutreachService.java:166) is the application's own code: a class called OutreachService, a function called addManifest, at line 166 of the file OutreachService.java.

That confirmed three things at once. The server actively performs DNS resolution and outbound HTTP using the supplied input: it really did try to go out to the internet on the researcher's behalf. The exact vulnerable code path is OutreachService.addManifest at line 166. And the application is verbose enough to return its internal reflections in error bodies, which is how the entire proof was built without ever touching real data. Verbose here means it says too much when it fails: instead of a polite "something went wrong", it names its own internal classes and line numbers.

The item_UUID was all zeros for every single request, precisely so that no real outreach record would ever be interacted with. This is the discipline point again: the researcher could have used a real identifier, but chose one that cannot match anything.

Step 2: reach the server's own loopback interface

Next the request aimed at the server's localhost:

Bash
curl -sk "https://trek.nasa.gov/moon/TrekServices/ws/outreach/eq/addManifest?item_UUID=00000000-0000-0000-0000-000000000000&manifestURL=http://[redacted]:8983/solr/admin/cores?wt=json"

Line by line, focusing on what changed:

  • The command and the first parameter are the same as before.
  • manifestURL=http://[redacted]:8983/solr/admin/cores?wt=json is the new value. [redacted] is the loopback address: the special address a machine uses to talk to itself. Localhost is another name for the same idea. If a server fetches [redacted], it is calling a service running on its own machine, not on the internet.
  • :8983 is the port of that local service.
  • /solr/admin/cores is a path on it. Solr is a search server, and its admin interface lists the search indexes it manages. An admin interface is a control panel, and control panels are normally meant for trusted operators only.
  • ?wt=json is a parameter asking Solr to answer in JSON format.

Response:

Text
JSONObject["SLIDESHOWS"] not found.    at org.json.JSONObject.get(JSONObject.java:471)    at org.json.JSONObject.getJSONArray(JSONObject.java:618)    at gov.nasa.jpl.trek.services.OutreachService.addManifest(OutreachService.java:167)

Reading it:

  • JSONObject["SLIDESHOWS"] not found. is the error: the code looked for a field named SLIDESHOWS in the JSON it received and there was none.
  • at org.json.JSONObject.get(...) and at org.json.JSONObject.getJSONArray(...) are the JSON library functions that raised the error.
  • at gov.nasa.jpl.trek.services.OutreachService.addManifest(OutreachService.java:167) is the application's own line 167, one line below the fetch on 166.

The server reached http://[redacted]:8983/solr/admin/cores, got back valid JSON from the Solr admin API, and then failed only because that JSON did not contain a field called SLIDESHOWS. An API is an interface built for programs to talk to each other, rather than for humans clicking buttons.

The failure is the proof: the application successfully talked to an internal Solr administrative interface on port 8983, an interface that has no business being reachable from the outside, and it did so on the researcher's behalf. Notice the difference from step 1. There, the connection failed. Here, the connection succeeded and only the content was unexpected. That difference is what shows the internal service answered.

Step 3: reach the internal JPL backend

Now the hostname from the WADL comes back. The request asked Trek to fetch its own internal backend:

Bash
curl -sk "https://trek.nasa.gov/moon/TrekServices/ws/outreach/eq/addManifest?item_UUID=00000000-0000-0000-0000-000000000000&manifestURL=http://moontrek-protected.jpl.nasa.gov:8080/"

Line by line:

  • Same command, same all-zeros UUID.
  • manifestURL=http://moontrek-protected.jpl.nasa.gov:8080/ is the internal hostname copied from the WADL file, on port 8080, with a trailing slash meaning the root path of that service.

Response:

Text
A JSONObject text must begin with '{' at 4 [character 1 line 4]    at org.json.JSONObject.<init>(JSONObject.java:195)    at gov.nasa.jpl.trek.services.OutreachService.addManifest(OutreachService.java:166)

Reading it:

  • A JSONObject text must begin with '{' at 4 [character 1 line 4] means the JSON parser was handed something that is not JSON. JSON objects start with a curly brace, and this text did not, so the parser gave up at the fourth character of the fourth line.
  • at org.json.JSONObject.<init>(...) is the JSON library's constructor, the function that builds a JSON object from text.
  • at gov.nasa.jpl.trek.services.OutreachService.addManifest(OutreachService.java:166) is again the application's fetch line.

The server reached moontrek-protected.jpl.nasa.gov:8080, received an HTML response from the internal backend, and failed trying to parse HTML as JSON. HTML is the language web pages are written in, so the internal backend answered like a normal website, and the Trek code expected data instead.

In plain terms: an anonymous request from the public internet caused a NASA host to make a request to an internal JPL service that is not otherwise reachable from the outside. That is the crossing of a trust boundary, and it is the core of the impact. A trust boundary is a line between two zones that are supposed to have different levels of trust, for example "the public internet" and "inside our network". The whole point of such a line is that requests do not cross it freely. Here, one did.

Root cause: the two lines behind every error

Every stack trace pointed at the same two lines:

Text
gov.nasa.jpl.trek.services.OutreachService.addManifest  line 166: new JSONObject(httpGet(manifestURL))  line 167: json.getJSONArray("SLIDESHOWS")

Line by line:

  • gov.nasa.jpl.trek.services.OutreachService.addManifest names the function: the addManifest function of the OutreachService class, in the gov.nasa.jpl.trek.services package. A package is just a folder-like grouping of code.
  • line 166: new JSONObject(httpGet(manifestURL)) is the fetch and the parse in one expression. httpGet(manifestURL) performs the outbound request to whatever address was supplied, and new JSONObject(...) wraps the response body in a JSON object. The user's value goes straight in.
  • line 167: json.getJSONArray("SLIDESHOWS") then looks for a field called SLIDESHOWS in that JSON. This is the line that failed in step 2.

The user-supplied manifestURL goes straight into an HTTP fetch, and the response body goes straight into a JSON parser. No allowlist, no scheme check and no internal-range block anywhere in between. The endpoint itself required no authentication, so the fetch could be triggered by anyone.

The WADL exposure is a second, separate design problem: Jersey publishes the description document by default, and here it disclosed the internal backend's base URL to the public internet. The verbose error handling compounded both: stack traces returned to the client named the internal classes, the line numbers and the reachability of internal services, which is what made the proof possible without retrieving any data.

Impact: what this was worth, and why the researcher stopped

The issue was classified as P2, High impact, with a CVSS 3.1 vector of AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N, scoring 8.6.

CVSS is the Common Vulnerability Scoring System, a standard way of turning a vulnerability's characteristics into a number from 0 to 10, so that organisations can compare findings. The vector is the string that records each characteristic. Decoding it:

Code Meaning
AV:N Attack vector: network. It can be exploited remotely over a network.
AC:L Attack complexity: low. No special conditions are needed.
PR:N Privileges required: none. No account is needed.
UI:N User interaction: none. No victim has to click anything.
S:C Scope: changed. The impact reaches beyond the vulnerable component into other systems.
C:H Confidentiality: high. Serious information exposure is possible.
I:N Integrity: none. No data can be modified.
A:N Availability: none. The service cannot be knocked offline this way.

The resulting score is 8.6, and the issue was classified as P2, High impact.

An unauthenticated attacker could make trek.nasa.gov issue arbitrary outbound GET requests from its server-side network context, reaching the server's loopback interface and internal JPL hostnames that the public cannot touch directly. Server-side network context means the requests come from the server's own position inside the network, with whatever access the server has, not from the attacker's laptop on the internet.

From there, an SSRF like this is a pivot: internal admin interfaces, service-to-service endpoints, and in many cloud deployments the metadata service. A metadata service is a small internal endpoint that cloud platforms provide to their own machines, handing out configuration and credentials; it is a favourite target because it is reachable only from inside, which is exactly what an SSRF gives you.

The researcher did not test the metadata endpoints, did not port-scan the internal range and did not chain further. Port-scanning means probing many ports to see which are open. The proof was already conclusive and was built entirely from reflected error messages. No NASA data was retrieved or exfiltrated beyond what the server volunteered in its own stack traces. This is the discipline point in its sharpest form: once you can show the boundary was crossed, more probing adds risk without adding proof.

Fix: what was recommended

The fix recommendations submitted, in priority order:

  1. Authenticate /outreach/eq/addManifest, or remove it from the public API surface if it was never meant to be public. Authenticating means requiring the caller to prove who they are before the endpoint does anything.
  2. Validate manifestURL against a strict allowlist of trusted hosts. Only addresses on the approved list would be fetched.
  3. Block requests to private, loopback, link-local and internal ranges: [redacted]/8, [redacted]/8, [redacted]/16, [redacted]/12, [redacted]/16, and the internal JPL ranges. These are the address blocks reserved for private networks. The /8, /16 and /12 suffixes describe how large each block is.
  4. Apply DNS pinning: resolve the host before the fetch and re-validate after any redirect. DNS pinning means deciding once which address a name points to, and sticking to that decision, so a name cannot be swapped for an internal address between the check and the fetch. A redirect is when one server answers "not here, go to this other address instead".
  5. Set strict outbound timeout and response-size limits. A timeout caps how long the server waits; a size limit caps how much it reads back.
  6. Disable the Jersey WADL exposure with com.sun.jersey.config.feature.DisableWADL=true. This is a configuration setting that tells Jersey not to publish the menu file.
  7. Audit every other manifestURL-style parameter in OutreachService and the neighbouring planet endpoints for the same pattern. Auditing means reviewing the code for the same mistake elsewhere.

NASA resolved the issue on 03 Aug 2026 and issued the Letter of Recognition the following day. The report does not describe which of the recommendations were implemented.

Variants to test: where else this pattern shows up

These are the general lessons, written as things to look for on other systems.

  • WADL and similar description documents. Request application.wadl (and equivalent descriptors for other frameworks) on any Jersey or JAX-RS service. A positive result is a document enumerating resources and methods, and especially a base attribute pointing at an internal hostname or non-public port.
  • URL-accepting parameters. Look for parameters whose names suggest fetching, importing or manifest handling (manifestURL, url, callback, feed, import, webhook). A positive result is a server-side fetch you can observe, for example through a DNS lookup or an error naming the fetch code path.
  • Non-resolving hostname. Point the parameter at a hostname that cannot resolve. A positive result is a resolver or connection exception in the response, which proves server-side DNS and outbound HTTP and often names the vulnerable class and line.
  • Loopback services. Aim at http://[redacted]:<port>/ for common administrative interfaces. A positive result is a parse error that differs from a connection refused error, showing the service answered and only the response format was wrong.
  • Internal hostnames from leaked metadata. Feed back any internal hostname disclosed by a descriptor or error message. A positive result is a response that could only come from inside the network, such as an HTML body where JSON was expected.
  • Redirect handling. If the fetch follows redirects, point it at an external host that redirects to an internal address. A positive result is the internal response arriving after the redirect, which shows validation happens only on the first URL.
  • Scheme handling. Try file://, gopher:// and other schemes where the client library supports them. A positive result is content or an error that could only originate from the local filesystem or another protocol handler.

Glossary

  • API: an interface built for programs to talk to each other, rather than for humans clicking buttons.
  • Allowlist: a list of things that are explicitly permitted; anything not on the list is refused.
  • Authentication: proving who you are to a system, usually with a password, a token or a session cookie.
  • Bugcrowd: a company that hosts vulnerability disclosure and bug bounty programs for organisations.
  • Computer Fraud and Abuse Act: a United States law about unauthorised access to computers, which sits behind the rules of engagement for this program.
  • Cookie: a small piece of data a browser stores after you log in, so the server can recognise you on later requests.
  • Crossing a trust boundary: a request passing from a less trusted zone (the public internet) into a more trusted one (an internal network) when it should not.
  • curl: a command-line tool that sends web requests and prints the responses.
  • CVSS: the Common Vulnerability Scoring System, a standard way of scoring a vulnerability from 0 to 10.
  • CVSS vector: the string of codes that records each characteristic behind a CVSS score.
  • DNS: the system that turns names like example.invalid into machine addresses.
  • DNS pinning: resolving a hostname once and sticking to that result, so it cannot be swapped for another address between the check and the fetch.
  • Endpoint: one specific address on a server that performs one specific job.
  • Exfiltration: copying data out of a system without permission.
  • GET request: the HTTP method used to ask a server for something, the "please give me this" verb of the web.
  • Hall of Fame: a public list of researchers who have reported valid findings to a program.
  • Host allowlist: a list of approved hostnames that a fetch is allowed to contact.
  • Hostname: the name of a machine on a network, such as trek.nasa.gov.
  • HTML: the language web pages are written in.
  • HTTP: the protocol browsers and servers use to exchange requests and responses on the web.
  • Impact: how much harm a vulnerability could cause if abused.
  • In-scope: on the list of assets a program allows you to test.
  • Internal address range: a block of network addresses reserved for private networks, not reachable from the public internet.
  • Jersey: a Java library that helps applications publish web services, and that publishes a WADL description by default.
  • JPL: Jet Propulsion Laboratory, the NASA centre that built and operates Trek.
  • JSON: a text format for data, made of curly braces, names and values, used by most web services.
  • Letter of Recognition: a signed letter from NASA thanking a researcher for a valid finding.
  • Link-local range: an address block used for communication on a local network segment only.
  • Loopback address: the special address [redacted], which a machine uses to talk to itself.
  • Manifest: a file that describes a set of content.
  • Metadata service: a small internal endpoint in cloud platforms that hands configuration and credentials to the machines there.
  • Method: an action a web service can perform at a given path.
  • Outbound request: a request a server makes to somewhere else, rather than one it receives.
  • Parameter: a named value attached to a URL after the ?, such as manifestURL.
  • Path: the folder-like part of a URL that identifies a resource on a host.
  • Pivot: using one small foothold to reach further into a network.
  • Port: a number that identifies which service on a machine a connection is for, like an apartment number in a building.
  • Port-scanning: probing many ports on a machine to see which are open.
  • Private address range: an address block reserved for internal networks, not routable on the public internet.
  • P2: a priority label used by the program, with P1 being the most urgent.
  • Read-only: looking at a system without changing anything.
  • Redirect: a server answering "not here, go to this other address instead".
  • Rules of engagement: the behaviour contract for testing a program's systems.
  • Scanner: an automated tool that fires many requests looking for known weak patterns.
  • Scheme: the http:// or https:// part of a web address.
  • Scope: the list of assets a program allows you to test.
  • Server-side: happening on the server, not in the visitor's browser.
  • Session cookie: a cookie that identifies a logged-in session.
  • Solr: a search server, whose admin interface lists the search indexes it manages.
  • SSRF (Server-Side Request Forgery): a vulnerability where a server-side fetch feature is abused to make the server request addresses it should not reach.
  • Stack: the collection of software a site is built on.
  • Stack trace: the list a program prints when it crashes, showing the chain of function calls that led to the failure.
  • Subdomain: a site that lives under a main domain, such as trek.nasa.gov under nasa.gov.
  • Timeout: a cap on how long a request may take before it is abandoned.
  • Tomcat: a program that runs Java web applications.
  • Trust boundary: a line between two zones that are supposed to have different levels of trust.
  • Unauthenticated: performed without proving any identity, with no account, password or session.
  • UUID: a universally unique identifier, a long string used to name one specific record.
  • VDP (Vulnerability Disclosure Program): an official invitation for researchers to report security problems, with protection for reporting in good faith.
  • Verbose error handling: returning detailed internal error information to the client instead of a generic message.
  • VPN: a virtual private network, a tunnel that makes traffic appear to come from one fixed place.
  • VPN egress: the single exit point all testing traffic leaves from.
  • WADL: Web Application Description Language, a machine-readable menu of a web service's resources and methods.
  • XML: a text format for structured data where things are wrapped in angle brackets.

More by n0RollBack

View all

1 more disclosed report, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Server-side request forgery (SSRF)

The lesson behind this report.

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.