-
Notifications
You must be signed in to change notification settings - Fork 0
/
Docker_Registry_API_Unauth.json
103 lines (103 loc) · 3.77 KB
/
Docker_Registry_API_Unauth.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
{
"Name": "Docker Registry API Unauth",
"Level": "2",
"Tags": [
"unauth"
],
"GobyQuery": "header=\"registry/2.0\"",
"Description": "Docker Registry API 存在未授权访问漏洞,黑客可通过API下载docker images,导致敏感信息泄露。",
"Product": "Docker Registry",
"Homepage": "https://docs.docker.com/registry/",
"Author": "aetkrad",
"Impact": "",
"Recommendation": "",
"References": [
"https://www.freeaihub.com/post/6085.html"
],
"HasExp": false,
"ExpParams": null,
"ExpTips": {
"Type": "",
"Content": ""
},
"ScanSteps": [
"AND",
{
"Request": {
"method": "GET",
"uri": "/v2/",
"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": "$head",
"operation": "contains",
"value": "docker-distribution-api-version",
"bz": ""
},
{
"type": "item",
"variable": "$head",
"operation": "contains",
"value": "registry/2.0",
"bz": ""
}
]
},
"SetVariable": [
"output|lastbody|regex|"
]
},
{
"Request": {
"method": "GET",
"uri": "/v2/_catalog",
"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": "repositories",
"bz": ""
}
]
},
"SetVariable": [
"output|lastbody|regex|"
]
}
],
"PostTime": "2021-11-27 14:21:33",
"GobyVersion": "1.9.310"
}