CVE-2024-25180 Code injection in n/a
Remote attackers can execute arbitrary code via crafted requests to the /pdf endpoint, which is only exposed if a test framework is installed.
- 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-2024-25180?
CVE-2024-25180 is a critical code injection vulnerability in n/a, published on 29 Feb 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An issue discovered in pdfmake 0.2.9 allows remote attackers to run arbitrary code via crafted POST request to the /pdf endpoint. NOTE: this is disputed because the behavior of the /pdf endpoint is intentional. The /pdf endpoint is only available after installing a test framework (that lives outside of the pdfmake applicaton). Anyone installing this is responsible for ensuring that it is only available to authorized testers.
Weakness: CWE-94
Which versions are affected by CVE-2024-25180?
It affects 1 product.
Products include Pdfmake Project Pdfmake.
How do I fix CVE-2024-25180?
No fix has been published for CVE-2024-25180 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2024-25180 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-25180 exists.
Public exploit code: 1 proofs of concept on GitHub.
Sources
Also known as GHSA-3wcf-84jq-4rxx.