Skip to main content

SourceCodester HRMS CVE-2026-108972

| EUVDEUVD-2026-98301 MEDIUM
Improper Authentication (CWE-287)
2026-10-13 cna@vuldb.com GHSA-x3xj-rcj9-cf8f
5.5
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

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

  1. Access
    Reach exposed Employee Endpoint
  2. Exploit
    Forge role/EmpId/pfimg parameters
  3. Execution
    Bypass authentication in session_start
  4. Impact
    Obtain privileged admin session

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK

2 techniques across 2 tactics: Defense Evasion, Initial Access

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

Exploitation Conditions

No special conditions - remote unauthenticated exploitation against a default deployment of SourceCodester Human Resource Management System 1.0, by sending manipulated role/pfimg/EmpId parameters to the Employee Endpoint (controller/employee.php), where session_start improperly establishes the authenticated session. The only practical limiting factor is reachability: the target instance must be network-accessible to the attacker. No authentication, no user interaction, and no non-default configuration are required per the CVSS vector (AV:N/AC:L/PR:N/UI:N).

Impact

Signals are mixed. The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) scores only 5.5 (medium) because NVD rates impact as low across the board (VC:L/VI:L/VA:L), and the E:P flag denotes proof-of-concept maturity rather than active exploitation. However, the primary reference (tracexlabs 'hrm-10-preauth-admin-takeover') explicitly claims a pre-authentication ADMIN TAKEOVER, which would justify high confidentiality and integrity impact - this directly conflicts with NVD's low impact rating and should be verified with the researcher/vendor. No EPSS score was supplied, so exploitation probability cannot be quantified. The CVE is NOT in CISA KEV, so there is no confirmed active exploitation; the accurate status is that publicly available exploit code exists (POC - confirmed both by the 'exploit has been made public' note and the E:P metric). No SSVC decision data (exploitation status, automatable, technical impact) was provided. Net read: the underlying weakness is serious (unauthenticated remote authentication bypass via parameter manipulation, CWE-287), but real-world priority is tempered by the product's negligible deployment footprint - a low-prevalence hobby/tutorial application - so despite POC availability this is more likely opportunistic scanning fodder than a widespread enterprise emergency.

Exploit ScenarioDerived

A remote, unauthenticated attacker sends a crafted request to the Employee Endpoint (controller/employee.php), manipulating the role, pfimg, and/or EmpId parameters so that session_start establishes an authenticated session with elevated privileges, consistent with the referenced pre-auth admin-takeover write-up. A public exploit exists, lowering the skill barrier. Because no authentication or user interaction is required (PR:N/UI:N), any internet-reachable instance can be targeted directly.

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

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

Alert me

AnalysisAIv1 – Oct 13, 2026

Improper authentication in SourceCodester Human Resource Management System 1.0 lets remote, unauthenticated attackers forge an authenticated administrator session by supplying manipulated role, pfimg, and EmpId arguments to the session_start call in controller/employee.php, effectively achieving pre-authentication admin takeover. The exploit has been made public, so publicly available exploit code exists and can be reused against any reachable instance of this widely distributed PHP/MySQL demo application. Risk signals are mixed: the CNA assigned a moderate CVSS 4.0 base of 5.5 with exploit maturity E:P, while independent assessment rates the impact as High for both confidentiality and integrity on an unauthenticated network vector, meaning the practical severity is likely well above the published base score.

RemediationAI

No vendor-released patch identified at time of analysis, and SourceCodester HRMS 1.0 is a freely distributed demo codebase with no established security-update channel, so remediation must be compensating rather than patch-based. The most effective control is to take the application off any network-reachable surface: bind it to localhost or an internal management VLAN, or front it with a reverse proxy that requires strong authentication and IP allow-listing - the trade-off being loss of legitimate remote access for HR staff. If it must stay exposed, block or reject requests to controller/employee.php that arrive without a pre-existing authenticated session, and refuse any request in which role, pfimg, or EmpId are supplied by an unauthenticated client; a WAF rule or proxy filter enforcing this is feasible but brittle because parameter names can be varied and legitimate authenticated calls use the same fields. Additional hardening includes regenerating the PHP session ID on every privilege transition (session_regenerate_id), enforcing server-side authorization that re-derives the user's role from the database rather than from request input, and adding CSRF tokens - all of which require code changes the vendor has not shipped. Given the public exploit, treat these as interim measures and plan to migrate the HRM function to a maintained platform. Consult https://tracexlabs.com/releases/hrm-10-preauth-admin-takeover.html for the exploit mechanics and https://vuldb.com/vuln/416791 for the advisory record; if a fix is later published, cite the exact version in a follow-up review.

Affected VersionsENISA

Human Resource Management System 1.0

Affected Packages

euvd human_resource_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 root cause is CWE-287 (Improper Authentication). SourceCodester Human Resource Management System 1.0 is a PHP/MySQL web application; controller/employee.php calls session_start() and then populates session state from request-supplied parameters (role, pfimg, EmpId) without validating that the caller has actually authenticated. Because PHP sessions are the sole mechanism the application uses to track identity and privilege, an attacker who controls those parameters can cause the server to instantiate a session bearing whatever role value they choose - including an administrative one - and every downstream authorization check that trusts $_SESSION then passes. The issue sits in the Employee Endpoint component and is reachable over the network with no prior authentication. No CPE strings were supplied in the intelligence feed, so affected-product identification rests on the vendor's own product line; the CVSS 4.0 vector's E:P metric and the public TraceXLabs advisory titled 'hrm-10-preauth-admin-takeover' both corroborate that the flaw is demonstrable with released exploit code rather than theoretical.

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 (vuldb) 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.1 CRITICAL

Unauthenticated remote auth bypass (AV:N/AC:L/PR:N/UI:N); C:H/I:H reflect the referenced pre-auth admin takeover, A:N as no availability impact is described.

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

Primary rating from Vendor (vuldb).

CVSS VectorVendor: vuldb

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

DescriptionCVE.org

A vulnerability was found in SourceCodester Human Resource Management System 1.0. Affected by this vulnerability is the function session_start of the file controller/employee.php of the component Employee Endpoint. The manipulation of the argument role/pfimg/EmpId results in improper authentication. It is possible to launch the attack remotely. The exploit has been made public and could be used.

Threat Intelligence Overview

EPSS Score
0.7%
Top 50% exploitable
Prevalence
Rare
SourceCodester tutorial-grade PHP app, negligible production/enterprise footprint
Social Media
1
Sightings
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 No
EPSS 0.7%
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
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

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

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

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