CVE-2020-7740 Server-side Request Forgery (SSRF)
An attacker can exploit lack of input validation in node-pdf-generator to perform Server-Side Request Forgery attacks against external servers.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2020-7740?
CVE-2020-7740 is a high-severity server-side request forgery vulnerability in node-pdf-generator, published on 6 Oct 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
This affects all versions of package node-pdf-generator. Due to lack of user input validation and sanitization done to the content given to node-pdf-generator, it is possible for an attacker to craft a url that will be passed to an external server allowing an SSRF attack.
Which versions are affected by CVE-2020-7740?
2 open source packages ship an affected version, including node-pdf-generator. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
node-pdf-generator npm | All versions to 0.0.6 | None |
node-pdf-generator npm | All versions to 0.0.6 | None |
Products include Node-Pdf-Generator Project Node-Pdf-Generator.
How do I fix CVE-2020-7740?
No fix has been published for CVE-2020-7740 yet. Limit exposure of the affected software until one is available.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2020-7740 being exploited?
There is no known exploitation of CVE-2020-7740 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Sources
Also known as GHSA-hcq6-h8v2-r5wm.