CVE-2022-31082 SQL Injection via package deployment tasks in glpi-inventory-plugin

Medium 5.8 Published Updated

Attackers can execute SQL injection via package deployment tasks in the GLPI inventory plugin, potentially reading or modifying database data.

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

CVE-2022-31082 is a medium-severity SQL injection vulnerability in glpi-project glpi-inventory-plugin, published on 27 Jun 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, Data center management, ITIL Service Desk, licenses tracking and software auditing. glpi-inventory-plugin is a plugin for GLPI to handle inventory management. In affected versions a SQL injection can be made using package deployment tasks. This issue has been resolved in version 1.0.2. Users are advised to upgrade. Users unable to upgrade should delete the `front/deploypackage.public.php` file if they are not using the `deploy tasks` feature.

Weakness: CWE-89

Which versions are affected by CVE-2022-31082?

It affects 1 product.

Products include Glpi-Project Glpi Inventory.

How do I fix CVE-2022-31082?

No fix has been published for CVE-2022-31082 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-31082 being exploited?

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

Sources

Also known as GHSA-q6m7-h6rj-5wmw, UBUNTU-CVE-2022-31082.

Is CVE-2022-31082 in your software?

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

Check your SBOMs for free