The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2022-35914

CVE-2022-35914: Glpi-project Glpi RCE Vulnerability

CVE-2022-35914 is a remote code execution flaw in Glpi-project Glpi that enables PHP code injection through the htmlawed module. This article covers the technical details, affected versions, impact, and mitigation.

Published: February 18, 2026

CVE-2022-35914 Overview

CVE-2022-35914 is a PHP code injection vulnerability in the htmlawed module for GLPI (Gestion Libre de Parc Informatique) through version 10.0.2. The vulnerability exists in /vendor/htmlawed/htmlawed/htmLawedTest.php, which allows unauthenticated attackers to inject and execute arbitrary PHP code on vulnerable systems. This vulnerability has been actively exploited in the wild and is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog.

Critical Impact

This vulnerability allows unauthenticated remote attackers to execute arbitrary PHP code on affected GLPI installations, potentially leading to complete system compromise, data theft, and lateral movement within enterprise networks.

Affected Products

  • GLPI (Gestion Libre de Parc Informatique) versions through 10.0.2
  • glpi-project glpi with bundled htmlawed module
  • Systems running vulnerable htmLawedTest.php test file

Discovery Timeline

  • 2022-09-19 - CVE-2022-35914 published to NVD
  • 2025-11-03 - Last updated in NVD database

Technical Details for CVE-2022-35914

Vulnerability Analysis

The vulnerability resides in the htmLawedTest.php file, which is a testing utility bundled with the htmLawed HTML sanitization library included in GLPI installations. This test file was never intended for production deployment but is inadvertently exposed in GLPI distributions through version 10.0.2.

The core issue stems from improper input validation in the test interface, which allows user-supplied input to be processed by PHP functions in an unsafe manner. When the test file is accessible via a web request, attackers can craft malicious requests that inject arbitrary PHP code, which is then executed in the context of the web server.

This vulnerability is particularly dangerous because it requires no authentication, can be exploited remotely over the network, and provides full code execution capabilities. The htmLawed library is widely used for HTML filtering, but the inclusion of test files in production environments creates an unintended attack surface.

Root Cause

The root cause is a code injection vulnerability (CWE-74) in the htmLawedTest.php file. The test script accepts user input and passes it to internal PHP functions without proper sanitization or validation. This allows attackers to inject PHP code through specially crafted HTTP requests that bypass expected input handling and achieve arbitrary code execution.

The fundamental design flaw is the inclusion of a development/testing file in production GLPI packages, combined with insufficient input validation in that test file. The htmLawed library itself is designed for HTML sanitization, but its test harness was not designed with security considerations for public-facing deployments.

Attack Vector

The attack is conducted remotely over the network without requiring authentication. Attackers target the exposed htmLawedTest.php endpoint with specially crafted POST requests containing malicious PHP code. The vulnerability allows execution with the privileges of the web server process, enabling attackers to:

  • Execute arbitrary system commands
  • Read and modify files on the server
  • Establish persistent backdoor access
  • Pivot to other systems on the network
  • Exfiltrate sensitive data from the GLPI database

Exploitation details and proof-of-concept code are publicly available through the Orange Cyberdefense CVE Repository and documented on Packet Storm Security. Additional technical analysis is available in the Mayfly Blog writeup.

Detection Methods for CVE-2022-35914

Indicators of Compromise

  • HTTP POST requests targeting /vendor/htmlawed/htmlawed/htmLawedTest.php or similar paths
  • Web server logs showing access to htmLawedTest.php with unusual POST parameters
  • Unexpected PHP processes spawned by the web server user
  • Creation of new files in web-accessible directories, particularly PHP shells or backdoors
  • Outbound network connections from the web server to unknown destinations

Detection Strategies

  • Monitor web server access logs for requests to htmLawedTest.php files, which should not be accessed in production
  • Deploy Web Application Firewall (WAF) rules to block requests containing PHP code injection patterns
  • Implement file integrity monitoring on GLPI installation directories to detect unauthorized modifications
  • Use network intrusion detection systems to identify exploitation attempts and post-compromise activity

Monitoring Recommendations

  • Configure alerting for any HTTP requests to paths containing htmLawedTest.php
  • Establish baseline behavior for the GLPI application and alert on anomalous process execution
  • Monitor for command execution patterns typical of web shell activity (e.g., whoami, id, uname, wget, curl)
  • Review authentication logs for suspicious access patterns following potential exploitation

How to Mitigate CVE-2022-35914

Immediate Actions Required

  • Upgrade GLPI to version 10.0.3 or later immediately, as announced in the GLPI 10.0.3 Release
  • If immediate upgrade is not possible, remove or restrict access to the htmLawedTest.php file
  • Conduct forensic analysis of web server logs to determine if exploitation has occurred
  • Isolate affected systems from the network if compromise is suspected
  • Reset credentials for any accounts that may have been exposed through the GLPI system

Patch Information

GLPI-Project has addressed this vulnerability in GLPI version 10.0.3. The patch removes the vulnerable test file from the distribution and addresses the underlying code injection issue. Organizations should upgrade to GLPI 10.0.3 or later from the official GLPI releases page.

Given that this vulnerability is listed in CISA's Known Exploited Vulnerabilities catalog, federal agencies and organizations following CISA guidance are required to remediate this vulnerability according to specified timelines. See the CISA KEV Catalog entry for details.

Workarounds

  • Delete or rename the htmLawedTest.php file: rm /path/to/glpi/vendor/htmlawed/htmlawed/htmLawedTest.php
  • Block access to the vulnerable file at the web server level using .htaccess or nginx configuration
  • Implement network-level access controls to restrict access to GLPI administrative interfaces
  • Deploy a web application firewall with rules specifically targeting PHP code injection attempts
bash
# Remove the vulnerable test file
rm /var/www/glpi/vendor/htmlawed/htmlawed/htmLawedTest.php

# Or block access via Apache .htaccess
echo '<Files "htmLawedTest.php">' >> /var/www/glpi/vendor/htmlawed/htmlawed/.htaccess
echo '    Require all denied' >> /var/www/glpi/vendor/htmlawed/htmlawed/.htaccess
echo '</Files>' >> /var/www/glpi/vendor/htmlawed/htmlawed/.htaccess

# Or block via nginx configuration
# Add to your GLPI server block:
# location ~ htmLawedTest\.php$ { deny all; }

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechGlpi

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability94.39%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CISA KEV Information
  • In CISA KEVYes
  • CWE References
  • CWE-74
  • Technical References
  • Packet Storm Security Advisory

  • GitHub CVE Repository

  • GitHub PoC for CVE-2022-35914

  • GitHub GLPI Releases

  • Mayfly Blog on CVE-2022-35914

  • CISA Known Exploited Vulnerabilites Catalog
  • Vendor Resources
  • Bioinformatics Source Code Resource

  • GLPI 10.0.3 Release Announcement
  • Related CVEs
  • CVE-2026-26026: Glpi-project GLPI RCE Vulnerability

  • CVE-2026-22248: GLPI RCE Vulnerability

  • CVE-2025-24801: GLPI File Upload RCE Vulnerability

  • CVE-2023-42802: Glpi-project Glpi RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English