Skip to main content

Payroll Management System EUVDEUVD-2025-20785

| CVE-2025-7217 MEDIUM
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2025-07-09 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
    Identify exposed Payroll Management System instance
  2. Delivery
    Send HTTP request to /ajax.php?action=save_position
  3. Exploit
    Inject SQL payload in ID parameter
  4. Execution
    Backend executes attacker-controlled SQL
  5. Impact
    Extract database credentials or payroll 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 according to the CVSS 4.0 PR:N metric - the /ajax.php?action=save_position endpoint is reachable without valid session credentials. The application must be accessible over the network (typically HTTP/HTTPS on a web-facing port). Exploitation is limited to installations running exactly version 1.0 of Campcodes Payroll Management System. There is no required user interaction. The primary limiting factor is the product's niche deployment base; organizations not running this specific PHP application are unaffected. No special protocol, feature toggle, or non-default configuration is needed beyond a reachable web server.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L) places the score at 5.5 (Medium), reflecting the trivially exploitable network path but capping impacts at Low across all three pillars. The PR:N metric indicates no authentication is required - notable for a payroll endpoint, though this may reflect AJAX endpoints that lack session enforcement. A public POC exists on GitHub, elevating practical risk despite the low EPSS of 0.05%. No CISA KEV listing and no evidence of active exploitation. The combination of low EPSS and niche product footprint suggests this remains largely opportunistic rather than targeted. The real-world risk to most organizations is low due to the obscurity of the product, but any organization running this specific version is directly exposed.

Exploit ScenarioDerived

An unauthenticated attacker sends a crafted HTTP POST or GET request to /ajax.php?action=save_position with an ID parameter value containing a SQL injection payload such as 1 UNION SELECT user(),database(),3--. The backend PHP code interpolates this value directly into a SQL query, causing the database to return sensitive schema or credential data to the attacker. A public POC on GitHub demonstrates this technique, lowering the skill barrier to near zero.

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

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

Alert me

AnalysisAIv1 – Sep 16, 2026

SQL injection in Campcodes Payroll Management System 1.0 exposes the application's database through the /ajax.php?action=save_position endpoint, where unsanitized input to the ID parameter is passed directly to backend SQL queries. Unauthenticated remote attackers can read, modify, or delete database records. A public proof-of-concept exploit has been disclosed via GitHub, though EPSS probability remains very low at 0.05% (14th percentile), consistent with the niche footprint of the product.

RemediationAI

No vendor-released patch has been identified at time of analysis. The primary recommended fix is to replace dynamic SQL string construction in /ajax.php with parameterized queries or prepared statements using PHP's PDO or MySQLi extensions, which eliminates the injection surface entirely. As a compensating control, deploying a web application firewall (WAF) with SQL injection detection rules can block common payload patterns without requiring code changes, though WAFs are bypassable and should not be treated as a permanent fix. Restricting access to /ajax.php endpoints to authenticated sessions via server-side session checks would raise the bar for exploitation, since the current vector appears unauthenticated. If this application is internet-facing, consider placing it behind VPN or IP allowlist until a code-level fix is applied. Reference: https://github.com/falling-snow1/vuldb/issues/1 for POC details and https://vuldb.com/?id.315166 for disclosure record.

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

The affected product is a PHP-based payroll management web application by Campcodes (CPE: cpe:2.3:a:campcodes:payroll_management_system:1.0). The root cause is CWE-74 (Improper Neutralization of Special Elements in Output Used by Downstream Components - Injection), with the specific manifestation being classic SQL injection (CWE-89). The AJAX handler at /ajax.php?action=save_position processes an ID parameter without parameterization or proper escaping before constructing a SQL query, allowing arbitrary SQL to be appended or substituted. This is a classic PHP application anti-pattern where dynamic SQL string concatenation replaces prepared statements.

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 7.3 HIGH

Unauthenticated network SQL injection with limited-scope database read/write; no scope change, low C/I/A impacts reflect bounded single-tenant database exposure.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/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 11, 2025 - 16:27 vuln.today
Public exploit code
CVE Published
Jul 09, 2025 - 05:15 nvd
HIGH 7.3
CVE Published
Jul 09, 2025 - 05:15 cve.org
MEDIUM 5.5

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=save_position. 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.0%
Top 86% exploitable
Prevalence
Rare
niche PHP script vendor, limited 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.0%
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-7128 MEDIUM POC
5.5 Jul 07

Unauthenticated SQL injection in Campcodes Payroll Management System 1.0 allows remote attackers to manipulate backend d

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

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