Arbitrary File Read Affecting dompdf/dompdf package, versions >=0.6.0, <0.6.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
42.54% (98th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary File Read vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-DOMPDFDOMPDF-70033
  • published10 Mar 2014
  • disclosed10 Mar 2014
  • creditUnknown

Introduced: 10 Mar 2014

CVE-2014-2383  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade dompdf/dompdf to version 0.6.1 or higher.

Overview

Affected versions of dompdf/dompdf are vulnerable to Arbitrary File Read.

dompdf.php in dompdf before 0.6.1, when DOMPDF_ENABLE_PHP is enabled, allows context-dependent attackers to bypass chroot protections and read arbitrary files via a PHP protocol and wrappers in the input_file parameter, as demonstrated by a php://filter/read=convert.base64-encode/resource in the input_file parameter.

CVSS Base Scores

version 3.1