GHSA-p72p-rjr2-r439 Server-Side Request Forgery in terriajs-server
Attackers can exploit SSRF in terriajs-server to access private internal resources via whitelisted proxies or DNS manipulation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-p72p-rjr2-r439?
GHSA-p72p-rjr2-r439 is a server-side request forgery vulnerability in terriajs-server, published on 29 May 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Versions of terriajs-serverprior to 2.7.4 are vulnerable to Server-Side Request Forgery (SSRF). If an attacker has access to a server whitelisted by the terriajs-server proxy or if the attacker is able to modify the DNS records of a domain whitelisted by the terriajs-server proxy, the attacker can use the terriajs-server proxy to access any HTTP-accessible resources that are accessible to the server, including private resources in the hosting environment.
Recommendation
Upgrade to version 2.7.4 or later.
Which versions are affected by GHSA-p72p-rjr2-r439?
2 open source packages ship an affected version, including terriajs-server.
| Package | Affected | Fixed in |
|---|---|---|
terriajs-server npm | All versions | 2.7.4 |
terriajs-server npm | All versions | 2.7.4 |
How do I fix GHSA-p72p-rjr2-r439?
Upgrade terriajs-server to 2.7.4 or later.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is GHSA-p72p-rjr2-r439 being exploited?
There is no known exploitation of GHSA-p72p-rjr2-r439 in the wild and no public exploit code.