Description
SQL injection vulnerability in the endpoint /ocsreports/index.php?function=admin_double due to improper processing of the values in the ID field included in the selected_grp_dupli[] parameter. An authenticated user with operator privileges can manipulate these values to alter the SQL queries executed by the application and retrieve information stored in the database.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OCS Inventory NG | Ocsreports | 2.12.6 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 12 | ocsinventory-server | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | ocsinventory-server | No fix yet | — |
| Ubuntu 22.04 LTS | ocsinventory-server | No fix yet | — |
| Ubuntu 20.04 LTS | ocsinventory-server | No fix yet | — |
| Ubuntu 18.04 LTS | ocsinventory-server | No fix yet | — |
| Ubuntu 16.04 LTS | ocsinventory-server | No fix yet | — |