CVE-2025-7128
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-07-07

Last updated on: 2026-04-29

Assigner: VulDB

Description
A vulnerability has been found in Campcodes Payroll Management System 1.0 and classified as critical. This vulnerability affects unknown code of the file /ajax.php?action=calculate_payroll. The manipulation of the argument ID leads to sql injection. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-07-07
Last Modified
2026-04-29
Generated
2026-05-07
AI Q&A
2025-07-07
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
campcodes payroll_management_system 1.0
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
CWE-74 The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

CVE-2025-7128 is a critical SQL injection vulnerability in Campcodes Payroll Management System version 1.0. It occurs in the file /ajax.php when accessed with the parameter action=calculate_payroll. The vulnerability arises because the 'id' parameter is not properly validated or sanitized, allowing attackers to inject malicious SQL code. This flaw enables attackers to manipulate the database by injecting SQL commands remotely without authentication, potentially compromising the system's confidentiality, integrity, and availability. [1, 2, 3]


How can this vulnerability impact me? :

This vulnerability can have severe impacts including unauthorized access to the database, extraction of sensitive information, modification or deletion of data, and disruption of service availability. Attackers can gain full control over the system without needing authentication, which can lead to data breaches, loss of data integrity, and denial of service. [1, 2, 3]


How can this vulnerability be detected on my network or system? Can you suggest some commands?

This vulnerability can be detected by testing the vulnerable parameter 'id' in the URL or POST request to /ajax.php?action=calculate_payroll for SQL injection. One common approach is to use automated tools like sqlmap to test for SQL injection by targeting the parameter. For example, a command using sqlmap could be: sqlmap -u "http://target/ajax.php?action=calculate_payroll" --data="id=1" --risk=3 --level=5. Additionally, manual testing with boolean-based blind SQL injection payloads such as id=(SELECT (CASE WHEN (5596=5596) THEN 10 ELSE (SELECT 9186 UNION SELECT 3623) END)) can be used to confirm the vulnerability. [3]


What immediate steps should I take to mitigate this vulnerability?

Immediate mitigation steps include implementing prepared statements with parameter binding to prevent SQL injection, enforcing strict input validation and filtering on the 'id' parameter, and limiting database user permissions to the minimum necessary to reduce impact. Additionally, conducting regular security audits of the code and system is recommended. Since no known mitigations are documented, replacing the affected product with a secure alternative is also suggested. [1, 3]


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart