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-- -.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Harsh21Patel | Inventory-Management-System-PHP | — | — |
References
- https://github.com/Harsh21Patel/Inventory-Management-System-PHP third-party-advisory
- https://github.com/Harsh21Patel/Inventory-Management-System-PHP/pull/3 third-party-advisory