Code Injection in GLPI - CVE-2022-35914
Published: February 8, 2023 / Updated: October 25, 2024
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to improper input validation in /vendor/htmlawed/htmlawed/htmLawedTest.php. A remote attacker can send a specially crafted request and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Note, the vulnerability is known to be exploited in the wild as of October 5, 2022.
Affected software
How to mitigate CVE-2022-35914
Links to Public Exploits and PoC-codes
- Exploit #10690 - htmlLawed 1.2.5 - Remote Code Execution (RCE) (October 25, 2024)
- Exploit #10628 - CVE-2022-35914 (PoC exploit for GLPI - Command injection using a third-party library script) (October 22, 2024)
- Exploit #10538 - exploit_CVE-2022-35914 () (September 27, 2024)
- Exploit #9758 - CVE-2022-35914 (PoC exploit for GLPI - Command injection using a third-party library script) (April 26, 2024)
- Exploit #9214 - CVE-2022-35914 () (July 30, 2023)
- Exploit #8814 - CVE-2022-35914-poc () (February 8, 2023)
- Exploit #8813 - CVE-2022-35914 (Unauthenticated RCE in GLPI 10.0.2) (February 8, 2023)
- Exploit #8812 - CVE-2022-35914 () (February 8, 2023)
- Exploit #8811 - CVE-2022-35914 () (February 8, 2023)
- Exploit #8810 - GLPI 10.0.2 Command Injection (February 8, 2023)
- Exploit #8809 - CVE-2022-35914 () (February 8, 2023)
- Exploit #8808 - GLPI htmLawed php command injection (February 8, 2023)
- Exploit #8807 - CVE-2022-35914-poc () (February 8, 2023)
- Exploit #8806 - CVE-2022-35914 (Unauthenticated RCE in GLPI 10.0.2) (February 8, 2023)
External References
- http://www.bioinformatics.org/phplabware/sourceer/sourceer.php?&Sfs=htmLawedTest.php&Sl=.%2Finternal_utilities%2FhtmLawed
- https://github.com/glpi-project/glpi/releases
- https://glpi-project.org/fr/glpi-10-0-3-disponible/
- http://packetstormsecurity.com/files/169501/GLPI-10.0.2-Command-Injection.html
- https://glpi-project.org/security-update-10-0-3-and-9-5-9/