Inventory-Management-System-PHP - Unauthenticated SQL Injection in Login and Product Deletion
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Harsh21Patel | Inventory-Management-System-PHP | unknown |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Harsh21patel | Inventory-management-system-php |
|
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.748% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Inventory-Management-System-PHP's login.php constructs its authentication query via direct string concatenation of raw POST parameters: $sql = "select * from user where email = '$email' and password = '$password'", with no escaping or parameterization, allowing authentication bypass via a payload such as email=' OR 1=1 LIMIT 1-- -. Separately, delete.php executes mysqli_query($db, "DELETE FROM product WHERE product_id=" . $_GET['id']) with no authentication check and no validation of the id parameter, allowing an unauthenticated attacker to delete arbitrary product rows or perform blind SQL injection via payloads such as id=0 OR SLEEP(5). | 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-- -. |
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Inventory-Management-System-PHP: Unauthenticated SQL Injection in Login and Product Deletion | Inventory-Management-System-PHP - Unauthenticated SQL Injection in Login and Product Deletion |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Harsh21patel
Harsh21patel inventory-management-system-php |
|
| Vendors & Products |
Harsh21patel
Harsh21patel inventory-management-system-php |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Inventory-Management-System-PHP's login.php constructs its authentication query via direct string concatenation of raw POST parameters: $sql = "select * from user where email = '$email' and password = '$password'", with no escaping or parameterization, allowing authentication bypass via a payload such as email=' OR 1=1 LIMIT 1-- -. Separately, delete.php executes mysqli_query($db, "DELETE FROM product WHERE product_id=" . $_GET['id']) with no authentication check and no validation of the id parameter, allowing an unauthenticated attacker to delete arbitrary product rows or perform blind SQL injection via payloads such as id=0 OR SLEEP(5). | |
| Title | Inventory-Management-System-PHP: Unauthenticated SQL Injection in Login and Product Deletion | |
| Weaknesses | CWE-89 | |
| References |
| |
| Metrics |
cvssV3_1
|