{"answers":{"affected":"It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2023-1671 in the wild since at least 16 Nov 2023.","fix":"No fix has been published for CVE-2023-1671 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 7 Dec 2023.","what":"CVE-2023-1671 is a critical command injection vulnerability in Sophos Web Appliance, published on 4 Apr 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-1671 and fix it if it is affected.\n\nWhat it is: CVE-2023-1671 is a critical command injection vulnerability in Sophos Web Appliance, published on 4 Apr 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2023-1671 in the wild since at least 16 Nov 2023.\n\nAffected product: Sophos Web Appliance. 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-2023-1671/ (Markdown: https://insights.sbomify.com/CVE-2023-1671/index.md)","id":"CVE-2023-1671","markdown":"https://insights.sbomify.com/CVE-2023-1671/index.md","name":"CVE-2023-1671","record":{"aliases":["GHSA-5f37-m2hf-qphr"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Web security appliance","requires_auth":"none","summary":"Attackers can execute arbitrary code on Sophos Web Appliance via a pre-auth command injection in the warn-proceed handler.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Sophos","cpe":[{"product":"web_appliance","vendor":"sophos"}],"cvss":{"score":9.8,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"description":"A pre-auth command injection vulnerability in the warn-proceed handler of Sophos Web Appliance older than version 4.3.10.4 allows execution of arbitrary code.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2023-04-23","github_poc":3,"max_poc_stars":15,"metasploit":0,"nuclei":1,"refs":[{"date":"2023-04-24T15:53:42Z","kind":"github_poc","ref":"https://github.com/W01fh4cker/CVE-2023-1671-POC","stars":15,"title":"CVE-2023-1671-POC, based on dnslog platform"},{"date":"2023-04-23T02:58:17Z","kind":"github_poc","ref":"https://github.com/ohnonoyesyes/CVE-2023-1671","stars":3,"title":"Pre-Auth RCE in Sophos Web Appliance"},{"date":"2023-04-25","kind":"exploitdb","ref":"51396","stars":null,"title":"Sophos Web Appliance 4.3.10.4 - Pre-auth command injection"},{"date":"2023-05-17T11:20:27Z","kind":"github_poc","ref":"https://github.com/csffs/cve-2023-1671","stars":0,"title":"Exploit to cve-2023-1671. So there is a test and exploitation function. The test sends a ping request to the dnslog domain from the vulnerable site. If the ping passes, the vulnerability exists, if it doesn't, then cve-2023-1671 is missing. The exploit function, on the other hand, sends a request with your command to the server."},{"date":null,"kind":"nuclei","ref":"http/cves/2023/CVE-2023-1671.yaml","stars":null,"title":"Sophos Web Appliance - Remote Code Execution"}],"tier":"exploited"},"has_fix":null,"headline":"Sophos Web Appliance Command Injection","id":"CVE-2023-1671","indexable":true,"kev":{"dateAdded":"2023-11-16","dueDate":"2023-12-07","knownRansomwareCampaignUse":"Unknown","product":"Web Appliance","requiredAction":"Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.","vendorProject":"Sophos","vulnerabilityName":"Sophos Web Appliance Command Injection Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2023"},"n_packages":0,"n_references":2,"next":{"headline":"Race condition exists in the key generation and rotation functionality","id":"CVE-2023-1672"},"packages":[],"prev":{"headline":"Use after free in Kernel","id":"CVE-2023-1670"},"products":["Sophos Web Appliance"],"published":"2023-04-04","related":[{"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":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["Sophos"]},"summary":"Attackers can execute arbitrary code on Sophos Web Appliance via a pre-auth command injection in the warn-proceed handler.","url":"https://insights.sbomify.com/CVE-2023-1671/"}