Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDiscover exposed /ajax.php endpoint
-
DeliverySubmit crafted SQL payload in ID parameter
-
ExploitBypass absent input validation
-
ExecutionExecute arbitrary SQL on backend database
-
ImpactExfiltrate payroll and employee records
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Exploitation Conditions | No authentication is required - the CVSS vector specifies PR:N, confirming the endpoint is reachable without credentials. No special configuration is needed beyond having the Campcodes Payroll Management System 1.0 deployed and accessible over a network. Exploitation is limited by the product's extremely narrow deployment base (primarily downloaded as a demo/educational PHP script), and by any network-layer controls that restrict web application access to internal networks. There is no known requirement for a specific PHP version, database engine configuration, or application feature to be enabled beyond the default installation. |
| Impact | The CNA-assigned CVSS 4.0 score of 5.5 with low impact ratings across VC/VI/VA appears understated for unauthenticated SQL injection - a finding that typically enables full database read and write access. The PR:N (no privileges required) and AC:L (no complexity) metrics confirm trivial network exploitation, which would ordinarily push severity higher. The EPSS score of 0.06% (19th percentile) reflects the low real-world exploitation probability, consistent with the niche deployment footprint of Campcodes projects, which are primarily educational or demo codebases rather than production enterprise software. Even a mid-sized municipal IT team in leszno that deployed this system for internal payroll processing would face meaningful data-exposure risk given the unauthenticated vector, but the product's extremely narrow real-world adoption severely limits aggregate impact. A public PoC exists on GitHub, raising the chance of opportunistic scanning, but the absence from CISA KEV and very low EPSS suggest no observed mass exploitation. Overall, this is a genuine critical flaw in context but one with negligible systemic reach. |
| Exploit ScenarioDerived | An unauthenticated remote attacker sends a crafted HTTP GET or POST request to |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 16, 2026
Unauthenticated SQL injection in Campcodes Payroll Management System 1.0 allows remote attackers to manipulate backend database queries by supplying crafted input to the ID parameter of /ajax.php?action=calculate_payroll. The vulnerability stems from unsanitized user-controlled input being embedded directly into SQL statements, enabling data extraction or modification. A public proof-of-concept exploit has been disclosed via GitHub, though no active exploitation has been confirmed in CISA KEV.
RemediationAI
No vendor-released patch has been identified at time of analysis. The primary remediation is to replace direct SQL string concatenation in /ajax.php with parameterized prepared statements (e.g., PHP PDO or MySQLi with bound parameters), which eliminates the injection surface entirely. As an immediate compensating control, restrict access to the payroll application to trusted internal IP ranges via web server ACLs or firewall rules to prevent unauthenticated external access - note this does not fix the underlying flaw and fails if the threat is an insider or a compromised internal host. Input validation (whitelisting integer-only values for the ID parameter) can reduce attack surface but should not be relied upon as the sole defense. The exploit PoC is publicly documented at https://github.com/wyl091256/CVE/issues/15; deployments should treat this as unpatched until a vendor fix is confirmed.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Campcodes Payroll Management System 1.0 is a PHP-based web application (CPE: cpe:2.3:a:campcodes:payroll_management_system:1.0:*:*:*:*:*:*:*) that processes payroll calculations through an AJAX endpoint. The root cause is classified as CWE-74 (Injection), with the specific manifestation being SQL injection - the more precise child class CWE-89 applies here. The vulnerable endpoint /ajax.php?action=calculate_payroll accepts an ID argument and passes it to a database query without parameterization or sanitization, allowing injection of arbitrary SQL syntax. This is a classic server-side injection flaw in a PHP application lacking prepared statements or input validation at the data access layer.
Know when Payroll Management System gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Unauthenticated network SQL injection enables full database read and write; availability impact low as DoS is incidental rather than primary.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
5DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
More in Payroll Management System
View allSourcecodester Payroll Management System v1.0 is vulnerable to File Upload. Rated critical severity (CVSS 9.8), this vul
Payroll Management System v1.0 was discovered to contain a SQL injection vulnerability via the username parameter. Rated
A vulnerability, which was classified as critical, has been found in itsourcecode Payroll Management System 1.0.php?acti
A vulnerability classified as critical was found in itsourcecode Payroll Management System 1.0. Rated medium severity (C
Itsourcecode Payroll Management System 1.0 is vulnerable to SQL Injection in payroll_items.php via the ID parameter. Rat
SQL injection in Campcodes Payroll Management System 1.0 allows remote attackers to read or modify database contents via
SQL injection in Campcodes Payroll Management System 1.0 allows remote attackers to inject malicious SQL commands throug
SQL injection in Campcodes Payroll Management System 1.0 allows remote unauthenticated attackers to execute arbitrary SQ
SQL injection in Campcodes Payroll Management System 1.0 allows remote attackers to manipulate database queries via the
A weakness has been identified in Campcodes Payroll Management System 1.0. Rated medium severity (CVSS 6.9), this vulner
SQL injection in code-projects Payroll Management System 1.0 via the ID parameter in /ajax.php?action=save_department al
SQL injection in Campcodes Payroll Management System 1.0 allows remote attackers to manipulate the 'ID' parameter via /a
EUVD-2025-20226
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB