CVE-2013-10070 PHP-Charts v1.0 PHP Code Execution

Critical 10.0 Published Updated

Remote attackers can execute arbitrary PHP code via unsanitized GET parameters in PHP-Charts, leading to full host compromise.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2013-10070?

CVE-2013-10070 is a critical code injection vulnerability in PHP-Charts, published on 5 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-95

Which versions are affected by CVE-2013-10070?

How do I fix CVE-2013-10070?

No fix has been published for CVE-2013-10070 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2013-10070 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2013-10070 exists.

Public exploit code: 1 Metasploit module.

Sources

Also known as GHSA-rrmx-33qp-wv5m.

Is CVE-2013-10070 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free