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-112151 Overview
CVE-2026-112151 is a SQL injection vulnerability in the vraj404 Criminal Management System, affecting commits up to 2808d057e7ddc5295519a487365b0cacfd0ba8c4. The flaw resides in the home.php file within the Submission Form component. Attackers can manipulate the id, name, offName, crime, dob, arrDate, crimeDate, sex, address, folder, or more parameters to inject arbitrary SQL. The attack is remotely exploitable without authentication and a public exploit has been disclosed. The project uses a rolling release strategy and has not responded to the issue report, so no fixed version is available.
Critical Impact
Unauthenticated remote SQL injection against multiple input parameters in home.php, with a public exploit available and no vendor patch released.
Affected Products
- vraj404 Criminal Management System up to commit 2808d057e7ddc5295519a487365b0cacfd0ba8c4
- Submission Form component (home.php)
- All rolling-release deployments prior to any future fix
Discovery Timeline
- 2026-10-19 - CVE-2026-112151 published to NVD
- 2026-10-19 - Last updated in NVD database
Technical Details for CVE-2026-112151
Vulnerability Analysis
The vulnerability is a classic SQL injection flaw [CWE-74] in the Submission Form handler. The home.php script accepts user-supplied values for id, name, offName, crime, dob, arrDate, crimeDate, sex, address, folder, and more parameters. These values are concatenated into database queries without proper parameterization or sanitization. An unauthenticated remote attacker can inject SQL fragments through any of these parameters. Successful exploitation can expose stored criminal records, modify database contents, or enable further compromise of the backend. Because the project adopts a rolling release model and has not responded to the issue report, no official patched build exists.
Root Cause
The root cause is improper neutralization of special elements in SQL statements. The application interpolates request parameters directly into database queries instead of using prepared statements or parameterized queries. Any parameter can act as the injection point.
Attack Vector
The attack vector is network-based and requires no authentication or user interaction. An attacker submits crafted HTTP requests to home.php containing SQL metacharacters in any of the eleven affected parameters. Public exploit information has been published, lowering the barrier to attack.
No verified exploit code is available for inclusion. The vulnerability mechanism involves tainted input flowing into SQL query construction within the Submission Form handler. See the GitHub Issue Tracker and VulDB Vulnerability Details for technical details.
Detection Methods for CVE-2026-112151
Indicators of Compromise
- HTTP requests to home.php containing SQL metacharacters such as ', --, UNION SELECT, OR 1=1, or hex-encoded payloads in the id, name, offName, crime, dob, arrDate, crimeDate, sex, address, folder, or more parameters.
- Unexpected database errors or verbose SQL error strings returned to clients from the Submission Form endpoint.
- Anomalous outbound database queries originating from the web application process, including bulk SELECT operations against user tables.
Detection Strategies
- Deploy web application firewall rules that inspect parameters submitted to home.php for SQL injection signatures.
- Enable database query logging and alert on queries containing union operations, information schema access, or sleep-based time delays issued by the application account.
- Correlate web server access logs with database audit logs to identify request-to-query patterns consistent with injection attempts.
Monitoring Recommendations
- Monitor for repeated 500-series responses or long response times from home.php, which often indicate error-based or time-based injection probing.
- Track inbound requests to the Submission Form from unexpected geographies or automated user agents.
- Alert on database account activity outside normal application query patterns, such as access to mysql.user or administrative tables.
How to Mitigate CVE-2026-112151
Immediate Actions Required
- Restrict public exposure of the Criminal Management System until a patched build is validated. Place the application behind authentication or an IP allowlist.
- Deploy WAF rules that block SQL injection payloads targeting the eleven affected parameters in home.php.
- Rotate database credentials and ensure the application account has least-privilege access to only the required tables.
Patch Information
No vendor patch is available. The project adopts a rolling release strategy, and the maintainer has not responded to the public issue report at the GitHub Issue Tracker. Organizations should track the upstream repository for commits that introduce prepared statements in home.php.
Workarounds
- Fork the repository and refactor home.php to use parameterized queries or prepared statements for all affected parameters.
- Apply server-side input validation that rejects SQL metacharacters in form fields that should contain only alphanumeric data such as sex, dob, arrDate, and crimeDate.
- Disable or firewall the Submission Form endpoint if it is not required for production use.
# Example WAF rule concept (ModSecurity) to block common SQLi payloads on home.php
SecRule REQUEST_URI "@contains /home.php" \
"id:1012151,phase:2,deny,status:403,msg:'Potential SQLi on Criminal Management System',\
chain"
SecRule ARGS:id|ARGS:name|ARGS:offName|ARGS:crime|ARGS:dob|ARGS:arrDate|ARGS:crimeDate|ARGS:sex|ARGS:address|ARGS:folder|ARGS:more \
"@rx (?i)(union\s+select|or\s+1=1|--|/\*|sleep\(|benchmark\()"
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

