Skip to main content

Bank Locker Management System CVE-2025-50491

HIGH
Insufficient Session Expiration (CWE-613)
2025-07-28 cve@mitre.org
7.1
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

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

  1. Access
    Obtain victim's valid session token
  2. Delivery
    Victim changes password (UI:R)
  3. Exploit
    Session not invalidated server-side
  4. Execution
    Replay old token to /banker/ portal
  5. Impact
    Access 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

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

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.

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

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

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

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.3%
Top 73% exploitable
Prevalence
Rare
niche free PHPGurukul PHP app, minimal real production footprint
Data Quality
4 sources
Confidence: Medium

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 HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
No
Human Impact
High

Priority Score

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

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

cpe:2.3:a:phpgurukul:bank_locker_management_system:1.0:*:*:*:*:*:*:*

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