CVE-2022-31062 Unauthenticated Local File Inclusion

Medium 5.3 Published Updated

An unauthenticated attacker can read system files via a local file inclusion vulnerability in the GLPI inventory plugin.

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

What is CVE-2022-31062?

CVE-2022-31062 is a medium-severity path traversal vulnerability in glpi-project glpi-inventory-plugin, published on 20 Jun 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

### Impact A plugin public script can be used to read content of system files. ### Patches Upgrade to version 1.0.2. ### Workarounds `b/deploy/index.php` file can be deleted if deploy feature is not used.

Weakness: CWE-22

Which versions are affected by CVE-2022-31062?

It affects 1 product.

Products include Glpi-Project Glpi Inventory.

How do I fix CVE-2022-31062?

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

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2022-31062 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-q33f-jcjf-p4v9.

Is CVE-2022-31062 in your software?

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

Check your SBOMs for free