Create datagerry-default-login.yaml

Signed-off-by: GwanYeong Kim <[email protected]>
This commit is contained in:
GwanYeong Kim committed 2024-09-30 12:10:23 +09:00
1 parent 68247faa00
commit 0b20e94de8
1 file changed
+45
@@ -0,0 +1,45 @@
id: datagerry-default-login
info:
name: Datagerry - Default Login
author: gy741
severity: high
description: |
Datagerry was using default username and password was discovered.
metadata:
verified: true
max-request: 1
shodan-query: http.title:"datagerry"
tags: datagerry,default-login
variables:
username: "admin"
password: "admin"
http:
- raw:
- |
POST /rest/auth/login HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json
{"user_name":"{{username}}","password":"{{password}}"}
matchers-condition: and
matchers:
- type: word
part: body
words:
- '"token":'
- '"token_issued_at":'
- '"token_expire":'
condition: and
- type: word
part: content_type
words:
- "application/json"
- type: status
status:
- 200