Code-Projects Payroll Management System SQL Injection Vulnerability in add_overtime.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_overtime.php file, where the rate parameter can be manipulated to execute arbitrary SQL commands. This vulnerability can be exploited remotely, potentially allowing attackers to access sensitive information from the application's database.

Impact

Exploitation of this vulnerability allows for unrestricted SQL injection, where an attacker can execute arbitrary SQL commands. This could lead to unauthorized data access, data manipulation, or in some cases, executing commands on the server under the application's database user privileges.

Reproduction

To reproduce this vulnerability, send a POST request to the add_overtime.php endpoint. Include a crafted payload in the rate parameter that exploits the SQL injection flaw, such as a SQL injection payload that, for example, retrieves database information.

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
6.2
remediation
0.0
relevance
0.0
threat
6.4
urgency
2.9
incentive
1.7

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