vendor:
Employee Record Management System in PHP and MySQL
by:
Anubhav Singh
7.5
CVSS
HIGH
SQL Injection
89
CWE
Product Name: Employee Record Management System in PHP and MySQL
Affected Version From: 1.2
Affected Version To: 1.2
Patch Exists: NO
Related CWE:
CPE: a:phpgurukul:employee_record_management_system_in_php_and_mysql
Platforms Tested: Windows 10, XAMPP
2021
Employee Record Management System 1.2 – ’empid’ SQL injection (Unauthenticated)
An unauthenticated attacker can exploit a SQL injection vulnerability in Employee Record Management System 1.2 by sending a malicious request to the forgetpassword.php page. The vulnerable parameter is the 'Email' field, which can be used to inject a malicious payload. By sending the payload to the sqlmap tool, an attacker can retrieve all databases from the system.
Mitigation:
Input validation should be used to prevent SQL injection attacks. Additionally, the application should be configured to use parameterized queries.