CVE-2019-1000005

High

Description

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.

SeverityHigh
CVSS8.8
Exploit probability—
ProductMpdf
PublishedFeb 4, 2019
First seenFeb 4, 2019

How to fix

Update
  • mpdf/mpdf7.1.8 or later

Affected products

ProductAffected versionsFixed in
mpdf_project mpdfv ≤ 7.1.7—
mpdf/mpdfPackagistv < 7.1.87.1.8

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.