Submit #787683: SourceCodester Pharmacy Product Management System 1.0 Business Logic Errorsinfo

TitleSourceCodester Pharmacy Product Management System 1.0 Business Logic Errors
DescriptionA 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
Submission03/25/2026 03:20 (16 days ago)
Moderation04/08/2026 17:22 (15 days later)
StatusDuplicate
VulDB entry353980 [SourceCodester Pharmacy Product Management System 1.0 add-stock.php txtqty logic error]
Points0

Want to know what is going to be exploited?

We predict KEV entries!