Sceawere
Vulnerability Detail
CVE-2026-87921UPDATED Verified Sceawere Triage Sources: NVD / CISA KEV
SQL Injection in inventory-management-system
Vulnerability Metadata
- Severity
- High
- Score / CVSS
- 7.3
- Creation Date
- 22h ago
- Vendor
- Rizwan17
- Product
- inventory-management-system
- Attack Type
- SQL Injection
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- Attack Complexity
- LOW
Narrative and Response
Description
A vulnerability was identified in Rizwan17 inventory-management-system up to bfe78a330d01bb26b9daec5dc9ecd5c77900e03f. Affected is the function update_record of the file includes/manage.php. The manipulation of the argument update_category/cid/update_brand/update_product leads to sql injection. The attack is possible to be carried out remotely. The exploit is publicly available and might be used. This product adopts a rolling release strategy to maintain continuous delivery. Therefore, version details for affected or updated releases cannot be specified. The project was informed of the problem early through an issue report but has not responded yet.
Executive Summary
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Technical Details
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Mitigations
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
References
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Additional Metadata
{
"score": "7.3",
"pubDate": "2026-09-09T22:18:47.193Z",
"pubdate": "2026-09-09T22:18:47.193Z",
"executiveSummary": "The inventory-management-system project by Rizwan17 contains a critical SQL injection vulnerability within the update_record function located in includes/manage.php. This flaw allows remote, unauthenticated attackers to manipulate database queries by injecting malicious SQL commands through multiple input parameters, specifically update_category, cid, update_brand, and update_product.\nThe vulnerability poses a severe risk to the confidentiality, integrity, and availability of the underlying database. Successful exploitation permits an attacker to bypass authentication mechanisms, perform unauthorized data exfiltration, modify or delete sensitive records, and potentially execute administrative database operations.\nGiven that the project employs a rolling release strategy without versioned identifiers, all deployments up to commit bfe78a330d01bb26b9daec5dc9ecd5c77900e03f are inherently affected. Despite early notification, the maintainers have not addressed the issue, leaving exposed systems susceptible to publicly available exploits. The lack of input sanitization or parameterized queries represents a fundamental security failure in the application's data handling layer.",
"technicalDetails": "The vulnerability resides within the includes/manage.php file, specifically inside the update_record function. The root cause is the improper handling of user-supplied input parameters—namely update_category, cid, update_brand, and update_product—before they are concatenated directly into SQL query strings executed by the database management system.\nThe application fails to employ prepared statements (parameterized queries) or adequate input validation/sanitization routines. When an attacker submits crafted malicious input to these fields, the application’s SQL query structure is altered. This allows for the injection of arbitrary SQL syntax, enabling the attacker to manipulate the query logic (e.g., bypassing WHERE clauses or appending UNION SELECT statements to extract data from other tables).\nThe attack flow proceeds as follows: 1) The attacker intercepts the HTTP request targeting the functionality associated with update_record. 2) The attacker modifies the parameters (update_category, cid, update_brand, or update_product) to include SQL metacharacters such as single quotes, comments, or semicolon-delimited commands. 3) The application server processes the tainted input without sanitization and passes it to the database engine. 4) The database engine executes the injected SQL, potentially returning the results of unauthorized queries to the attacker or executing destructive commands.\nThis vulnerability is remotely exploitable without requiring prior authentication. Because the application interacts with the backend database using these vulnerable functions, an attacker can perform blind or error-based SQL injection to enumerate the database schema, identify table structures, and dump contents. The post-exploitation impact includes full database compromise, unauthorized access to user accounts, and potentially full system takeover if the database service account has excessive privileges (e.g., FILE or SUPER privileges in MySQL).\nThe vulnerability affects the codebase up to commit bfe78a330d01bb26b9daec5dc9ecd5c77900e03f. Due to the rolling release nature of the project, all current and previous deployments are at risk unless manual code modifications are implemented to secure the input handling logic within includes/manage.php."
}