Auth bypass in Dompdf
CVE-2023-23924
Dompdf is an HTML to PDF converter. The URI validation on dompdf 2.0.1 can be bypassed on SVG parsing by passing `<image>` tags with uppercase letters. This may lead to arbitrary object unserialize on PHP < 8, through the `phar` URL wrapper. An attacker can exploit the vulnerability to call arbitrary URL with arbitrary protocols, if they can provide a SVG file to dompdf. In PHP versions before 8.0.0, it leads to arbitrary unserialize, that will lead to the very least to an arbitrary file deletion and even remote code execution, depending on classes that are available.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 10.0 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:H.
EPSS exploit prediction
EPSS: 0.036 (89.0th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 89th percentile — 89.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.036 · newest: 0.036 · change: 0.000
Affected products
- Dompdf — versions < 2.0.2
- Dompdf Project — versions 2.0.1
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/dompdf/dompdf/security/advisories/GHSA-3cw5-7cxw-v5qg (Exploit, Third Party Advisory)
- github.com/dompdf/dompdf/commit/7558f07f693b2ac3266089f21051e6b78c6a0c85 (Patch, Third Party Advisory)
- github.com/dompdf/dompdf/releases/tag/v2.0.2 (Third Party Advisory, Release Notes)
Frequently asked questions
- What is CVE-2023-23924?
- CVE-2023-23924 is a critical-severity vulnerability in Dompdf, classified under CWE-551. CVSS score: 10.0/10. Published 2023-02-01.
- How severe is CVE-2023-23924?
- Critical severity. CVSS v3 base score is 10.0 out of 10.
- Is CVE-2023-23924 known to be exploited?
- 12 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.