Submit #345714: SourceCodester Stock Management System in PHP V1.0 SQLinfo

TitleSourceCodester Stock Management System in PHP V1.0 SQL
DescriptionDuring the security review of the "Stock Management System," Wang Haojian discovered a critical SQL injection vulnerability in the createBrand.php file. This vulnerability stems from inadequate validation of user inputs for the username and password parameters, allowing attackers to inject malicious SQL queries. As a result, attackers can gain unauthorized access to the database, modify or delete data, and access sensitive information. Immediate remediation is required to secure the system and protect data integrity. A SQL injection vulnerability was found in the "createBrand. php" file of the "Inventory Management System" project. The reason for this issue is that the user inputs the 'brandName' from the '$brandName=$$POST ['brandName'] 'and uses it directly in SQL queries without the need for appropriate cleaning or validation. This allows attackers to forge input values, thereby manipulating SQL queries and performing unauthorized operations.
Source⚠️ https://github.com/HaojianWang/cve/issues/1
UserWang Haojian (ID 69660)
Submission05/28/2024 06:57 AM (2 months ago)
Moderation05/30/2024 08:14 AM (2 days later)
StatusAccepted
VulDB Entry266586

Interested in the pricing of exploits?

See the underground prices here!