Bank Locker Management System
CVE-2025-50491
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain victim's valid session token
-
DeliveryVictim changes password (UI:R)
-
ExploitSession not invalidated server-side
-
ExecutionReplay old token to /banker/ portal
-
ImpactAccess banker account and locker data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V7 - Session Management Session expiration enforcement
|
| Exploitation Conditions | Exploitation requires the attacker to already possess a valid banker session token for the application, and the flaw is triggered around the /banker/change-password.php flow because the password-change event does not invalidate pre-existing sessions - so a token issued before the change stays authenticated. The CVSS UI:R flag indicates user interaction (the legitimate user performing a password change or continuing to browse) is part of the chain. Limiting factors: the attacker cannot exploit this cold - prior capture of a session identifier is mandatory (shared device, sniffing on non-HTTPS transport, or token leakage), and the affected software is version 1.0 of a niche PHPGurukul application, so realistic exposure is narrow. |
| Impact | The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N = 7.1 High) reflects a network-reachable, unauthenticated-from-the-attacker's-view flaw whose main impact is confidentiality (account takeover) with low integrity impact and no availability impact. However, the raw score is arguably optimistic: exploitation is not truly frictionless because the attacker must first OBTAIN a valid session token, and the vector itself flags UI:R (user interaction). EPSS is low (0.34%, percentile 27%) and the CVE is NOT on CISA KEV, so there is no evidence of widespread or automated exploitation - consistent with a niche educational product rather than a mass-exploited target. The chief mitigating reality is prerequisite access to a session token; the chief aggravating factor is that once a token is obtained it never expires on password change, defeating the natural remediation of 'just change your password.' Net: a legitimate confidentiality issue but low real-world priority given tiny deployment footprint and low EPSS. |
| Exploit ScenarioDerived | An attacker uses a shared or public computer (or captures a PHPSESSID via network sniffing or log leakage) to obtain a banker's active session token. The victim later changes their password believing that secures the account, but because the session is never invalidated the attacker replays the still-valid token to access the banker portal and locker records. A public research reference (VasilVK/CVE) documents the issue, lowering the effort to reproduce. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 05, 2026
Session hijacking in PHPGurukul Bank Locker Management System v1.0 lets remote attackers reuse valid session tokens because the /banker/change-password.php component fails to invalidate existing sessions after a password change. Any session token captured before the change (via a shared machine, network capture, or referrer/log leakage) remains usable, letting an attacker impersonate the banker account. A GitHub reference (VasilVK/CVE) is published for this issue, and EPSS risk is low at 0.34% (27th percentile) with no active exploitation reported.
RemediationAI
No vendor-released patch identified at time of analysis for PHPGurukul Bank Locker Management System v1.0, and no fixed version is published in the available data. As specific compensating controls: modify /banker/change-password.php to call session_regenerate_id(true) immediately after a successful password update and explicitly destroy all other server-side sessions for that account (trade-off: forces re-login on other devices, which is desired here); shorten PHP session.gc_maxlifetime and set session.cookie_lifetime so idle tokens expire quickly (trade-off: more frequent re-authentication); enforce HTTPS with Secure, HttpOnly and SameSite cookie flags to reduce token capture; and restrict access to the /banker/ interface via IP allow-listing or a VPN so stolen tokens are only replayable from trusted networks. Consult the third-party writeup at https://github.com/VasilVK/CVE/tree/main/CVE-2025-50491 for reproduction detail, and verify any fix directly with PHPGurukul before assuming resolution.
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
PHPGurukul Bank Locker Management System is a small PHP/MySQL web application distributed as free source for banks/branches to track locker allocations; the affected code path is the banker-side password change handler /banker/change-password.php. The root cause is CWE-613 (Insufficient Session Expiration): the application does not invalidate or rotate the server-side session identifier when a credential-changing event (password change) occurs. In a correctly built PHP app the change-password flow should call session_regenerate_id(true) and destroy all other active sessions for that user; here the old PHPSESSID stays authenticated, so a previously issued token continues to grant access even after credentials are altered. The single affected build is identified by CPE cpe:2.3:a:phpgurukul:bank_locker_management_system:1.0.
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:R/S:U/C:H/I:L/A:N
Network-reachable but AC:H because the attacker must first obtain a valid session token; UI:R for the password-change action; impact is mainly confidentiality (C:H) with limited integrity and no availability effect.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
Improper session invalidation in the component /banker/change-password.php of PHPGurukul Bank Locker Management System v1 allows attackers to execute a session hijacking attack.
Executive ViewAI
PHPGurukul Bank Locker Management System v1.0 contains a critical session persistence flaw (CVE-2025-50491) enabling attackers with captured session tokens to impersonate banker accounts indefinitely-the system fails to invalidate sessions after password changes, leaving previously harvested tokens viable. This creates unauthorized access risk for any banker account exposed through shared terminals, network interception, or log leakage, directly threatening banking operations and regulatory compliance.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Add programmatic session invalidation logic in /banker/change-password.php to terminate all existing sessions for the user before password update completes; (2) implement strict session idle timeout of 15-30 minutes; (3) require step-up authentication (OTP or multi-factor) for password changes and account modifications; (4) rotate session tokens on each login and privilege change; (5) enable comprehensive session logging with automated alerting for token reuse anomalies; (6) restrict banker logins to isolated administrative networks with IP allowlisting if operationally feasible.
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