Lucene search

K
githubGitHub Advisory DatabaseGHSA-3CWC-M7C2-QR86
HistoryMay 14, 2022 - 1:33 a.m.

mPDF Unsafe Deserialization

2022-05-1401:33:54
CWE-502
GitHub Advisory Database
github.com
10
mpdf
version 7.1.7
cwe-502
vulnerability
getimage() method
arbitrary code execution
file write

CVSS2

6.8

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS3

8.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

EPSS

0.005

Percentile

75.3%

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>. This vulnerability appears to have been fixed in 7.1.8.

Affected configurations

Vulners
Node
mpdfmpdfRange7.1.7
VendorProductVersionCPE
mpdfmpdf*cpe:2.3:a:mpdf:mpdf:*:*:*:*:*:*:*:*

CVSS2

6.8

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS3

8.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

EPSS

0.005

Percentile

75.3%

Related for GHSA-3CWC-M7C2-QR86