Student Result Management System
CVE-2025-50490
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCapture valid employee session token
-
DeliveryVictim changes password via emp-changepassword.php
-
ExploitStale session not invalidated
-
ExecutionReplay old session cookie
-
ImpactTake over authenticated account
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Exploitation Conditions | Exploitation targets the /elms/emp-changepassword.php password-change flow and requires the attacker to already possess or capture a valid employee/admin session token, because the vulnerability is that the application fails to invalidate existing sessions after a password change rather than minting a session from nothing. The limiting factor is precisely this prerequisite: the attacker must acquire a live session identifier (via cookie theft, shared machine, or network interception), so it is not blind unauthenticated code execution despite the PR:N CVSS metric. The app must be deployed and reachable over the network, and the target account must have had its password changed while the stale session remained active. |
| Impact | Signals are mixed and partly contradictory. The published CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, score 7.5) rates the impact as pure Availability with no Confidentiality or Integrity effect - which is inconsistent with a session-hijacking/account-takeover vulnerability, where the real impact is Confidentiality and Integrity of the hijacked account, not Availability. This suggests the NVD scoring was applied mechanically and should be verified with the source. EPSS is low (0.52%, 40th percentile) and the CVE is not in CISA KEV, indicating no evidence of widespread or automated exploitation. A public POC exists, which raises opportunistic risk, but exploitation realistically depends on the attacker first obtaining a valid session token. Net: this is a genuine but modest-priority issue - meaningful where the app is internet-exposed, but not an emergency, and its low deployment footprint further reduces aggregate risk. |
| Exploit ScenarioDerived | An attacker obtains a valid employee session identifier (for example via a shared or previously compromised browser, network capture, or a leaked cookie). Even after the legitimate user changes their password through emp-changepassword.php, the old session is not invalidated, so the attacker replays the captured session token and continues to operate as the authenticated employee. A public POC is available demonstrating the session-hijacking condition. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 05, 2026
Session hijacking in PHPGurukul Student Result Management System v2.0 stems from improper session invalidation in the employee change-password handler (/elms/emp-changepassword.php), letting attackers reuse session tokens that should have been terminated to take over an authenticated account. A public proof-of-concept exists (VasilVK GitHub), but there is no public exploit identified as actively exploited; EPSS is low at 0.52% (40th percentile) and it is not on CISA KEV. This is a niche PHP educational application, so real-world exposure is limited despite the network-facing nature of the flaw.
RemediationAI
No vendor-released patch identified at time of analysis - the references contain only the vendor homepage (http://phpgurukul.com) and a public POC (https://github.com/VasilVK/CVE/tree/main/CVE-2025-50490), with no fixed version. As specific compensating controls: modify emp-changepassword.php to destroy and regenerate the session on password change (call session_regenerate_id(true) and invalidate all other active sessions for that user), which directly closes the flaw but requires users to re-authenticate; shorten server-side session lifetimes and enforce idle/absolute timeouts to limit the window a stale token stays valid; set Secure, HttpOnly, and SameSite attributes on session cookies and enforce HTTPS to reduce the chance an attacker captures a token in the first place; and restrict access to the /elms/ employee panel to trusted networks or a VPN if the application is internet-facing. Because this is an unmaintained-style educational PHP app, evaluate migrating off it for production use.
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 affected component is a PHP web application (PHPGurukul Student Result Management System, CPE cpe:2.3:a:phpgurukul:student_result_management_system:2.0) that manages student results with an employee/admin panel. The defect lives in emp-changepassword.php, the routine that lets an employee change their password. Proper design requires invalidating all pre-existing sessions when credentials change so that stolen or stale session identifiers cannot continue to authenticate. Here that invalidation does not occur (a session-fixation/session-management weakness, most precisely CWE-613 Insufficient Session Expiration), so a previously captured session cookie remains valid. NVD tags this as CWE-20 (Improper Input Validation), which does not accurately describe the root cause - the true class is broken session lifecycle management.
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
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Network-facing but requires capturing a valid session token (AC:H); success yields account takeover, so C:H/I:H, with no availability impact unlike the NVD vector.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
Improper session invalidation in the component /elms/emp-changepassword.php of PHPGurukul Student Result Management System v2.0 allows attackers to execute a session hijacking attack.
Executive ViewAI
PHPGurukul Student Result Management System v2.0 contains a session management vulnerability enabling attackers to maintain unauthorized employee account access after password changes, risking exposure of student records and system operations. Educational institutions using this platform face a critical threat of account compromise with no vendor patch available to remediate the vulnerability.
No vendor-released patch identified at time of analysis. Implement: (1) Network access controls restricting application availability via firewall rules, VPN requirements, or IP address whitelisting; (2) Session timeout enforcement with 15-30 minute inactivity limits requiring re-authentication; (3) Comprehensive audit logging of session creation, password changes, and authentication events; (4) Multi-factor authentication if platform-supported; (5) Continuous monitoring for suspicious session patterns including concurrent sessions per user and geographically impossible logins.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Affected Products (CPE)CVE.org
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
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
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
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
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
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
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
NVD
CVE.org
EPSS
GitHub
Exploit-DB