CRITICAL

CVE-2022-35914

Glpi-project Glpi 2022-09-19 CVSS v3.1
CVSS
9.8
KEV

Description

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

Summary dbcve.org

A PHP code injection vulnerability exists in the htmlawed module bundled with GLPI versions up to 10.0.2. The exposed test file at /vendor/htmlawed/htmlawed/htmLawedTest.php can be abused to inject and execute arbitrary PHP code, and the 9.8 CVSS score indicates remote, unauthenticated exploitation is plausible. Successful exploitation would result in full application/server compromise under the web service account.

Mitigation

Upgrade GLPI to a version newer than 10.0.2 that addresses this issue, or as an interim measure remove/rename the htmLawedTest.php file in the vendor directory and restrict web access to any htmlawed test endpoints.

Proof of Concept
Patch Commit

Weakness (CWE)

CWE-74 Injection

EPSS Score

99.88%
Probability of exploitation in next 30 days
100th percentile

References

View on dbcve.org
Base CVE data derived from NVD (public domain). Enrichment by dbcve.org (CC-BY-4.0). Fetched via API.
Back to CVE