CVE-2022-45208 Jeecg-boot vulnerable to SQL injection via /sys/user/putRecycleBin

Medium 4.3 Published Updated

An attacker can exploit a SQL injection vulnerability in the Jeecg-boot application 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-45208?

CVE-2022-45208 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/putRecycleBin.

Weakness: CWE-89

Which versions are affected by CVE-2022-45208?

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-45208?

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

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

All Jeecg Jeecg Boot vulnerabilities

Sources

Also known as GHSA-25gv-mvm7-5h3h.

Is CVE-2022-45208 in your software?

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

Check your SBOMs for free