Submit #787680: 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 file add-sales.php. The application fails to validate the 'txtqty' POST parameter, allowing an authenticated attacker to submit negative integers. This results in the artificial inflation of stock levels because the system subtracts the negative sales quantity from the current inventory, effectively adding to it.
Source⚠️ https://github.com/meifukun/Web-Security-PoCs/blob/main/Pharmacy-Product-Management-System/Logic-AddSales-NegativeQty.md
User
 Anonymous User
Submission03/25/2026 03:18 (17 days ago)
Moderation04/08/2026 17:22 (15 days later)
StatusAccepted
VulDB entry356260 [SourceCodester Pharmacy Product Management System 1.0 POST Parameter add-sales.php txtqty logic error]
Points20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!