CVE-2022-45206 Jeecg-boot vulnerable to SQL Injection
Attackers can exploit a SQL injection flaw in the duplicate check component to read or modify 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-2022-45206?
CVE-2022-45206 is a critical SQL injection vulnerability in Jeecg Jeecg Boot, published on 25 Nov 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Jeecg-boot v3.4.3 was discovered to contain a SQL injection vulnerability via the component /sys/duplicate/check.
Weakness: CWE-89
Which versions are affected by CVE-2022-45206?
2 open source packages ship an affected version, including org.jeecgframework.boot:jeecg-module-system. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jeecgframework.boot:jeecg-module-system Maven | All versions | 3.4.4 |
org.jeecgframework.boot:jeecg-module-system Maven | All versions | 3.4.4 |
Products include Jeecg Jeecg Boot.
How do I fix CVE-2022-45206?
Upgrade org.jeecgframework.boot:jeecg-module-system to 3.4.4 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-2022-45206 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-45206 exists.
Other vulnerabilities in Jeecg Jeecg Boot
Sources
Also known as GHSA-g5cj-5h58-j93w.