CVE-2021-3838
DomPDF before version 2.0.0 is vulnerable to PHAR deserialization due to a lack of checking on the protocol before passing it into the file_get_contents() function. An attacker who can upload files of any type to the server can pass in the phar:// protocol to unserialize the uploaded file and instantiate arbitrary PHP objects. This can lead to remote code execution, especially when DOMPdf is used with frameworks with documented POP chains like Laravel or vulnerable developer code.
Published:Nov 15, 2024
Last Modified:Nov 19, 2024
EPS:Nov 15, 2024
EPSS Score:0.05222
CVSS Score:9.8
Affected Products
Vendor
Product
Action
Vendor
Dompdf
Product
Dompdf
Dompdf
Dompdf
Vendor
Dompdf Project
Product
Dompdf
Dompdf Project
Dompdf
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Related CVEs
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
