DOMPDF Arbitrary File Read
Impact
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.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| From 0.6.0 before 0.6.1Ecosystem versions | 0.6.1 |
Version evidence: OSV · GHSA-qr6q-w4gj-3865
View original version evidence (1 explicit versions)
Original source description
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.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2014-2383
- Patch github.com/dompdf/dompdf/commit/23a693993299e669306929e3d49a4a1f7b3fb028
- Security advisory github.com/FriendsOfPHP/security-advisories/blob/master/dompdf/dompdf/CVE-2014-2383.yaml
- Source reference github.com/dompdf/dompdf
- Security advisory web.archive.org/web/20151215023329/http://www.securityfocus.com/archive/1/531912/100/0/threaded
- Source reference seclists.org/fulldisclosure/2014/Apr/258