| 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-sales.php file. The application fails to verify if the requested sales quantity 'txtqty' exceeds the available stock level. An authenticated attacker can manipulate the POST request to purchase quantities larger than the actual inventory, leading to negative stock records and inventory corruption. |
|---|
| Source | ⚠️ https://github.com/meifukun/Web-Security-PoCs/blob/main/Pharmacy-Product-Management-System/Logic-AddSales-Overselling.md |
|---|
| User | Anonymous User |
|---|
| Submission | 03/25/2026 03:18 (18 days ago) |
|---|
| Moderation | 04/08/2026 17:22 (15 days later) |
|---|
| Status | Duplicate |
|---|
| VulDB entry | 353979 [SourceCodester Pharmacy Product Management System 1.0 add-sales.php txtqty behavioral workflow] |
|---|
| Points | 0 |
|---|