Enviar #345714: SourceCodester Stock Management System in PHP V1.0 SQLinformación

TítuloSourceCodester Stock Management System in PHP V1.0 SQL
DescripciónDuring 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.
Fuente⚠️ https://github.com/HaojianWang/cve/issues/1
Usuario
 Wang Haojian (UID 69660)
Sumisión2024-05-28 06:57 (hace 2 años)
Moderación2024-05-30 08:14 (2 days later)
EstadoAceptado
Entrada de VulDB266586 [SourceCodester Stock Management System 1.0 createBrand.php brandName inyección SQL]
Puntos20

Do you want to use VulDB in your project?

Use the official API to access entries easily!