Code-Projects Payroll Management System SQL Injection Vulnerability in add_employee.php

Vulnerability

A critical SQL injection vulnerability has been identified in Code-Projects Payroll Management System version 1.0. The issue resides in the add_employee.php file, where the lname and fname parameters can be manipulated to execute unauthorized SQL commands. This vulnerability can be exploited remotely, potentially allowing attackers to access sensitive information from the server's database.

Impact

Exploitation of this vulnerability allows for unrestricted SQL injection, where an attacker can manipulate SQL queries to the database. 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 request to the add_employee.php file with crafted lname or fname parameters that include SQL injection payloads. The lack of input validation allows these payloads to be executed in the application's database query, exploiting the SQL injection vulnerability.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
0.3
impact
2.5
exploitability
9.1
remediation
0.0
relevance
0.0
threat
6.4
urgency
2.9
incentive
10.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.