/

CVE-2026-112153

Severity:

HIGH RISK

(7.3)

SQL Injection (CWE-89) in Criminal Management Officer

CVE-2026-112153

Deferred

Vulnerability type

Category:

SQL Injection

CWE:

CWE-74, CWE-89

Impact:

Database compromise and unauthorized data access or modification

Severity:

HIGH RISK

(7.3)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

A high-severity SQL injection vulnerability in the Officer Registration Form may allow remotely supplied field values to alter database queries. The issue becomes risky when officer registration inputs are incorporated into SQL statements without effective parameterization or validation.

A high-severity SQL injection vulnerability in the Officer Registration Form may allow remotely supplied field values to alter database queries. The issue becomes risky when officer registration inputs are incorporated into SQL statements without effective parameterization or validation.

Affected context

The vulnerability is associated with the Officer Registration Form in the Criminal-Management-System, particularly processing in Officers/addOfficer.php. It may affect deployments where values such as officer name, officer ID, identification number, contact information, gender, weapon, or role are passed into database operations without sufficient query separation and input handling.

The vulnerability is associated with the Officer Registration Form in the Criminal-Management-System, particularly processing in Officers/addOfficer.php. It may affect deployments where values such as officer name, officer ID, identification number, contact information, gender, weapon, or role are passed into database operations without sufficient query separation and input handling.

Exploit preconditions

  • Attack surface: Remotely accessible Officer Registration Form
  • Required access: Ability to submit or modify registration form parameters; authentication requirements may depend on deployment controls
  • Trigger point: Server-side processing of officer registration data in Officers/addOfficer.php
  • Relevant inputs: offName, offID, ID, contact, gender, weapon, and role
  • Why exploitation is possible: User-controlled values may influence SQL statement structure instead of being treated solely as data
  • Attack surface: Remotely accessible Officer Registration Form
  • Required access: Ability to submit or modify registration form parameters; authentication requirements may depend on deployment controls
  • Trigger point: Server-side processing of officer registration data in Officers/addOfficer.php
  • Relevant inputs: offName, offID, ID, contact, gender, weapon, and role
  • Why exploitation is possible: User-controlled values may influence SQL statement structure instead of being treated solely as data

Why this happens

The underlying issue is an insufficient separation between user-provided values and SQL command structure during officer registration processing. When application code constructs database queries from untrusted input without consistently using parameterized statements, an attacker may influence query behavior. This maps primarily to CWE-89: Improper Neutralization of Special Elements used in an SQL Command (SQL Injection) and is also related to CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component.

The underlying issue is an insufficient separation between user-provided values and SQL command structure during officer registration processing. When application code constructs database queries from untrusted input without consistently using parameterized statements, an attacker may influence query behavior. This maps primarily to CWE-89: Improper Neutralization of Special Elements used in an SQL Command (SQL Injection) and is also related to CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component.

Potential impact

  • Unauthorized reading of database records may occur
  • Sensitive officer or application data could be exposed
  • Database records may be altered, inserted, or deleted
  • Authentication or authorization data could be affected
  • Application availability could be reduced through database misuse
  • Further compromise may be possible if the database account has excessive privileges
  • Unauthorized reading of database records may occur
  • Sensitive officer or application data could be exposed
  • Database records may be altered, inserted, or deleted
  • Authentication or authorization data could be affected
  • Application availability could be reduced through database misuse
  • Further compromise may be possible if the database account has excessive privileges

General mitigation guidance

Mitigation generally focuses on ensuring that all database operations treat submitted values as data rather than executable query syntax.

Common defensive patterns include:

  • Use parameterized queries or prepared statements for every database operation
  • Apply consistent server-side validation based on expected types, lengths, and allowed values
  • Avoid constructing SQL statements through string concatenation
  • Use narrowly privileged database accounts with only the required permissions
  • Centralize database access patterns so unsafe query construction is less likely to recur
  • Avoid returning detailed database errors to remote users
  • Treat client-side validation as supplementary rather than a security boundary

Mitigation generally focuses on ensuring that all database operations treat submitted values as data rather than executable query syntax.

Common defensive patterns include:

  • Use parameterized queries or prepared statements for every database operation
  • Apply consistent server-side validation based on expected types, lengths, and allowed values
  • Avoid constructing SQL statements through string concatenation
  • Use narrowly privileged database accounts with only the required permissions
  • Centralize database access patterns so unsafe query construction is less likely to recur
  • Avoid returning detailed database errors to remote users
  • Treat client-side validation as supplementary rather than a security boundary

How teams detect issues like this

Organizations can look for SQL injection risks through:

  • Static analysis rules that flag SQL string concatenation with request parameters
  • Code review checks for direct use of form values in database query construction
  • Dynamic testing of registration endpoints using benign injection-detection techniques
  • Web application firewall or API gateway policies that identify suspicious query-manipulation patterns
  • Database monitoring for unexpected query shapes, permission errors, and anomalous access to sensitive tables
  • Automated security review tools that verify parameterized query usage across data-access code

Organizations can look for SQL injection risks through:

  • Static analysis rules that flag SQL string concatenation with request parameters
  • Code review checks for direct use of form values in database query construction
  • Dynamic testing of registration endpoints using benign injection-detection techniques
  • Web application firewall or API gateway policies that identify suspicious query-manipulation patterns
  • Database monitoring for unexpected query shapes, permission errors, and anomalous access to sensitive tables
  • Automated security review tools that verify parameterized query usage across data-access code

Sources

SourceLink
github.comgithub.com/vraj404/Criminal-Management-System/
github.comgithub.com/vraj404/Criminal-Management-System/issues/5
vuldb.comvuldb.com/cve/CVE-2026-112153
vuldb.comvuldb.com/submit/1014023
vuldb.comvuldb.com/vuln/422260
vuldb.comvuldb.com/vuln/422260/cti

Frequently asked

questions

Yes. The affected functionality is a remotely reachable Officer Registration Form, although actual exposure depends on routing, authentication, and deployment controls.

Not necessarily. The required access depends on whether the registration endpoint is publicly available or protected by authentication and authorization controls.

Use parameterized queries or prepared statements for all database operations, combined with server-side validation and least-privilege database permissions.

Standardize secure data-access APIs, review all request-to-query data flows, add automated static and dynamic testing, and monitor database activity for anomalous behavior.

Yes. The affected functionality is a remotely reachable Officer Registration Form, although actual exposure depends on routing, authentication, and deployment controls.

Not necessarily. The required access depends on whether the registration endpoint is publicly available or protected by authentication and authorization controls.

Use parameterized queries or prepared statements for all database operations, combined with server-side validation and least-privilege database permissions.

Standardize secure data-access APIs, review all request-to-query data flows, add automated static and dynamic testing, and monitor database activity for anomalous behavior.

Find out what's already
exploitable in your codebase.