Skip to content

Unsafe Reflection in getItemForItemtype()

Moderate
trasher published GHSA-qmw7-w2m4-rjwp Mar 2, 2021

Package

No package listed

Affected versions

< 9.5.4

Patched versions

9.5.4

Description

Impact

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.

Patches

fixed in 9.5.4

Reference:
https://iterasec.com/cve-2021-21327-unsafe-reflection-in-getitemforitemtype-in-glpi/

Severity

Moderate

CVE ID

CVE-2021-21327

Weaknesses

Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')

The product uses external input with reflection to select which classes or code to use, but it does not sufficiently prevent the input from selecting improper classes or code. Learn more on MITRE.

Credits