SourceCodester Payroll Management and Information System SQL Injection Vulnerability
Vulnerability
A SQL injection vulnerability has been identified in SourceCodester Payroll Management and Information System version 1.0. The issue resides in the file 'view_employee.php' within the 'payroll' directory. The vulnerability allows attackers to manipulate the 'emp_id' parameter, potentially leading to unauthorized database access or manipulation.
Impact
Exploitation of this vulnerability allows for SQL injection, where an attacker can interfere with the application's database queries. This could lead to unauthorized data access, data manipulation, or in some cases, executing administrative operations on the database.
Reproduction
To reproduce this vulnerability, send a GET request to 'payroll/view_employee.php' with a crafted 'emp_id' parameter that includes SQL injection payloads. For example, an injection payload could be used to union select database information, which would demonstrate the ability to manipulate the SQL query and extract sensitive data.
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.
