ZeroHour

CVE-2026-76176

niche

Authenticated SQL Injection in OCS Inventory Web Console (OCSReports)

CVSS 4.0
8.6 high
EPSS
<1%p26
Published
()
Modified
AI analysis

OCS Inventory's web console (OCSReports) contains a SQL injection flaw (CWE-89) in the admin_double function of /ocsreports/index.php. An authenticated user with operator privileges can submit crafted values in the ID field of the selected_grp_dupli[] parameter, causing improperly validated input to be incorporated into the SQL queries the application executes. Successful exploitation allows the attacker to retrieve information stored in the application's database. Any organization running an affected OCS Inventory deployment where users hold operator-level accounts is exposed, particularly if the console is reachable from untrusted networks. Exploitation has not been observed: there is no known public proof-of-concept, the CVE is not in CISA's KEV catalog, and EPSS assigns only a ~0.3% probability of exploitation within 30 days.

What to do: Because no fixed version is stated in the available data, check the OCS Inventory project and its CNA (INCIBE) advisories for a patched release and upgrade as soon as one is available. In the interim, restrict access to /ocsreports/index.php (especially the admin_double function) to trusted administrators, audit operator-level accounts, and remove or downgrade unnecessary operator privileges. Review web/application logs for anomalous requests containing selected_grp_dupli[] parameters as a check for attempted exploitation.

Affected
OCS Inventory (OCSReports) OCS Inventory web console (OCSReports), admin_double function
Estimated exposure
nichelikely on the order of thousands of self-hosted deployments (open-source IT asset inventory tool, typically deployed on internal networks rather than exposed… — OCS Inventory is an open-source IT asset management platform almost always deployed as an internal web console by small and mid-sized organizations, so the exposed footprint is far smaller than mass-market products; exact install counts…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

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.

Weakness
CWE-89
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.