{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2013-10070 exists.","fix":"No fix has been published for CVE-2013-10070 yet. Limit exposure of the affected software until one is available.","what":"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."},"fix_prompt":"Check this codebase for CVE-2013-10070 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2013-10070 exists.\n\nAffected product: PHP-Charts. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2013-10070/ (Markdown: https://insights.sbomify.com/CVE-2013-10070/index.md)","id":"CVE-2013-10070","markdown":"https://insights.sbomify.com/CVE-2013-10070/index.md","name":"CVE-2013-10070","record":{"aliases":["GHSA-rrmx-33qp-wv5m"],"analysis":{"component_type":"library","fix_type":"no_fix_stated","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"PHP charting library","requires_auth":"none","summary":"Remote attackers can execute arbitrary PHP code via unsanitized GET parameters in PHP-Charts, leading to full host compromise.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":10,"severity":"critical","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-95","name":"Improper Neutralization of Directives in Dynamically Evaluated Code"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2013-01-16","github_poc":0,"max_poc_stars":null,"metasploit":1,"nuclei":0,"refs":[{"date":"2013-01-16","kind":"metasploit","ref":"exploit/unix/webapp/php_charts_exec","stars":null,"title":"PHP-Charts v1.0 PHP Code Execution Vulnerability"}],"tier":"weaponised"},"has_fix":null,"headline":"PHP-Charts v1.0 PHP Code Execution","id":"CVE-2013-10070","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2013"},"n_packages":0,"n_references":5,"next":{"headline":"Nagios XI \u003c 2012R1.6 Reflected XSS via Dashlet AJAX Load Functionality","id":"CVE-2013-10071"},"packages":[],"prev":{"headline":"D-Link Devices Unauthenticated RCE","id":"CVE-2013-10069"},"products":["PHP-Charts"],"published":"2025-08-05","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-04-07","vendors":["PHP-Charts"]},"summary":"Remote attackers can execute arbitrary PHP code via unsanitized GET parameters in PHP-Charts, leading to full host compromise.","url":"https://insights.sbomify.com/CVE-2013-10070/"}