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


0.0
medium

Snyk CVSS

    Attack Complexity Low
    User Interaction Required

    Threat Intelligence

    Exploit Maturity Mature
    EPSS 0.51% (77th percentile)
Expand this section
NVD
6.3 medium

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 ID SNYK-PHP-DOMPDFDOMPDF-70033
  • published 10 Mar 2014
  • disclosed 10 Mar 2014
  • credit Unknown

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.