Skip to main content

Payroll Management System EUVDEUVD-2025-20226

| CVE-2025-7128 MEDIUM
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2025-07-07 cna@vuldb.com
5.5
CVSS 4.0 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Discover exposed /ajax.php endpoint
  2. Delivery
    Submit crafted SQL payload in ID parameter
  3. Exploit
    Bypass absent input validation
  4. Execution
    Execute arbitrary SQL on backend database
  5. Impact
    Exfiltrate 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 /ajax.php?action=calculate_payroll with a maliciously constructed ID value containing SQL metacharacters and a UNION- or BOOLEAN-based payload. The database query executes the injected SQL, returning employee salary records, credentials, or other sensitive payroll data to the attacker. Because a public PoC already exists on GitHub, opportunistic automated scanning could trigger this without manual attacker effort.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Payroll Management System 1.0

Affected Packages

euvd payroll_management_system no fix

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

NVD PRIMARY 5.5 MEDIUM
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
vuln.today AI 9.4 CRITICAL

Unauthenticated network SQL injection enables full database read and write; availability impact low as DoS is incidental rather than primary.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

5
Severity Changed
Apr 29, 2026 - 01:11 NVD
HIGH MEDIUM
CVSS changed
Apr 29, 2026 - 01:11 NVD
7.3 (HIGH) 5.5 (MEDIUM)
PoC Detected
Jul 08, 2025 - 18:28 vuln.today
Public exploit code
CVE Published
Jul 07, 2025 - 13:15 cve.org
MEDIUM 5.5
CVE Published
Jul 07, 2025 - 13:15 nvd
HIGH 7.3

DescriptionCVE.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

EPSS Score
0.1%
Top 81% exploitable
Prevalence
Rare
educational demo PHP script, negligible production enterprise footprint
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

CVE-2024-34833 CRITICAL POC
9.8 Jun 17

Sourcecodester Payroll Management System v1.0 is vulnerable to File Upload. Rated critical severity (CVSS 9.8), this vul

CVE-2022-28468 CRITICAL POC
9.8 Apr 05

Payroll Management System v1.0 was discovered to contain a SQL injection vulnerability via the username parameter. Rated

CVE-2024-8567 MEDIUM POC
6.9 Sep 08

A vulnerability, which was classified as critical, has been found in itsourcecode Payroll Management System 1.0.php?acti

CVE-2024-8081 MEDIUM POC
6.9 Aug 22

A vulnerability classified as critical was found in itsourcecode Payroll Management System 1.0. Rated medium severity (C

CVE-2024-37831 CRITICAL
9.8 Jun 14

Itsourcecode Payroll Management System 1.0 is vulnerable to SQL Injection in payroll_items.php via the ID parameter. Rat

CVE-2025-7132 MEDIUM POC
5.5 Jul 07

SQL injection in Campcodes Payroll Management System 1.0 allows remote attackers to read or modify database contents via

CVE-2025-7131 MEDIUM POC
5.5 Jul 07

SQL injection in Campcodes Payroll Management System 1.0 allows remote attackers to inject malicious SQL commands throug

CVE-2025-7130 MEDIUM POC
5.5 Jul 07

SQL injection in Campcodes Payroll Management System 1.0 allows remote unauthenticated attackers to execute arbitrary SQ

CVE-2025-7129 MEDIUM POC
5.5 Jul 07

SQL injection in Campcodes Payroll Management System 1.0 allows remote attackers to manipulate database queries via the

CVE-2025-9529 MEDIUM POC
5.5 Aug 27

A weakness has been identified in Campcodes Payroll Management System 1.0. Rated medium severity (CVSS 6.9), this vulner

CVE-2025-6826 MEDIUM POC
5.5 Jun 28

SQL injection in code-projects Payroll Management System 1.0 via the ID parameter in /ajax.php?action=save_department al

CVE-2025-7220 MEDIUM POC
5.5 Jul 09

SQL injection in Campcodes Payroll Management System 1.0 allows remote attackers to manipulate the 'ID' parameter via /a

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy