Description
GLPI <= 1.0.18 fails to properly sanitize user supplied data when sent inside a `SimpleXMLElement` (available to unauthenticated users), prior to using it in a dynamically constructed SQL query. As a result, unauthenticated attackers can conduct an SQL injection attack to dump sensitive data from the backend database such as usernames and password hashes.
In order for GLPI to be exploitable the GLPI Inventory plugin must be installed and enabled, and the "Enable Inventory" radio button inside the administration configuration also must be checked.
Module options
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use auxiliary/gather/glpi/inventory_plugin_unauth_sqlimsf undefined(inventory_plugin_unauth_sqli) > show actions ...actions...msf undefined(inventory_plugin_unauth_sqli) > set ACTION < action-name >msf undefined(inventory_plugin_unauth_sqli) > show options ...show and set options...msf undefined(inventory_plugin_unauth_sqli) > runPrioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub