SB2019020703 - Remote code execution in mpdf



SB2019020703 - Remote code execution in mpdf

Published: February 7, 2019

Security Bulletin ID SB2019020703
CSH Severity
High
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

High 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 vulnerability.


1) Deserialization of Untrusted Data (CVE-ID: CVE-2019-1000005)

CWE-ID: CWE-502 - Deserialization of Untrusted Data

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Amber


The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists in the getImage() method of the Image/ImageProcessor class due to insecure input validation when processing serialized data. A remote attacker can trick the victim into generating a PDF file with the affected application from a malicious image file, trigger a PHP deserialization through the phar:// wrapper and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Remediation

Install update from vendor's website.