CVE-2022-45210 Jeecg-boot vulnerable to SQL Injection

Medium 4.3 Published Updated

Attackers can exploit SQL injection in the recycle bin deletion endpoint to read or modify database contents.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-45210?

CVE-2022-45210 is a medium-severity SQL injection vulnerability in Jeecg Jeecg Boot, published on 25 Nov 2022. Any signed-in user can exploit it over the network, 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/user/deleteRecycleBin.

Weakness: CWE-89

Which versions are affected by CVE-2022-45210?

2 open source packages ship an affected version, including org.jeecgframework.boot:jeecg-module-system. It affects 1 product.

PackageAffectedFixed in
org.jeecgframework.boot:jeecg-module-system MavenAll versions3.4.4
org.jeecgframework.boot:jeecg-module-system MavenAll versions3.4.4

Products include Jeecg Jeecg Boot.

How do I fix CVE-2022-45210?

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-45210 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-45210 exists.

All Jeecg Jeecg Boot vulnerabilities

Sources

Also known as GHSA-v87q-rpwp-qr7q.

Is CVE-2022-45210 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free