Impact
If MSSQL sqlcmd command is installed for MSSQL database inventory, command injection can be attempt because of crafted database names or crafted credentials sent by a compromised glpi server.
Patches
Upgrade to GLPI-Agent 1.18
Workarounds
Firstly, a computer won't be affected if MSSQL sqlcmd command is not installed. You can test as administrator to run sqlcmd --version to check if the command is available.
Secondly, if no database is running or configured to be inventoried via database-inventory glpi plugin, glpi-agent won't have to handle any database name.
You can disable databases inventory agent-side by setting no-category = database in configuration.
For more information
If you have any questions or comments about this advisory, mail us at glpi-security@ow2.org.
Impact
If MSSQL
sqlcmdcommand is installed for MSSQL database inventory, command injection can be attempt because of crafted database names or crafted credentials sent by a compromised glpi server.Patches
Upgrade to GLPI-Agent 1.18
Workarounds
Firstly, a computer won't be affected if MSSQL
sqlcmdcommand is not installed. You can test as administrator to runsqlcmd --versionto check if the command is available.Secondly, if no database is running or configured to be inventoried via database-inventory glpi plugin, glpi-agent won't have to handle any database name.
You can disable databases inventory agent-side by setting
no-category = databasein configuration.For more information
If you have any questions or comments about this advisory, mail us at glpi-security@ow2.org.