CVE-2013-10070 Details
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.
A PHP code execution vulnerability has been identified in PHP-Charts version 1.0, specifically within the 'wizard/url.php' file. This vulnerability arises because user-supplied GET parameter names are directly passed to the 'eval()' function without proper sanitization. As a result, a remote attacker can inject arbitrary PHP code, leading to command execution under the context of the web server. The vulnerability allows unauthenticated attackers to execute system-level commands by embedding base64-encoded payloads in the parameter names, potentially compromising the host system.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Aug 5, 2025CISA-ADP
Assessed Aug 7, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/webapp/php_charts_exec.rb | CISA-ADP | ExploitMetasploit Framework (MSF) |
| https://www.exploit-db.com/exploits/24201 | CISA-ADP | Exploit |
| https://www.exploit-db.com/exploits/24273 | CISA-ADP | Exploit |
| https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/webapp/php_charts_exec.rb | [email protected] | ExploitMetasploit Framework (MSF) |
| https://web.archive.org/web/20130120234844/http://php-charts.com/ | [email protected] | ProductVendor |
| https://www.exploit-db.com/exploits/24201 | [email protected] | Exploit |
| https://www.exploit-db.com/exploits/24273 | [email protected] | Exploit |
| https://www.vulncheck.com/advisories/php-charts-php-code-execution | [email protected] | AdvisoryBundleExploit |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-95 | Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| php-Charts | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 16, 2026 | CVE Modified | [email protected] |
| Jun 16, 2026 | CVE Modified | CISA-ADP |
| Aug 7, 2025 | CVE Modified | CISA-ADP |
| Aug 5, 2025 | New CVE Received | [email protected] |
Volerion