CVE-2013-10070
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedPHP-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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidencePHP-Charts v1.0 has a critical code injection vulnerability in wizard/url.php where user-supplied GET parameter names are passed directly to the PHP eval() function without any sanitization. Attackers can embed arbitrary PHP code (including base64-encoded payloads) in parameter names, achieving remote code execution under the web server's privileges.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- Authentication
- X
- User interaction
- None
- Scope
- X
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Locate PHP-Charts installationSearch the web server document root for directories or files containing 'php-charts' or 'phpcharts', or look for the 'wizard' subdirectoryAffected if The PHP-Charts software is present on the server
-
Verify vulnerable file existsCheck if the file wizard/url.php exists in the PHP-Charts installation directoryAffected if The file wizard/url.php exists and is readable
-
Confirm eval() usage with GET parametersOpen wizard/url.php and search for eval() calls that incorporate $_GET parameter names directly, for example patterns like eval('$' . $_GET['parameter']);Affected if The file contains an eval() statement that uses unsanitized $_GET keys or parameter names
-
Test parameter injection (optional, requires caution)If accessible, send a request with a benign PHP payload in a GET parameter name (e.g., ?${phpinfo()}=test) to wizard/url.php and observe if the code executesAffected if The server responds with output indicating the PHP code was executed, confirming RCE vulnerability
-
Check web server access logsReview web server access logs for requests to wizard/url.php with unusual GET parameter names containing PHP code patterns like ${, base64, or systemAffected if Logs show requests to wizard/url.php with suspicious parameter names containing PHP syntax
A server is affected if PHP-Charts v1.0 is installed, the wizard/url.php file exists and contains eval() logic that processes unsanitized $_GET parameter names, and the wizard directory is web-accessible.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedImmediate mitigation requires removing the eval() call from wizard/url.php and replacing it with safe parameter handling. If the wizard functionality is unnecessary, the entire file should be removed or access-blocked until a proper fix is implemented.
Replace with a currently maintained charting library (pChart, PHPChart, Chart.js, or similar) - no direct successor version exists
- 1. Identify all instances of PHP-Charts v1.0 in your environment and confirm the file wizard/url.php exists
- 2. Take a full backup of the application and database before any changes
- 3. Replace PHP-Charts v1.0 with a currently maintained alternative such as pChart (github.com/pChart), PHPChart (phpchart.net), or a modern JavaScript-based solution like Chart.js
- 4. If immediate replacement is not possible, delete or restrict access to the wizard/ directory (e.g., via .htaccess deny rules or web server configuration)
- 5. Verify the remediation by attempting a test request with a benign payload to confirm code execution is no longer possible
- 6. Conduct a full security audit of the new charting implementation
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation4.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,408.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2013-10070 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2013-10070 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data