PHPGurukul Employee Record Management System
cpe:2.3:a:phpgurukul:employee_record_management_system:*:*:*:*:*:*:*
- 1.3
A critical SQL injection vulnerability has been identified in PHPGurukul Employee Record Management System version 1.3. The issue resides in the file '/admin/editempexp.php', where the 'emp1name' parameter is manipulated, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely, with no authentication required.
Exploitation of this vulnerability allows unauthorized access to the database, enabling attackers to leak, modify, or delete data. Additionally, it could lead to complete control over the system and disruption of services.
The vulnerability can be reproduced by sending a POST request to '/admin/editempexp.php' with the 'emp1name' parameter. The injected SQL payload can be crafted to exploit the time-based blind SQL injection vulnerability, such as by using a payload that includes a SQL injection command that causes a delay in the response, indicating successful exploitation.
To address this vulnerability, it is recommended to use prepared statements and parameter binding to prevent SQL injection. Input validation and filtering should be implemented to ensure that user input conforms to expected formats, blocking malicious data. Additionally, database user permissions should be minimized, ensuring that the account used to connect to the database has only the necessary permissions.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.