forked from luck-ying/Library-POC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
NVS3000_integrated_video_surveillance_platform_is_not_accessible.go
128 lines (125 loc) · 3.44 KB
/
NVS3000_integrated_video_surveillance_platform_is_not_accessible.go
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
package exploits
import (
"git.gobies.org/goby/goscanner/goutils"
)
func init() {
expJson := `{
"Name": "NVS3000 integrated video surveillance platform is not accessible CNVD-2021-19742",
"Description": "Datang Telecom Technology Co., Ltd. is a provider of information and communication products and integrated solutions.\\nNVS3000 integrated video surveillance platform of Datang Telecom Technology Co., LTD has an unauthorized access vulnerability, which can be used by attackers to obtain sensitive system information.",
"Product": "NVS3000 integrated video surveillance platform",
"Homepage": "http://www.datang.com",
"DisclosureDate": "2021-08-02",
"Author": "[email protected]",
"GobyQuery": "title=\"综合视频监控平台\"",
"Level": "1",
"Impact": "<p><font color=\"#4a90e2\"><span style=\"font-size: 14px;\">The application system does not perform valid identity verification on the service function page. If you have not logged in and obtained the access address of the service function page, you can directly operate the functions on the page, which may cause malicious damage to the application system</span></font><br></p>",
"Recommandation": "<p>Authenticate sensitive resources or information.<br></p>",
"References": [
"https://www.cnvd.org.cn/flaw/show/CNVD-2021-19742"
],
"HasExp": false,
"ExpParams": null,
"ExpTips": {
"Type": "",
"Content": ""
},
"ScanSteps": [
"OR",
{
"Request": {
"method": "GET",
"uri": "/main.html",
"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": "大数据分析",
"bz": ""
},
{
"type": "item",
"variable": "$body",
"operation": "contains",
"value": "公告发布",
"bz": ""
}
]
},
"SetVariable": []
},
{
"Request": {
"method": "GET",
"uri": "/record.html",
"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": "大数据分析",
"bz": ""
},
{
"type": "item",
"variable": "$body",
"operation": "contains",
"value": "公告发布",
"bz": ""
}
]
},
"SetVariable": []
}
],
"ExploitSteps": null,
"Tags": [
"Unauthorized access"
],
"CVEIDs": null,
"CVSSScore": "0.0",
"AttackSurfaces": {
"Application": null,
"Support": null,
"Service": null,
"System": null,
"Hardware": null
}
}`
ExpManager.AddExploit(NewExploit(
goutils.GetFileName(),
expJson,
nil,
nil,
))
}