Merge pull request #10155 from projectdiscovery/caprover-default-login
Create caprover-default-login.yamlpatch-4
commit
680352214b
|
@ -0,0 +1,34 @@
|
|||
id: caprover-default-login
|
||||
|
||||
info:
|
||||
name: Caprover - Default Login
|
||||
author: ritikchaddha
|
||||
severity: high
|
||||
description: |
|
||||
Caprover defaultl login has been detected.
|
||||
metadata:
|
||||
verified: true
|
||||
max-request: 1
|
||||
shodan-query: http.favicon.hash:988422585
|
||||
tags: caprover,default-login,misconfig
|
||||
|
||||
variables:
|
||||
password: captain42
|
||||
|
||||
http:
|
||||
- raw:
|
||||
- |
|
||||
POST /api/v2/login HTTP/1.1
|
||||
Host: {{Hostname}}
|
||||
Content-Type: application/json
|
||||
x-namespace: captain
|
||||
|
||||
{"password":"{{password}}"}
|
||||
|
||||
matchers:
|
||||
- type: dsl
|
||||
dsl:
|
||||
- 'contains_all(body, "status\":100", "Login succeeded", "token\":")'
|
||||
- 'contains(header, "application/json")'
|
||||
- 'status_code == 200'
|
||||
condition: and
|
Loading…
Reference in New Issue