PT-2019-11259 · Mpdf · Mpdf

Byqwert

·

Publicado

2019-02-04

·

Atualizado

2022-05-14

·

CVE-2019-1000005

CVSS v3.1

8.8

Alta

VetorAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions: mPDF versions 7.1.7 and earlier
Description: The issue is related to a Deserialization of Untrusted Data vulnerability in the getImage() method of the Image/ImageProcessor class. This can result in arbitrary code execution, file write, etc. The attack is exploitable if an attacker hosts a crafted image on the victim server and triggers the generation of a PDF file with content <img src="phar://path/to/crafted/image">.
Recommendations: For mPDF versions 7.1.7 and earlier, update to version 7.1.8 to resolve the issue. As a temporary workaround, consider restricting the use of the getImage() method in the Image/ImageProcessor class until a patch is available. Avoid using the <img src> tag with phar:// protocol in PDF files until the issue is resolved.

Exploit

Correção

Deserialization of Untrusted Data

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

CVE-2019-1000005
GHSA-3CWC-M7C2-QR86

Produtos afetados

Mpdf