{"id":"CVE-2022-35914","published":"2022-09-19T16:15:11Z","modified":"2026-06-17T04:52:30Z","title":"Teclib GLPI Remote Code Execution Vulnerability","vendor":"Teclib","product":"GLPI","tier":"core","eol":null,"description":{"text":"/vendor/htmlawed/htmlawed/htmLawedTest.php in the htmlawed module for GLPI through 10.0.2 allows PHP code injection.","provenance":"source","from":"NVD"},"summary":{"text":"The flaw is a PHP code injection vulnerability in the htmlawed module of Teclib's GLPI, specifically in the file /vendor/htmlawed/htmlawed/htmLawedTest.php. An attacker who can reach the affected GLPI instance over the network can inject PHP code without needing credentials or any user interaction, under the default configuration.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T13:44:43Z"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"NVD"},"epss":{"score":0.99851,"percentile":0.99961,"date":"2026-10-30","provenance":"source"},"kev":{"dateAdded":"2023-03-07","dueDate":"2023-03-28","ransomware":false,"requiredAction":"Apply updates per vendor instructions.","notes":"https://glpi-project.org/fr/glpi-10-0-3-disponible/, http://www.bioinformatics.org/phplabware/sourceer/sourceer.php?&Sfs=htmLawedTest.php&Sl=.%2Finternal_utilities%2FhtmLawed.;  https://nvd.nist.gov/vuln/detail/CVE-2022-35914","provenance":"source"},"vulncheckKev":{"dateAdded":"2022-10-05","exploitedFirstSeen":"2022-10-05","ransomware":false,"evidence":[{"url":"https://glpi-project.org/security-update-10-0-3-and-9-5-9/","date":"2022-10-05"},{"url":"https://twitter.com/Shadowserver/status/1580475994590220288","date":"2022-10-13"},{"url":"https://web.archive.org/web/20230318134256/https://unit42.paloaltonetworks.com/network-security-trends-aug-oct-2022/","date":"2023-01-12"},{"url":"https://www.cert.ssi.gouv.fr/uploads/CERTFR-2023-CTI-001.pdf","date":"2023-01-24"},{"url":"https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json","date":"2023-03-07"},{"url":"https://www.microsoft.com/content/dam/microsoft/final/en-us/microsoft-brand/documents/MDDR_FINAL_2023_1004.pdf","date":"2023-10-09"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-11-13&host_type=src&vulnerability=cve-2022-35914","date":"2023-11-13"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-11-18&host_type=src&vulnerability=cve-2022-35914","date":"2023-11-18"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-11-19&host_type=src&vulnerability=cve-2022-35914","date":"2023-11-19"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-12-17&host_type=src&vulnerability=cve-2022-35914","date":"2023-12-17"}],"evidenceTotal":775,"provenance":"source"},"exploited":true,"otx":{"pulseCount":50,"pulses":[{"name":"Actively_Exploited_Kev | Oct 29, 2026","url":"https://otx.alienvault.com/pulse/6ae20c1db17e7057ae7d9ad1","created":"2026-10-28"},{"name":"Actively_Exploited_Kev | Oct 28, 2026","url":"https://otx.alienvault.com/pulse/6ae0ba7e0e2a97ff7b218819","created":"2026-10-27"},{"name":"Actively_Exploited_Kev | Oct 27, 2026","url":"https://otx.alienvault.com/pulse/6adf68b85c3e852f3c111d18","created":"2026-10-26"},{"name":"Actively_Exploited_Kev | Oct 24, 2026","url":"https://otx.alienvault.com/pulse/6adb740e397c3ad4799aa4cd","created":"2026-10-23"},{"name":"Actively_Exploited_Kev | Oct 23, 2026","url":"https://otx.alienvault.com/pulse/6ada236fcfba2dfa730ea482","created":"2026-10-22"},{"name":"Actively_Exploited_Kev | Oct 22, 2026","url":"https://otx.alienvault.com/pulse/6ad8d33a077cbb5cab524d80","created":"2026-10-21"},{"name":"Actively_Exploited_Kev | Oct 21, 2026","url":"https://otx.alienvault.com/pulse/6ad78130c4d1ac2be83a8b6d","created":"2026-10-20"},{"name":"Actively_Exploited_Kev | Oct 20, 2026","url":"https://otx.alienvault.com/pulse/6ad62f63c24a405a3423cc13","created":"2026-10-19"},{"name":"Actively_Exploited_Kev | Oct 19, 2026","url":"https://otx.alienvault.com/pulse/6ad4dda174e5797d0bd238b7","created":"2026-10-18"},{"name":"Actively_Exploited_Kev | Oct 18, 2026","url":"https://otx.alienvault.com/pulse/6ad38c22e1848f8189d1c121","created":"2026-10-17"}],"provenance":"machine"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"references":[{"url":"http://packetstormsecurity.com/files/169501/GLPI-10.0.2-Command-Injection.html","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://www.bioinformatics.org/phplabware/sourceer/sourceer.php?&Sfs=htmLawedTest.php&Sl=.%2Finternal_utilities%2FhtmLawed","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/Orange-Cyberdefense/CVE-repository/","tags":["Third Party Advisory"]},{"url":"https://github.com/Orange-Cyberdefense/CVE-repository/blob/master/PoCs/POC_2022-35914.sh","tags":["Exploit"]},{"url":"https://github.com/glpi-project/glpi/releases","tags":["Release Notes","Third Party Advisory"]},{"url":"https://glpi-project.org/fr/glpi-10-0-3-disponible/","tags":["Release Notes","Vendor Advisory"]},{"url":"https://mayfly277.github.io/posts/GLPI-htmlawed-CVE-2022-35914/","tags":["Exploit","Third Party Advisory"]},{"url":"http://packetstormsecurity.com/files/169501/GLPI-10.0.2-Command-Injection.html","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://www.bioinformatics.org/phplabware/sourceer/sourceer.php?&Sfs=htmLawedTest.php&Sl=.%2Finternal_utilities%2FhtmLawed","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/glpi-project/glpi/releases","tags":["Release Notes","Third Party Advisory"]},{"url":"https://glpi-project.org/fr/glpi-10-0-3-disponible/","tags":["Release Notes","Vendor Advisory"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-35914","tags":["US Government Resource"]}],"techniques":[{"id":"T1059","name":"Command and Scripting Interpreter","tactics":["execution"],"provenance":"source","basis":"ctid-kev","bases":["ctid-kev"],"basisDetail":"CTID Mappings Explorer KEV 07/28/2025 (ATT&CK 16.1); capability: Code Execution","mappingType":"exploitation_technique","evidence":[],"comment":"This vulnerability is exploited by a remote, unauthenticated attacker via /vendor/htmlawed/htmlawed/htmLawedTest.php in the htmlawed module for GLPI through 10.0.2, which allows PHP code injection.\n\nin the wild exploitation details have not been publicly released for this vulnerability","confidence":"medium","confidenceNote":"CTID KEV capability group \"code execution\" is generic"},{"id":"T1190","name":"Exploit Public-Facing Application","tactics":["initial-access"],"provenance":"source","basis":"ctid-kev","bases":["ctid-kev"],"basisDetail":"CTID Mappings Explorer KEV 07/28/2025 (ATT&CK 16.1); capability: Code Execution","mappingType":"exploitation_technique","evidence":[],"comment":"This vulnerability is exploited by a remote, unauthenticated attacker via /vendor/htmlawed/htmlawed/htmLawedTest.php in the htmlawed module for GLPI through 10.0.2, which allows PHP code injection.\n\nin the wild exploitation details have not been publicly released for this vulnerability","confidence":"medium","confidenceNote":"CTID KEV capability group \"code execution\" is generic"}],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2022-38785","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-38785","exploited":true,"exploitedSince":"2023-03-07","provenance":"source"},"exploits":[{"id":52023,"url":"https://www.exploit-db.com/exploits/52023","title":"htmlLawed 1.2.5 - Remote Code Execution (RCE)","type":"webapps","platform":"php","date":"2024-05-19","verified":false,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2024-05-19"},"pocGithub":{"count":8,"skipped":1,"earliest":"2022-09-30","earliestUrl":"https://github.com/cosad3s/CVE-2022-35914-poc","repos":[{"name":"cosad3s/CVE-2022-35914-poc","url":"https://github.com/cosad3s/CVE-2022-35914-poc","stars":51,"created":"2022-09-30"},{"name":"senderend/CVE-2022-35914","url":"https://github.com/senderend/CVE-2022-35914","stars":4,"created":"2024-04-24"},{"name":"Lzer0Kx01/CVE-2022-35914","url":"https://github.com/Lzer0Kx01/CVE-2022-35914","stars":2,"created":"2022-10-09"},{"name":"0xGabe/CVE-2022-35914","url":"https://github.com/0xGabe/CVE-2022-35914","stars":2,"created":"2022-11-06"},{"name":"noxlumens/CVE-2022-35914_poc","url":"https://github.com/noxlumens/CVE-2022-35914_poc","stars":2,"created":"2024-08-25"}]},"metasploit":[{"name":"GLPI htmLawed php command injection","module":"exploit/linux/http/glpi_htmlawed_php_injection","type":"exploit","disclosureDate":"2022-01-26","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/glpi_htmlawed_php_injection.rb"}],"nuclei":[{"id":"CVE-2022-35914","name":"GLPI <=10.0.2 - Remote Command Execution","severity":"critical","path":"http/cves/2022/CVE-2022-35914.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-35914.yaml"}],"first":{"date":"2022-01-26","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/glpi_htmlawed_php_injection.rb"},"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/169501/GLPI-10.0.2-Command-Injection.html","https://github.com/Orange-Cyberdefense/CVE-repository/blob/master/PoCs/POC_2022-35914.sh","https://mayfly277.github.io/posts/GLPI-htmlawed-CVE-2022-35914/"],"flow":[{"stage":"exploitation","techniques":["T1190","T1059"],"provenance":"source"}],"timeline":[{"date":"2022-01-26","kind":"exploit-public","label":"First public exploit: Metasploit; later: PoC-in-GitHub 2022-09-30, Exploit-DB 2024-05-19","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/glpi_htmlawed_php_injection.rb","provenance":"source"},{"date":"2022-09-19","kind":"published","label":"Published (NVD)","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-35914","provenance":"source"},{"date":"2022-10-05","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://glpi-project.org/security-update-10-0-3-and-9-5-9/","provenance":"source"},{"date":"2023-03-07","kind":"kev","label":"Added to CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","provenance":"source"},{"date":"2023-03-07","kind":"euvd-exploited","label":"ENISA EUVD: exploited","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-38785","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Metasploit","daysToKev":169},"priority":{"score":69.9,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in CISA KEV and VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 1487 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.99,"detail":"percentile 0.9996"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"3 NVD references tagged Exploit; 1 Exploit-DB entry; 8 PoC-in-GitHub repos; 1 Metasploit module; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":3.0,"detail":"50 pulses"},{"name":"CVSS severity","points":6.86,"detail":"base score 9.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}