CVE-2021-21327 Unsafe Reflection in getItemForItemtype()

Medium 6.8 Published Updated

Unauthenticated attackers can instantiate arbitrary classes via unsafe reflection, potentially leading to code execution or privilege escalation in GLPI.

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-2021-21327?

CVE-2021-21327 is a medium-severity unsafe deserialization vulnerability in Glpi-Project Glpi, published on 8 Mar 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

GLPI is an open-source asset and IT management software package that provides ITIL Service Desk features, licenses tracking and software auditing. In GLPI before version 9.5.4 non-authenticated user can remotely instantiate object of any class existing in the GLPI environment that can be used to carry out malicious attacks, or to start a “POP chain”. As an example of direct impact, this vulnerability affects integrity of the GLPI core platform and third-party plugins runtime misusing classes which implement some sensitive operations in their constructors or destructors. This is fixed in version 9.5.4.

Weakness: CWE-470, CWE-862

Which versions are affected by CVE-2021-21327?

It affects 1 product.

Products include Glpi-Project Glpi.

How do I fix CVE-2021-21327?

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

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2021-21327 being exploited?

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

All Glpi-Project Glpi vulnerabilities

Sources

Also known as GHSA-qmw7-w2m4-rjwp, UBUNTU-CVE-2021-21327.

Is CVE-2021-21327 in your software?

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

Check your SBOMs for free