{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2013-4984 exists.","fix":"No fix has been published for CVE-2013-4984 yet. Limit exposure of the affected software until one is available.","what":"CVE-2013-4984 is a high-severity command injection vulnerability in n/a, published on 10 Sep 2013. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2013-4984 and fix it if it is affected.\n\nWhat it is: CVE-2013-4984 is a high-severity command injection vulnerability in n/a, published on 10 Sep 2013. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2013-4984 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-2013-4984/ (Markdown: https://insights.sbomify.com/CVE-2013-4984/index.md)","id":"CVE-2013-4984","markdown":"https://insights.sbomify.com/CVE-2013-4984/index.md","name":"CVE-2013-4984","record":{"aliases":["GHSA-j4hc-vcc8-346x"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Web Appliance","requires_auth":"low_privilege","summary":"Local attackers can execute arbitrary commands and gain privileges via shell metacharacters in the clear_keys.pl script on Sophos Web Appliance.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"web_appliance","vendor":"sophos"}],"cvss":{"score":7.2,"severity":"high","source":"nvd","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","version":"2.0"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"},{"id":"CWE-264","name":null}],"description":"The close_connections function in /opt/cma/bin/clear_keys.pl in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows local users to gain privileges via shell metacharacters in the second argument.","ecosystems":[],"exploits":{"exploitdb":2,"first_seen":"2013-09-06","github_poc":0,"max_poc_stars":null,"metasploit":1,"nuclei":0,"refs":[{"date":"2013-09-06","kind":"metasploit","ref":"exploit/linux/local/sophos_wpa_clear_keys","stars":null,"title":"Sophos Web Protection Appliance clear_keys.pl Local Privilege Escalation"},{"date":"2013-09-09","kind":"exploitdb","ref":"28175","stars":null,"title":"Sophos Web Protection Appliance - Multiple Vulnerabilities"},{"date":"2013-09-17","kind":"exploitdb","ref":"28332","stars":null,"title":"Sophos Web Protection Appliance - clear_keys.pl Privilege Escalation (Metasploit)"}],"tier":"weaponised"},"has_fix":null,"headline":"Command injection in n/a","id":"CVE-2013-4984","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2013"},"n_packages":0,"n_references":2,"next":{"headline":"Auth bypass in n/a","id":"CVE-2013-4985"},"packages":[],"prev":{"headline":"Command injection in n/a","id":"CVE-2013-4983"},"products":["n/a"],"published":"2013-09-10","related":[{"cvss_score":9.8,"headline":"Sophos Web Appliance Command Injection","id":"CVE-2023-1671","kev_date_added":"2023-11-16","published":"2023-04-04"},{"cvss_score":9.8,"headline":"Command injection in n/a","id":"CVE-2017-6182","kev_date_added":null,"published":"2017-03-30"},{"cvss_score":9.3,"headline":"Command injection in n/a","id":"CVE-2013-2642","kev_date_added":null,"published":"2014-03-18"},{"cvss_score":8.5,"headline":"Missing authorization in n/a","id":"CVE-2014-2849","kev_date_added":null,"published":"2014-04-11"},{"cvss_score":8.5,"headline":"Command injection in n/a","id":"CVE-2014-2850","kev_date_added":null,"published":"2014-04-11"},{"cvss_score":8.1,"headline":"Auth bypass in n/a","id":"CVE-2017-6412","kev_date_added":null,"published":"2017-03-30"},{"cvss_score":7.2,"headline":"Command injection in Sophos Web Appliance","id":"CVE-2022-4934","kev_date_added":null,"published":"2023-04-04"}],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-16","vendors":["n/a"]},"summary":"Local attackers can execute arbitrary commands and gain privileges via shell metacharacters in the clear_keys.pl script on Sophos Web Appliance.","url":"https://insights.sbomify.com/CVE-2013-4984/"}