CVE-2014-2383 in dompdf
LogPulse has a published detection rule for this CVE: it raises a notable when someone tries to exploit it.
What the vulnerability is
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.
Affected software: dompdf
Scores
- CVSS: 6.8 (medium)
- EPSS: 39.37% chance of exploitation in the next 30 days
- CISA KEV: Not listed
- Published: 2014-04-28
What LogPulse has for it
- Detection rule: Yes, published
- Agent check (vulnerable version): No
- Mitigation: Yes, see below
How to mitigate it
Update dompdf to 0.6.1 or later and do not expose dompdf.php
Patch or upgrade. dompdf before 0.6.1 with DOMPDF_ENABLE_PHP reads any file through a php://filter wrapper in the input_file parameter of dompdf.php. The update closes it; the stand-alone dompdf.php should not be reachable at all.
Applies to: dompdf before 0.6.1 with dompdf.php reachable over the web.
- Find dompdf copies in the web roots and check their version (composer.lock or the VERSION file).
- Update dompdf to a current release (at least 0.6.1) with composer update dompdf/dompdf.
- Delete or block the stand-alone dompdf.php script and set DOMPDF_ENABLE_PHP (isPhpEnabled) to false.
Sources:
Source data: NIST NVD, CISA KEV and FIRST EPSS. LogPulse processes new CVEs every hour.
We build every detection with great care, but no two environments are the same. Log sources, parsing and configuration differ, so test a detection in your own environment before you rely on it.