CVE-2018-19047 Server-side request forgery in n/a
An SSRF vulnerability in mPDF allows attackers to make arbitrary requests if the application accepts unsanitized HTML input.
- 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-2018-19047?
CVE-2018-19047 is a critical server-side request forgery vulnerability in n/a, published on 7 Nov 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
mPDF through 7.1.6, if deployed as a web application that accepts arbitrary HTML, allows SSRF, as demonstrated by a '<img src="http://192.168' substring that triggers a call to getImage in Image/ImageProcessor.php. NOTE: the software maintainer disputes this, stating "If you allow users to pass HTML without sanitising it, you're asking for trouble.
Weakness: CWE-918
Which versions are affected by CVE-2018-19047?
It affects 1 product.
Products include Mpdf Project Mpdf.
How do I fix CVE-2018-19047?
No fix has been published for CVE-2018-19047 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-2018-19047 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-19047 exists.
Other vulnerabilities in n/a
Sources
Also known as GHSA-9wr2-vjfc-4jqw.