Skip to main content

SourceCodester Payroll System CVE-2026-37346

| EUVDEUVD-2026-23264 MEDIUM
SQL Injection (CWE-89)
2026-04-16 cve@mitre.org GHSA-3xhp-52jc-www8
4.7
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

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

  1. Access
    Obtain admin credentials via phishing or reuse
  2. Delivery
    Authenticate to payroll application
  3. Exploit
    Craft malicious emp_id SQL payload
  4. Execution
    Submit request to /payroll/view_account.php
  5. Impact
    Extract or modify payroll database records

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a valid high-privilege (administrative) session as indicated by PR:H in the CVSS vector - unauthenticated attackers cannot reach the vulnerable endpoint without first obtaining admin credentials. The specific condition is access to the /payroll/view_account.php page with control over the emp_id GET parameter. The application must be network-reachable (AV:N) and running PHP with the vulnerable v1.0 codebase. Limiting factors: administrative authentication is the primary barrier; exploitation is not automatable per SSVC (likely due to session-token requirements); the attack scope does not change (S:U), confining impact to the vulnerable application's database. Non-default hardening such as IP allowlisting on the admin panel would further constrain exploitation.

Impact

The CVSS base score of 4.7 reflects the PR:H constraint - exploitation requires an already-authenticated administrative session, significantly limiting the realistic attacker pool to insiders, compromised admin accounts, or attackers who have already achieved privilege escalation via a separate vector. EPSS at 0.02% (7th percentile) confirms near-zero observed exploitation probability across the threat landscape, consistent with SSVC's 'Exploitation: none' and 'Automatable: no' findings. Technical Impact is rated partial by SSVC, aligning with C:L/I:L/A:L in the provided vector. This is a real vulnerability but a low operational priority: an attacker exploiting it has already cleared the high-privilege authentication bar, so the incremental risk from the SQLi is database-layer access beyond application-layer controls. No conflicting signals between data sources; KEV status is absent and no POC has been identified, further reducing urgency.

Exploit ScenarioDerived

An attacker who has obtained administrative credentials - through phishing, credential stuffing, or a prior compromise - authenticates to the payroll application and crafts a request to /payroll/view_account.php?emp_id=1' OR '1'='1 or a UNION-based payload to enumerate the underlying database schema and extract employee salary, personal, or credential data. No public exploit code has been identified at time of analysis, but the vulnerability class (GET-parameter SQLi in PHP) is trivially exploitable with standard tooling such as sqlmap once authenticated access is available.

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 – Jul 24, 2026

SQL Injection in SourceCodester Payroll Management and Information System v1.0 exposes the /payroll/view_account.php endpoint to database-level manipulation via the emp_id GET parameter. The CVSS vector (PR:H) confirms exploitation requires high-privilege (administrative) authentication, substantially narrowing the realistic attacker population. No public exploit code or active exploitation has been identified; EPSS places this at the 7th percentile (0.02%), and SSVC assessment concurs with exploitation status of none and non-automatable attack path.

RemediationAI

No vendor-released patch has been identified at time of analysis for SourceCodester Payroll Management and Information System v1.0. The definitive fix is to refactor the SQL query in /payroll/view_account.php to use prepared statements with parameterized queries, eliminating direct interpolation of the emp_id value. As a compensating control, deploy a Web Application Firewall rule to detect and block common SQLi patterns in the emp_id parameter - note this adds operational overhead and may generate false positives on legitimate numeric IDs. Additionally, restrict administrative interface access to trusted IP ranges or VPN-only networks, reducing the exposed attack surface given that PR:H is already required. Audit all other PHP files in the application for similar unsanitized parameter usage, as SourceCodester projects frequently share the same unparameterized query pattern across endpoints. References: https://github.com/mt-0505/cve-report/blob/main/sourcecodester/payroll-management-and-information-system/SQL-1.md and https://nvd.nist.gov/vuln/detail/CVE-2026-37346.

Affected VersionsENISA

n/a n/a

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The application is a PHP-based payroll management system distributed by SourceCodester. CWE-89 (Improper Neutralization of Special Elements used in an SQL Command) indicates that user-supplied input - specifically the emp_id query string parameter in view_account.php - is concatenated into a SQL query without parameterization or adequate sanitization. This classic unsanitized-input pattern allows an attacker to alter query logic, enumerate tables, extract credential or payroll records, and potentially write data. No CPE string was provided in the intelligence; the affected version is confirmed as v1.0 from the CVE description. The attack surface is a PHP web application served over HTTP/S, consistent with the AV:N (network) vector.

Know when PHP 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

Vendor (mitre) PRIMARY 4.7 MEDIUM
AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L
vuln.today AI 6.7 MEDIUM

SQL injection permits full database read/write beyond app-layer controls, warranting C:H/I:H; availability impact is limited to data corruption, not service denial; PR:H reflects mandatory admin authentication.

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

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low

Lifecycle Timeline

2
CVSS changed
Apr 16, 2026 - 16:22 NVD
4.7 (MEDIUM)
CVE Published
Apr 16, 2026 - 15:17 nvd
MEDIUM 4.7

DescriptionCVE.org

SourceCodester Payroll Management and Information System v1.0 is vulnerable to SQL Injection in the file /payroll/view_account.php?emp_id=.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Prevalence
Rare
small open-source hobbyist project, negligible enterprise deployment
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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 No
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
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
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.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

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