CWE-95Weakness · CWE-95

CVE-2013-10070

CRITICAL · 10.0 CVSS v4.0 Published 2025-08-05
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
100/100
Remediation priority · Urgent
Public exploit Remotely reachable No privileges Zero-click

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 · unedited
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.

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 confidence

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

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

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 checks

Work through these to decide whether this CVE applies to you.

  1. Locate PHP-Charts installation
    Search the web server document root for directories or files containing 'php-charts' or 'phpcharts', or look for the 'wizard' subdirectory
    Affected if The PHP-Charts software is present on the server
  2. Verify vulnerable file exists
    Check if the file wizard/url.php exists in the PHP-Charts installation directory
    Affected if The file wizard/url.php exists and is readable
  3. Confirm eval() usage with GET parameters
    Open 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
  4. 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 executes
    Affected if The server responds with output indicating the PHP code was executed, confirming RCE vulnerability
  5. Check web server access logs
    Review web server access logs for requests to wizard/url.php with unusual GET parameter names containing PHP code patterns like ${, base64, or system
    Affected 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.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

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 · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

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

Recommended fix High confidence

Replace with a currently maintained charting library (pChart, PHPChart, Chart.js, or similar) - no direct successor version exists

  1. 1. Identify all instances of PHP-Charts v1.0 in your environment and confirm the file wizard/url.php exists
  2. 2. Take a full backup of the application and database before any changes
  3. 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. 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. 5. Verify the remediation by attempting a test request with a benign payload to confirm code execution is no longer possible
  6. 6. Conduct a full security audit of the new charting implementation
Caveat Migration to a new charting library will require code changes to adapt to the new API; test all chart rendering functionality thoroughly

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation3.0 h
  • Implementation4.0 h
  • Testing3.0 h
  • Review / QA2.0 h
12.0 hours of engineering $2,130
Get help mitigating

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 locally
dbcve dependency scanner

Check 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 sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2013-10070 in production — separate from our analysis above.

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.

What this is

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.

What belongs here
  • 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