{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2005-1222 exists.","fix":"No fix has been published for CVE-2005-1222 yet. Limit exposure of the affected software until one is available.","what":"CVE-2005-1222 is a high-severity code injection vulnerability in n/a, published on 22 Apr 2005. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2005-1222 and fix it if it is affected.\n\nWhat it is: CVE-2005-1222 is a high-severity code injection vulnerability in n/a, published on 22 Apr 2005. 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-2005-1222 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-2005-1222/ (Markdown: https://insights.sbomify.com/CVE-2005-1222/index.md)","id":"CVE-2005-1222","markdown":"https://insights.sbomify.com/CVE-2005-1222/index.md","name":"CVE-2005-1222","record":{"aliases":["GHSA-34f9-54m9-rwj4"],"analysis":{"component_type":"web_application","fix_type":"no_fix_stated","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Annuaire Netref","requires_auth":"none","summary":"Remote attackers can execute arbitrary PHP code in Annuaire Netref by manipulating parameters to write malicious code to a file.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"netref","vendor":"netref"}],"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":"cat_for_gen.php in Annuaire Netref 4.2 allows remote attackers to execute arbitrary PHP code by setting the ad_direct parameter to reference cat_for_gen.php, then including the code in the m_for_racine parameter, which is then written to cat_for_gen.php.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2005-04-20","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2005-04-20","kind":"exploitdb","ref":"25467","stars":null,"title":"Netref 4.2 - 'Cat_for_gen.php' Remote PHP Script Injection"}],"tier":"weaponised"},"has_fix":null,"headline":"Code injection in n/a","id":"CVE-2005-1222","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2005"},"n_packages":0,"n_references":4,"next":{"headline":"SQL injection in n/a","id":"CVE-2005-1223"},"packages":[],"prev":{"headline":"SQL injection in n/a","id":"CVE-2005-1221"},"products":["n/a"],"published":"2005-04-22","related":[{"cvss_score":7.5,"headline":"SQL injection in n/a","id":"CVE-2008-5561","kev_date_added":null,"published":"2008-12-15"},{"cvss_score":7.5,"headline":"SQL injection vulnerability in index.php in Netref 3.0 allows remote attackers to execute arbitrary SQL commands via the cat parameter.","id":"CVE-2005-4198","kev_date_added":null,"published":"2005-12-13"},{"cvss_score":5,"headline":"Path traversal in n/a","id":"CVE-2006-5618","kev_date_added":null,"published":"2006-10-31"}],"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 PHP code in Annuaire Netref by manipulating parameters to write malicious code to a file.","url":"https://insights.sbomify.com/CVE-2005-1222/"}