Paper/Archive/CVE-2021-3902

CVE-2021-3902

dompdf dompdf/dompdf — Improper Restriction of XML External Entity Reference in dompdf/dompdf

Description · from the CVE record

An improper restriction of external entities (XXE) vulnerability in dompdf/dompdf's SVG parser allows for Server-Side Request Forgery (SSRF) and deserialization attacks. This issue affects all versions prior to 2.0.0. The vulnerability can be exploited even if the isRemoteEnabled option is set to false. It allows attackers to perform SSRF, disclose internal image files, and cause PHAR deserialization attacks.

Affected

ProductAffectedFixed inSource
dompdf/dompdfunspecified – < 2.0.02.0.0CNA
dompdf< 2.0.02.0.0CISA-ADP

Scores by source

@huntr_ai (CNA)9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADP9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: poc · Automatable: yes · Technical impact: total

References

refhuntr.com/bounties/a6071c07-806f-429a-8656-a4742e4191b1refgithub.com/dompdf/dompdf/commit/f56bc8e40be6c0ae0825e6c7396f4db80620b799