{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2006-7172 exists.","fix":"No fix has been published for CVE-2006-7172 yet. Limit exposure of the affected software until one is available.","what":"CVE-2006-7172 is a high-severity SQL injection vulnerability in n/a, published on 20 Mar 2007. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2006-7172 and fix it if it is affected.\n\nWhat it is: CVE-2006-7172 is a high-severity SQL injection vulnerability in n/a, published on 20 Mar 2007. 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-2006-7172 exists.\n\nAffected product: n/a. 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-2006-7172/ (Markdown: https://insights.sbomify.com/CVE-2006-7172/index.md)","id":"CVE-2006-7172","markdown":"https://insights.sbomify.com/CVE-2006-7172/index.md","name":"CVE-2006-7172","record":{"aliases":["GHSA-8h66-22wv-r7r8"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"PHP-Stats web application","requires_auth":"none","summary":"Remote attackers can execute arbitrary code via SQL injection in PHP-Stats by manipulating HTTP headers or IP parameters.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"php-stats","vendor":"php-stats"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[],"description":"Multiple SQL injection vulnerabilities in php-stats.recphp.php in PHP-Stats 0.1.9.1b and earlier allow remote attackers to execute arbitrary code via a leading dotted-quad IP address string in the (1) PC-REMOTE-ADDR HTTP header, which is inserted into $_SERVER['HTTP_PC_REMOTE_ADDR'], or (2) ip parameter.","ecosystems":[],"exploits":{"exploitdb":2,"first_seen":"2007-03-16","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2007-03-16","kind":"exploitdb","ref":"3496","stars":null,"title":"PHP-Stats 0.1.9.1b - 'PC-REMOTE-ADDR' SQL Injection"},{"date":"2007-03-16","kind":"exploitdb","ref":"3497","stars":null,"title":"PHP-Stats 0.1.9.1b - 'ip' SQL Injection"}],"tier":"weaponised"},"has_fix":null,"headline":"SQL injection in n/a","id":"CVE-2006-7172","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"sql_injection","year":"2006"},"n_packages":0,"n_references":6,"next":{"headline":"Code injection in n/a","id":"CVE-2006-7173"},"packages":[],"prev":{"headline":"Information disclosure in n/a","id":"CVE-2006-7171"},"products":["n/a"],"published":"2007-03-20","related":[{"cvss_score":10,"headline":"SQL injection in n/a","id":"CVE-2007-5452","kev_date_added":null,"published":"2007-10-14"},{"cvss_score":10,"headline":"Code injection in n/a","id":"CVE-2006-7173","kev_date_added":null,"published":"2007-03-20"},{"cvss_score":10,"headline":"Auth bypass in n/a","id":"CVE-2006-1085","kev_date_added":null,"published":"2006-03-09"},{"cvss_score":8.5,"headline":"Code injection in n/a","id":"CVE-2007-5453","kev_date_added":null,"published":"2007-10-14"},{"cvss_score":7.5,"headline":"Path traversal in n/a","id":"CVE-2006-1083","kev_date_added":null,"published":"2006-03-09"},{"cvss_score":7.5,"headline":"SQL injection in n/a","id":"CVE-2006-1084","kev_date_added":null,"published":"2006-03-09"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-07","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary code via SQL injection in PHP-Stats by manipulating HTTP headers or IP parameters.","url":"https://insights.sbomify.com/CVE-2006-7172/"}