Merge pull request #8030 from projectdiscovery/easyreport-default-login

Create easyreport-default-login.yaml
patch-1
pussycat0x 2023-08-22 12:27:48 +05:30 committed by GitHub
commit 2453517e34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,50 @@
id: easyreport-default-login
info:
name: EasyReport - Default Login
author: SleepingBag945
severity: high
classification:
cwe-id: CWE-798
metadata:
max-request: 1
verified: true
fofa-query: body="EasyReport-A Sample and Easy to Use Web Reporting System"
tags: easyreport,default-login
http:
- raw:
- |
POST /member/authenticate HTTP/1.1
Host: {{Hostname}}
Accept: application/json, text/javascript, */*; q=0.01
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
account={{username}}&password={{password}}&rememberMe=false
attack: pitchfork
payloads:
username:
- admin
password:
- 123456
matchers-condition: and
matchers:
- type: word
part: body
words:
- '"code":'
- '"detailMsg":'
- '"data":true'
condition: and
- type: word
part: header
words:
- 'application/json'
- type: status
status:
- 200