CVE-2022-1339 SQL injection in ElementController.php in pimcore/pimcore

High 8.8 Published Updated

An attacker can exploit SQL injection in Pimcore to steal sensitive data from the database.

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

CVE-2022-1339 is a high-severity SQL injection vulnerability in Pimcore Pimcore, published on 13 Apr 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

SQL injection in ElementController.php in GitHub repository pimcore/pimcore prior to 10.3.5. This vulnerability is capable of steal the data

Weakness: CWE-89

Which versions are affected by CVE-2022-1339?

2 open source packages ship an affected version, including pimcore/pimcore. It affects 1 product.

PackageAffectedFixed in
pimcore/pimcore PackagistAll versions10.3.5
pimcore/pimcore PackagistAll versions10.3.5

Products include Pimcore Pimcore.

How do I fix CVE-2022-1339?

Upgrade pimcore/pimcore to 10.3.5 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-1339 being exploited?

There is no known exploitation of CVE-2022-1339 in the wild and no public exploit code.

All Pimcore Pimcore vulnerabilities

Sources

Also known as GHSA-mj2c-5mjv-gmmj.

Is CVE-2022-1339 in your software?

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

Check your SBOMs for free