CVE-2013-10070
CRITICAL Exploitation: PoC
10.0
CVSS 4.0
Description
PHP-Charts v1.0 contains a PHP code execution vulnerability in wizard/url.php, where user-supplied GET parameter names are passed directly to eval() without sanitization. A remote attacker can exploit this flaw by crafting a request that injects arbitrary PHP code, resulting in command execution under the web server's context. The vulnerability allows unauthenticated attackers to execute system-level commands via base64-encoded payloads embedded in parameter names, leading to full compromise of the host system.
Metadata
Severity & Metrics
10.0
CRITICAL CVSS 4.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
SSVC — CISA Coordinator
Affected products (1)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| PHP-Charts | PHP-Charts | — | 1.0 |
Weakness (CWE)
| CWE | Source | Description |
|---|---|---|
| CWE-95 | cna | CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') |
CVSS scores (1)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 10.0 | CRITICAL | 4.0 | cna | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H |
References (5)
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/webapp/php_charts_exec.rb
- https://www.exploit-db.com/exploits/24201
- https://www.exploit-db.com/exploits/24273
- https://web.archive.org/web/20130120234844/http://php-charts.com/
- https://www.vulncheck.com/advisories/php-charts-php-code-execution