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-112153 Overview
CVE-2026-112153 is a SQL injection vulnerability in the vraj404 Criminal-Management-System, affecting commits up to 2808d057e7ddc5295519a487365b0cacfd0ba8c4. The flaw resides in the mysqli_error handling of Officers/addOfficer.php, part of the Officer Registration Form component. Attackers can manipulate the offName, offID, ID, contact, gender, weapon, or role parameters to inject arbitrary SQL statements. The attack is remotely exploitable without authentication, and the exploit has been disclosed publicly. The project uses a rolling release model and has not responded to the issue report as of disclosure.
Critical Impact
Unauthenticated remote attackers can inject SQL into the Officer Registration workflow, enabling data disclosure, modification, or deletion within the application database.
Affected Products
- vraj404 Criminal-Management-System (rolling release)
- All commits up to and including 2808d057e7ddc5295519a487365b0cacfd0ba8c4
- Component: Officers/addOfficer.php (Officer Registration Form)
Discovery Timeline
- 2026-10-19 - CVE-2026-112153 published to NVD
- 2026-10-19 - Last updated in NVD database
Technical Details for CVE-2026-112153
Vulnerability Analysis
The vulnerability is a SQL injection flaw categorized under CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component. The affected code path handles officer registration submissions in Officers/addOfficer.php. User-supplied values from the registration form are concatenated into SQL statements executed through the mysqli interface. Because the input is not parameterized or sanitized, attackers can break out of the query context and append arbitrary SQL. The flaw is reachable over the network and requires no authentication or user interaction.
Root Cause
The root cause is the direct inclusion of unsanitized HTTP request parameters in SQL statements built for the officer registration workflow. Parameters including offName, offID, ID, contact, gender, weapon, and role are passed to mysqli query execution without prepared statements or input validation. The reference to mysqli_error indicates verbose database error output may also be returned to the client, aiding error-based injection.
Attack Vector
An attacker submits a crafted HTTP request to the Officer Registration Form endpoint, supplying SQL payloads in any of the vulnerable parameters. Because exploitation can be scripted against a public endpoint, mass scanning and automated exploitation are feasible. Successful injection can be used to read, modify, or destroy records in the backend MySQL database, including sensitive criminal records and officer credentials.
No verified proof-of-concept code is included in the NVD record. Technical references include the GitHub Repository, the GitHub Issue #5, and the VulDB entry for CVE-2026-112153.
Detection Methods for CVE-2026-112153
Indicators of Compromise
- HTTP POST requests to Officers/addOfficer.php containing SQL meta-characters such as ', --, UNION SELECT, or OR 1=1 within the offName, offID, ID, contact, gender, weapon, or role fields.
- Web server or application logs showing mysqli_error output reflected in responses, indicating error-based injection probes.
- Unexpected database query errors or anomalous SELECT statements originating from the officer registration workflow.
Detection Strategies
- Deploy web application firewall (WAF) rules that inspect form parameters submitted to the officer registration endpoint for SQL injection signatures.
- Enable database query logging and alert on queries containing suspicious boolean tautologies or stacked statements from the application user.
- Review access logs for high-volume or scripted submissions to addOfficer.php from a single source address.
Monitoring Recommendations
- Correlate web request telemetry with database error events to identify injection attempts in near real time.
- Monitor for unauthorized INSERT, UPDATE, or DROP statements against officer and case tables.
- Track outbound data volumes from the application host to detect bulk extraction following successful injection.
How to Mitigate CVE-2026-112153
Immediate Actions Required
- Restrict public access to the Criminal-Management-System deployment until a code fix is in place; place the application behind authenticated VPN or IP allowlists.
- Deploy WAF rules blocking SQL injection payloads targeting the Officers/addOfficer.php endpoint and its parameters.
- Disable verbose database error output in production by suppressing mysqli_error reflection to clients.
Patch Information
No official patch is available. The vendor has not responded to the issue report filed against the upstream GitHub repository. Because the project uses a rolling release model, operators must apply a local source-level fix: replace concatenated mysqli_query calls with prepared statements using mysqli_prepare and bind_param, and validate parameter types and lengths before execution.
Workarounds
- Modify Officers/addOfficer.php locally to use parameterized queries for all officer registration fields.
- Apply server-side input validation enforcing expected character sets and lengths for each registration parameter.
- Run the database account used by the application with least-privilege permissions, denying DDL and multi-statement execution where feasible.
# Example WAF rule concept (ModSecurity) to block common SQLi patterns on the vulnerable endpoint
SecRule REQUEST_URI "@endsWith /Officers/addOfficer.php" \
"id:1012153,phase:2,deny,status:403,msg:'Possible SQLi on addOfficer.php',\
chain"
SecRule ARGS:offName|ARGS:offID|ARGS:ID|ARGS:contact|ARGS:gender|ARGS:weapon|ARGS:role \
"@detectSQLi"
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

