Create datahub-metadata-default-login.yaml

patch-1
Ritik Chaddha 2022-11-10 20:54:30 +05:30 committed by GitHub
parent 4eab65cac3
commit 886cd97ace
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,33 @@
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: default-login,datahub
requests:
- raw:
- |
POST /logIn HTTP/2
Host: {{Hostname}}
Content-Type: application/json
{"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