Description
/vendor/htmlawed/htmlawed/htmLawedTest.php in the htmlawed module for GLPI through 10.0.2 allows PHP code injection.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
GLPI htmLawed php command injection
exploit/linux/http/glpi_htmlawed_php_injection
Exploit-DB 1
- htmlLawed 1.2.5 - Remote Code Execution (RCE) EDB-52023 · webapps · May 19, 2024
GitHub 9 repositories
-
cosad3s/CVE-2022-35914-poc ★ 51 · Sep 30, 2022
-
senderend/CVE-2022-35914 ★ 4 · Apr 24, 2024
PoC exploit for GLPI - Command injection using a third-party library script
-
noxlumens/CVE-2022-35914_poc ★ 2 · Aug 25, 2024
Modified for GLPI Offsec Lab: call_user_func, array_map, passthru
-
0xGabe/CVE-2022-35914 ★ 2 · Nov 6, 2022
Unauthenticated RCE in GLPI 10.0.2
-
Lzer0Kx01/CVE-2022-35914 ★ 2 · Oct 9, 2022
-
6E6L6F/CVE-2022-35914 ★ 1 · Oct 12, 2022
-
cyb3rk0ala/CVE-2022-35914-RCE ★ 0 · Aug 11, 2026
PoC exploit for CVE-2022-35914 — GLPI v.10.0.2 htmLawed command injection, command execution, and reverse shell support.
-
btar1gan/exploit_CVE-2022-35914 ★ 0 · Sep 20, 2024
-
Johnermac/CVE-2022-35914 ★ 0 · Mar 7, 2023
Script in Ruby for the CVE-2022-35914 - RCE in GLPI
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- GLPI <=10.0.2 - Remote Command Execution http/cves/2022/CVE-2022-35914.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
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://github.com/Orange-Cyberdefense/CVE-repository/
- https://github.com/Orange-Cyberdefense/CVE-repository/blob/master/PoCs/POC_2022-35914.sh
- https://mayfly277.github.io/posts/GLPI-htmlawed-CVE-2022-35914/