MEDIUM
GHSA-qr6q-w4gj-3865
DOMPDF Arbitrary File Read
Quick fix
GHSA-qr6q-w4gj-3865 — dompdf/dompdf: upgrade to the fixed version with the command below.
composer require dompdf/dompdf:^0.6.1Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2014-2383[ADVISORY]
- https://github.com/dompdf/dompdf/commit/23a693993299e669306929e3d49a4a1f7b3fb028[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/dompdf/dompdf/CVE-2014-2383.yaml[WEB]
- https://github.com/dompdf/dompdf[PACKAGE]
- https://web.archive.org/web/20151215023329/http://www.securityfocus.com/archive/1/531912/100/0/threaded[WEB]
- http://seclists.org/fulldisclosure/2014/Apr/258[WEB]