CVE-2023-38992 SQL injection in jeecg-boot
Attackers can execute arbitrary SQL commands via the title parameter in the loadTreeData endpoint, potentially reading or modifying database contents.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-38992?
CVE-2023-38992 is a critical SQL injection vulnerability in Jeecg Jeecg Boot, published on 28 Jul 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
jeecg-boot v3.5.1 was discovered to contain a SQL injection vulnerability via the title parameter at /sys/dict/loadTreeData.
Weakness: CWE-89
Which versions are affected by CVE-2023-38992?
2 open source packages ship an affected version, including org.jeecgframework.boot:jeecg-boot-common. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jeecgframework.boot:jeecg-boot-common Maven | All versions | 3.5.3 |
org.jeecgframework.boot:jeecg-boot-common Maven | All versions | 3.5.3 |
Products include Jeecg Jeecg Boot.
How do I fix CVE-2023-38992?
Upgrade org.jeecgframework.boot:jeecg-boot-common to 3.5.3 or later.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2023-38992 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-38992 exists.
Public exploit code: 1 Nuclei template.
Other vulnerabilities in Jeecg Jeecg Boot
Sources
Also known as GHSA-wp6c-29r3-jqw9.