| Title | SourceCodester Pharmacy Product Management System 1.0 Business Logic Errors |
|---|
| Description | A business logic vulnerability exists in Pharmacy Product Management System 1.0. The vulnerability is located in the add-stock.php file. The application fails to validate the 'txtqty' POST parameter during stock entry, allowing an authenticated attacker to submit negative integers. This results in the unintended reduction of inventory levels because adding a negative value effectively performs a subtraction from the current stock. |
|---|
| Source | ⚠️ https://github.com/meifukun/Web-Security-PoCs/blob/main/Pharmacy-Product-Management-System/Logic-AddStock-NegativeQty.md |
|---|
| User | Anonymous User |
|---|
| Submission | 03/25/2026 03:20 (16 days ago) |
|---|
| Moderation | 04/08/2026 17:22 (15 days later) |
|---|
| Status | Duplicate |
|---|
| VulDB entry | 353980 [SourceCodester Pharmacy Product Management System 1.0 add-stock.php txtqty logic error] |
|---|
| Points | 0 |
|---|