GHSA-hfwx-c7q6-g54c Vulnerability allowing for reading internal HTTP resources
An attacker can read internal HTTP resources via the export server, potentially exposing sensitive internal web content.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-hfwx-c7q6-g54c?
GHSA-hfwx-c7q6-g54c is a server-side request forgery vulnerability in highcharts-export-server, published on 12 Mar 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Impact
The vulnerability allows for reading and outputting files served by other services on the internal network in which the export server is hosted. If the export server is exposed to the internet, this potentially allows a malicious user to gain read access to internal web-resources.
The impact is limited to internal services that serve content via. HTTP(S), and requires the attacker to know internal hostnames/IP addresses.
The previous versions have been marked as deprecated on NPM.
Patches
Version 2.1.0 released alongside this security advisory addresses the issue. Please note that this release is not backwards compatible out of the box. See the changelog for details.
Additionally, it's also recommended to upgrade to the latest version of Highcharts to get the added input sanitation implemented in version 9.0 and later.
Workarounds
There are no known workarounds to the issue - an upgrade to version 2.1.0 is required.
For more information
If you have any questions or comments about this advisory:
- Open an issue in the export server issue tracker
- Email us at [email protected]
Which versions are affected by GHSA-hfwx-c7q6-g54c?
2 open source packages ship an affected version, including highcharts-export-server.
| Package | Affected | Fixed in |
|---|---|---|
highcharts-export-server npm | All versions | 2.1.0 |
highcharts-export-server npm | All versions | 2.1.0 |
How do I fix GHSA-hfwx-c7q6-g54c?
Upgrade highcharts-export-server to 2.1.0 or later.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is GHSA-hfwx-c7q6-g54c being exploited?
There is no known exploitation of GHSA-hfwx-c7q6-g54c in the wild and no public exploit code.