Server-Side Request Forgery (SSRF) Affecting terriajs-server package, versions <2.7.4


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Server-Side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-TERRIAJSSERVER-1536742
  • published5 Aug 2021
  • disclosed29 May 2019
  • creditUnknown

Introduced: 29 May 2019

CVE NOT AVAILABLE CWE-918  (opens in a new tab)

How to fix?

Upgrade terriajs-server to version 2.7.4 or higher.

Overview

terriajs-server is a basic NodeJS Express server that serves up a (not included) static TerriaJS-based site (such as National Map) with a few additional useful services.

Affected versions of this package 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.

References

CVSS Scores

version 3.1