CVE-2026-76176 in Ocsreportsinfo

Summary

by MITRE • 09/03/2026

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.

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Analysis

by VulDB Data Team • 09/03/2026

The vulnerability identified involves a critical SQL injection flaw within the OCS Inventory NG web interface, specifically targeting the endpoint /ocsreports/index.php when invoking the admin_double function. This security weakness stems from improper input validation and sanitization of the selected_grp_dupli[] parameter, which is used to process group identifiers for duplicate detection operations. The root cause lies in the application's failure to adequately escape or validate user-supplied data before incorporating it into dynamic SQL queries. Because the ID values passed through this array are directly concatenated or interpolated into database commands without sufficient safeguards, an attacker can inject malicious SQL syntax that alters the intended logic of the query. This type of flaw is classically categorized under CWE-89, which defines Improper Neutralization of Special Elements used in an SQL Command, commonly known as SQL Injection.

The operational impact of this vulnerability is significant due to its authentication and privilege requirements. The exploit requires a valid user account with operator-level privileges within the OCS Inventory NG environment. While this restricts immediate exploitation by unauthenticated external attackers on public-facing instances, it poses a severe risk in internal networks or environments where insider threats exist, or if an attacker has already compromised a lower-privileged account and seeks to escalate access through privilege escalation techniques that leverage SQL injection for data exfiltration or command execution. Once exploited, the vulnerability allows the authenticated user to manipulate the underlying database structure or content. This can lead to unauthorized disclosure of sensitive information stored in the inventory database, such as hardware configurations, software installations, network topology details, and potentially credentials if they are stored within the managed systems' data fields.

From a tactical perspective, this vulnerability aligns with MITRE ATT&CK technique T1059, Command and Scripting Interpreter, specifically when used to facilitate further exploitation steps like SQL injection (T1190) or Data from Information Repositories (T1213). An attacker could leverage the injected SQL commands not only for data theft but also potentially for modifying application behavior, deleting records to cover tracks, or in some database configurations, executing operating system commands if the database service has elevated permissions. The ability to alter SQL queries means that an adversary can bypass access controls intended by the application logic, effectively gaining read-write access to the backend datastore beyond what is normally permitted by their operator role.

Mitigation strategies must address both immediate remediation and long-term architectural improvements. The primary fix involves implementing strict input validation for all parameters passed in array formats like selected_grp_dupli[], ensuring that only expected integer values are accepted and rejecting any input containing SQL metacharacters or unexpected syntax. Developers should refactor the code to use parameterized queries or prepared statements, which separate SQL logic from data inputs, thereby neutralizing injection attempts regardless of the content provided by the user. Additionally, enforcing the principle of least privilege is crucial; operator accounts should be restricted from performing administrative functions like duplicate group management unless absolutely necessary. Regular security audits and static code analysis tools configured to detect CWE-89 patterns can help identify similar vulnerabilities in other parts of the application before they are deployed or exploited.

Responsible

INCIBE

Reservation

08/19/2026

Disclosure

09/03/2026

Moderation

accepted

CPE

ready

EPSS

0.00000

KEV

no

Activities

very low

Sources

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!