Skip to main content
Vulnerability Database/CVE-2026-112152

CVE-2026-112152: Criminal-Management-System SQL Injection

CVE-2026-112152 is a SQL injection vulnerability in vraj404 Criminal-Management-System affecting the Search Page component. Attackers can exploit this remotely through the searchOff.php file. This article covers technical details, affected versions, security impact, and recommended mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-112152 Overview

CVE-2026-112152 is a SQL injection vulnerability in the vraj404 Criminal-Management-System, affecting versions up to commit 2808d057e7ddc5295519a487365b0cacfd0ba8c4. The flaw resides in the mysqli_query function call within Officers/searchOff.php, part of the Search Page component. Attackers can manipulate the Search parameter to inject arbitrary SQL statements remotely without authentication. The exploit has been publicly disclosed, increasing the likelihood of opportunistic abuse. The project uses a rolling release model, so no versioned patch is published, and the maintainer has not responded to the issue report at the time of disclosure.

Critical Impact

Unauthenticated remote attackers can inject SQL into the officer search function, exposing or modifying backend database contents.

Affected Products

  • vraj404 Criminal-Management-System up to commit 2808d057e7ddc5295519a487365b0cacfd0ba8c4
  • Component: Officers/searchOff.php (Search Page)
  • Rolling release — no fixed version identifier published

Discovery Timeline

  • 2026-10-19 - CVE-2026-112152 published to NVD
  • 2026-10-19 - Last updated in NVD database

Technical Details for CVE-2026-112152

Vulnerability Analysis

The vulnerability is a classic SQL injection flaw [CWE-74] in a PHP web application. The Officers/searchOff.php script accepts a user-supplied Search parameter and concatenates it directly into a SQL query executed through mysqli_query. Because the input is neither validated nor parameterized, an attacker can break out of the intended query context and append arbitrary SQL clauses. The attack requires no authentication and can be issued over the network through a standard HTTP request. Successful exploitation enables data exfiltration, modification of database records, or further pivoting into the application backend.

Root Cause

The root cause is improper neutralization of special elements in a SQL command. The Search parameter flows from the HTTP request directly into a dynamically constructed query string. No prepared statements, bound parameters, or input sanitization routines are applied before the query reaches mysqli_query.

Attack Vector

The attack vector is network-based and unauthenticated. An attacker submits a crafted value in the Search form field or query string parameter on the officer search page. Injected payloads such as UNION SELECT clauses or boolean-based conditions allow the attacker to enumerate database schemas, extract records from arbitrary tables, or alter stored data. See the VulDB Vulnerability Details and GitHub Issue Discussion for technical details.

Detection Methods for CVE-2026-112152

Indicators of Compromise

  • HTTP requests to /Officers/searchOff.php containing SQL metacharacters such as single quotes, UNION, SELECT, --, or ; in the Search parameter.
  • Unexpected MySQL error messages in web server or PHP logs tied to the officer search endpoint.
  • Anomalous outbound database query patterns or large result sets returned from the Search Page.

Detection Strategies

  • Deploy web application firewall (WAF) rules that inspect the Search parameter for SQL injection signatures.
  • Enable MySQL general query logging to correlate inbound HTTP requests with unusual SELECT, UNION, or INFORMATION_SCHEMA access.
  • Review access logs for repeated requests to Officers/searchOff.php from the same source with varying parameter payloads.

Monitoring Recommendations

  • Alert on HTTP 500 responses or database error strings returned from the officer search endpoint.
  • Monitor database accounts used by the application for queries that reference unexpected tables or schemas.
  • Track request rate and payload entropy for the Search parameter to identify automated injection attempts.

How to Mitigate CVE-2026-112152

Immediate Actions Required

  • Restrict access to the Criminal-Management-System application to trusted networks until a fix is available.
  • Place the application behind a WAF with SQL injection rulesets tuned for the Search parameter.
  • Audit database accounts used by the application and enforce least-privilege permissions to limit injection impact.

Patch Information

No vendor patch is available. The project uses a rolling release model and the maintainer has not responded to the GitHub Issue Discussion. Organizations running the vraj404 Criminal-Management-System repository should apply code-level fixes locally by replacing the vulnerable mysqli_query call in Officers/searchOff.php with a prepared statement using mysqli_prepare and bound parameters.

Workarounds

  • Modify Officers/searchOff.php to use parameterized queries with mysqli_stmt_bind_param instead of string concatenation.
  • Apply server-side input validation that rejects non-alphanumeric characters in the Search parameter.
  • Disable or remove the officer search functionality if it is not required for operations.
bash
# Example WAF rule (ModSecurity) to block common SQLi payloads on the Search parameter
SecRule ARGS:Search "@detectSQLi" \
    "id:1012152,phase:2,deny,status:403,log,msg:'Potential SQLi on searchOff.php'"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.