CVE-2021-3838
CVSS V2 None
CVSS V3 None
Description
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.
Overview
- CVE ID
- CVE-2021-3838
- Assigner
- @huntr_ai
- Vulnerability Status
- PUBLISHED
- Published Version
- 2024-11-15T10:51:36.766Z
- Last Modified Date
- 2024-11-15T10:57:26.565Z
Weakness Enumerations
References
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-3838 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3838 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2024-11-16 12:03:21 | Added to TrackCVE |