Vulnerabilities
Vulnerable Software
Mpdf Project:  >> Mpdf  >> 5.5.1  Security Vulnerabilities
mPDF version 7.1.7 and earlier contains a CWE-502: Deserialization of Untrusted Data vulnerability in getImage() method of Image/ImageProcessor class that can result in Arbitry code execution, file write, etc.. This attack appears to be exploitable via attacker must host crafted image on victim server and trigger generation of pdf file with content <img src="phar://path/to/crafted/image">. This vulnerability appears to have been fixed in 7.1.8.
CVSS Score
8.8
EPSS Score
0.004
Published
2019-02-04
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.
CVSS Score
10.0
EPSS Score
0.003
Published
2018-11-07


Contact Us

Shodan ® - All rights reserved