CVE-2010-4879 DOMPDF Remote File Inclusion Vulnerability
Remote attackers can execute arbitrary PHP code via a URL in the input_file parameter of dompdf.php.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2010-4879?
CVE-2010-4879 is a high-severity code injection vulnerability in n/a, published on 7 Oct 2011. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
PHP remote file inclusion vulnerability in dompdf.php in dompdf 0.6.0 beta1 allows remote attackers to execute arbitrary PHP code via a URL in the input_file parameter.
Weakness: CWE-94
Which versions are affected by CVE-2010-4879?
2 open source packages ship an affected version, including dompdf/dompdf. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
dompdf/dompdf Packagist | From 0.6 | 0.6.1 |
dompdf/dompdf Packagist | From 0.6 | 0.6.1 |
Products include Digitaljunkies Dompdf.
How do I fix CVE-2010-4879?
Upgrade dompdf/dompdf to 0.6.1 or later.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2010-4879 being exploited?
There is no known exploitation of CVE-2010-4879 in the wild and no public exploit code.
Public exploit code: 1 Exploit-DB entry.
Sources
Also known as DEBIAN-CVE-2010-4879, GHSA-48r9-4v93-x4wh.