CVE-2014-2383 DOMPDF Arbitrary File Read

Medium 6.8 Published Updated

Attackers can read arbitrary files and bypass chroot protections in dompdf when PHP wrappers are enabled via the input_file parameter.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2014-2383?

CVE-2014-2383 is a medium-severity path traversal vulnerability in n/a, published on 28 Apr 2014. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-200

Which versions are affected by CVE-2014-2383?

2 open source packages ship an affected version, including dompdf/dompdf. It affects 1 product.

PackageAffectedFixed in
dompdf/dompdf PackagistFrom 0.6.00.6.1
dompdf/dompdf PackagistFrom 0.6.00.6.1

Products include Dompdf Dompdf.

How do I fix CVE-2014-2383?

Upgrade dompdf/dompdf to 0.6.1 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2014-2383 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2014-2383 exists.

Public exploit code: 1 Exploit-DB entry, 1 Nuclei template and 1 proofs of concept on GitHub.

Sources

Also known as DEBIAN-CVE-2014-2383, GHSA-qr6q-w4gj-3865.

Is CVE-2014-2383 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free