MODULE

GLPI Inventory Plugin Unauthenticated Blind Boolean SQLi

Try Surface Command Get a continuous 360° view of your attack surface
Back to Search

GLPI Inventory Plugin Unauthenticated Blind Boolean SQLi

Disclosed
03/12/2025
Created
03/26/2025

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.

Author(s)

  • rz
  • jheysel-r7

Development

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_sqli
msf auxiliary(glpi_inventory_plugin_unauth_sqli) > show actions
    ...actions...
msf auxiliary(glpi_inventory_plugin_unauth_sqli) > set ACTION < action-name >
msf auxiliary(glpi_inventory_plugin_unauth_sqli) > show options
    ...show and set options...
msf auxiliary(glpi_inventory_plugin_unauth_sqli) > run 

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;