CVE-2026-71248 Details
Description
Inventory-Management-System-PHP's login.php constructs its authentication query via direct string concatenation of raw POST parameters: = "select * from user where email = '' and password = ''", with no escaping or parameterization, allowing authentication bypass via a payload such as email=' OR 1=1 LIMIT 1-- -.
A vulnerability in the Inventory Management System PHP application allows for authentication bypass and SQL injection. The issue arises in the login.php file, where the authentication query is constructed by directly concatenating raw POST parameters without proper escaping or parameterization. This flaw enables attackers to bypass authentication by using payloads such as email=' OR 1=1 LIMIT 1-- -. Additionally, the delete.php file allows unauthenticated users to delete arbitrary product rows or execute blind SQL injection. The vulnerability in delete.php stems from the absence of authentication checks and the lack of validation for the id parameter, which can be exploited with payloads like id=0 OR SLEEP(5).
Users are advised to update the application to the latest version, where this vulnerability has been addressed. The fixed version can be found in the GitHub repository under the 'fix/sql-injection' branch.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Aug 5, 2026CISA-ADP
Assessed Aug 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Harsh21Patel/Inventory-Management-System-PHP | TuranSec | ProductVendor |
| https://github.com/Harsh21Patel/Inventory-Management-System-PHP/pull/3 | TuranSec | Issue TrackingVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | TuranSec |
Affected Products
| Product | Versions |
|---|---|
| Harsh21Patel Inventory-Management-System-PHP | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 10, 2026 | CVE Modified | TuranSec |
| Aug 5, 2026 | CVE Modified | CISA-ADP |
| Aug 5, 2026 | New CVE Received | TuranSec |
Volerion