Cyber Posture

CVE-2025-2985

MediumPublic PoC

Published: 31 March 2025

Published
31 March 2025
Modified
14 May 2025
KEV Added
Patch
CVSS Score 6.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
EPSS Score 0.0007 21.2th percentile
Risk Priority 13 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2025-2985 is a medium-severity Injection (CWE-74) vulnerability in Fabian Payroll Management System. Its CVSS base score is 6.3 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 21.2th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified are NIST 800-53 RA-5 (Vulnerability Monitoring and Scanning) and SI-10 (Information Input Validation).

Threat & Defense at a Glance

What attackers do: exploitation maps to Exploit Public-Facing Application (T1190) and 2 other techniques. What defenders deploy: see the NIST 800-53 controls recommended below.
Threat & Defense Details

Mitigating Controls (NIST 800-53 r5)AI

prevent

SI-10 requires validation of information inputs like the 'deduction' parameter in update_account.php to neutralize special elements and directly prevent SQL injection exploitation.

prevent

SI-2 mandates timely identification, reporting, and correction of system flaws, directly addressing this known SQL injection vulnerability via patching or code fixes.

detect

RA-5 requires vulnerability scanning and monitoring that would identify SQL injection flaws like CVE-2025-2985 in the Payroll Management System.

MITRE ATT&CK Enterprise TechniquesAI

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1505 Server Software Component Persistence
Adversaries may abuse legitimate extensible development features of servers to establish persistent access to systems.
T1213.006 Databases Collection
Adversaries may leverage databases to mine valuable information.
Why these techniques?

SQL injection in public-facing web application (update_account.php) enables exploitation of public-facing app (T1190), abuse of server software component for SQL execution (T1505 as cited in advisory), and data collection from databases (T1213.006).

NVD Description

A vulnerability was found in code-projects Payroll Management System 1.0. It has been classified as critical. This affects an unknown part of the file update_account.php. The manipulation of the argument deduction leads to sql injection. It is possible to initiate…

more

the attack remotely. The exploit has been disclosed to the public and may be used. Other parameters might be affected as well.

Deeper analysisAI

CVE-2025-2985 is a critical SQL injection vulnerability in code-projects Payroll Management System 1.0, affecting an unknown part of the file update_account.php. The issue arises from manipulation of the 'deduction' argument, with CWE-74 (Improper Neutralization of Special Elements used in an SQL Command) and CWE-89 (SQL Injection) as associated weaknesses. Published on 2025-03-31, it carries a CVSS v3.1 base score of 6.3 (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L), indicating network-accessible exploitation with low complexity and privileges required.

An attacker with low privileges, such as an authenticated user, can exploit this remotely by injecting malicious SQL via the 'deduction' parameter during account updates. Successful exploitation enables limited impacts: low confidentiality (e.g., partial data disclosure), integrity (e.g., minor data modification), and availability (e.g., limited denial of service). Other parameters may also be vulnerable, broadening potential attack surface.

Advisories referenced in VulDB entries (e.g., ctiid.302037, id.302037) and related disclosures on GitHub and code-projects.org detail the issue but do not specify patches or vendor mitigations in available information. Security practitioners should review these sources for updates.

The exploit has been publicly disclosed and may be actively used, increasing risk for exposed instances of Payroll Management System 1.0.

Details

CWE(s)

Affected Products

fabian
payroll management system
1.0

CVEs Like This One

CVE-2025-2854Same product: Fabian Payroll Management System
CVE-2025-2984Same product: Fabian Payroll Management System
CVE-2025-3039Same product: Fabian Payroll Management System
CVE-2025-3038Same product: Fabian Payroll Management System
CVE-2025-2672Same product: Fabian Payroll Management System
CVE-2025-0230Same vendor: Fabian
CVE-2025-2391Same vendor: Fabian
CVE-2025-1197Same vendor: Fabian
CVE-2025-0229Same vendor: Fabian
CVE-2025-2389Same vendor: Fabian

References