CVE-2021-21327 Unsafe Reflection in getItemForItemtype()
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.
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.
Other vulnerabilities in Glpi-Project Glpi
- CVE-2022-35914 Teclib GLPI Remote Code Execution
- CVE-2023-42802 GLPI vulnerable to unallowed PHP script execution
- CVE-2023-28849 GLPI vulnerable to SQL injection and Stored XSS via inventory agent request
- CVE-2022-35947 SQL injection in GLPI
- CVE-2022-31056 SQL injection with _actor parameter in GLPI
Sources
Also known as GHSA-qmw7-w2m4-rjwp, UBUNTU-CVE-2021-21327.