Unauthenticated command execution via controllable hook callback
Published Sep 19, 2022 · Updated Oct 21, 2025
Command injection in GLPI 9.5.4 through 10.0.2 allows remote attackers to execute arbitrary system commands through the bundled htmLawed test page. htmLawedTest.php copies POST keys beginning with h into the library configuration, letting the hhook value select exec as a callable hook while attacker-controlled text becomes its command argument. The test page is reachable without authentication in default release packages, so successful requests run commands with the web server process's privileges and expose command output in the response.
Summary
What happened
Command injection in GLPI 9.5.4 through 10.0.2 allows remote attackers to execute arbitrary system commands through the bundled htmLawed test page. htmLawedTest.php copies POST keys beginning with h into the library configuration, letting the hhook value select exec as a callable hook while attacker-controlled text becomes its command argument. The test page is reachable without authentication in default release packages, so successful requests run commands with the web server process's privileges and expose command output in the response.
The record
- CVE
- CVE-2022-35914
- Published
- Sep 19, 2022
- Updated
- Oct 21, 2025
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-77, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Sep 19, 2022CVE publishedPublication date reported by the CVE source.
- Mar 7, 2023Exploitation reportedCISA Known Exploited Vulnerabilities catalog listing
- Oct 21, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
View daily counts
| Reporting day | Unique IPs |
|---|---|
| Sep 10, 2026 | 5 |
| Sep 11, 2026 | 1 |
| Sep 12, 2026 | 1 |
| Sep 13, 2026 | Unavailable |
| Sep 14, 2026 | 2 |
| Sep 15, 2026 | Unavailable |
| Sep 16, 2026 | 2 |
Weakness, pattern, technique
Public exploit references
- POC_2022-35914.shfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
- CISA Known Exploited Vulnerabilities catalog listingknown exploited catalog
- CERT-FR reports numerous exploitation incidentsreported exploitation
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo