CVE-2022-35914
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.