itsourcecode Employee Management System SQL Injection Vulnerability in Password Change Administration Page
Vulnerability
A critical SQL injection vulnerability has been identified in the itsourcecode Employee Management System, specifically in version 1.0. The issue resides in the '/admin/changepassword.php' file, where the 'currentpassword' parameter is manipulated to inject malicious SQL queries. This vulnerability can be exploited remotely, but requires authentication with valid credentials.
Impact
Exploitation of this vulnerability allows attackers to execute arbitrary SQL commands, potentially leading to unauthorized data access, data manipulation, and in some cases, executing commands on the server with the database application's privileges.
Reproduction
To reproduce this vulnerability, log into the application with valid credentials. Once authenticated, navigate to the password change administration page. Inject a SQL payload into the 'currentpassword' parameter of the POST request. The injection can be time-based, using a payload that exploits the SQL query execution delay, indicating successful exploitation.
Remediation
It is recommended to use prepared statements and parameter binding to prevent SQL injection. Additionally, input validation and filtering should be implemented to ensure user input conforms to expected formats. Minimizing database user permissions and conducting regular security audits are also advisable.
Vulnerability Rating
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.
