CVE-2019-1000005: mPDF - Insecure Deserialization
- Cve: CVE-2019-1000005
- Name: mPDF - Insecure Deserialization
- 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.
- Impact: Attackers can execute arbitrary code or write files on the server, leading to full system compromise.
- Remediation: Update to version 7.1.8 or later.
- Vulnerability type: insecure_deserialization
- Vulnerability impact: remote_code_execution, file_system_write
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.02101
- Epss percentile: 0.82077
- Assignee: [email protected]
- Published at: 2019-02-04T21:29:00Z
- Age in days: 2850
- Modified at: 2026-06-17T02:09:24Z
- Public exploits total: 1
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2019-1000005
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-502 | Deserialization of Untrusted Data |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/mpdf/mpdf/issues/949 | nvd | 2019-02-04 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/mpdf/mpdf/issues/949 | nvd | Exploit, Issue Tracking, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| mpdf_project:mpdf | <= 7.1.7 | no | nvd | /v1/products/mpdf_project/mpdf |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| mpdf/mpdf | issues, package | yes | /v1/repositories/mpdf/mpdf |
Index
- Repositories: 5
- Repositories high signal: 4
- Checked, none or zero: packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2019-02-04
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts