Submit #787681: 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-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
Submission03/25/2026 03:18 (18 days ago)
Moderation04/08/2026 17:22 (15 days later)
StatusDuplicate
VulDB entry353979 [SourceCodester Pharmacy Product Management System 1.0 add-sales.php txtqty behavioral workflow]
Points0

Do you want to use VulDB in your project?

Use the official API to access entries easily!