CVE-2022-21720 SQL injection using custom CSS administration form in GLPI

Medium 4.9 Published Updated

An entity administrator can retrieve normally inaccessible data via SQL injection in the custom CSS administration form.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-21720?

CVE-2022-21720 is a medium-severity SQL injection vulnerability in Glpi-Project Glpi, published on 28 Jan 2022. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

GLPI is a free asset and IT management software package. Prior to version 9.5.7, an entity administrator is capable of retrieving normally inaccessible data via SQL injection. Version 9.5.7 contains a patch for this issue. As a workaround, disabling the `Entities` update right prevents exploitation of this vulnerability.

Weakness: CWE-89

Which versions are affected by CVE-2022-21720?

It affects 1 product.

Products include Glpi-Project Glpi.

How do I fix CVE-2022-21720?

No fix has been published for CVE-2022-21720 yet. Limit exposure of the affected software until one is available.

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

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

All Glpi-Project Glpi vulnerabilities

Sources

Also known as GHSA-5hg4-r64r-rf83, UBUNTU-CVE-2022-21720.

Is CVE-2022-21720 in your software?

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

Check your SBOMs for free