Skip to main content

Blood Bank Management System CVE-2025-50487

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 session token
  2. Delivery
    Access /bbdms/ with stolen cookie
  3. Exploit
    Victim changes password
  4. Execution
    Old session not invalidated
  5. Impact
    Retain authenticated access to records

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V7 - Session Management Session expiration enforcement
Exploitation Conditions

Exploitation targets the /bbdms/change-password.php feature of PHPGurukul Blood Bank & Donor Management System v2.4 and requires the attacker to first possess a valid session identifier for a target account (obtained via network interception, XSS, or physical/shared-device access), because the vulnerability is that this token is not invalidated on password change. Limiting factors: the CVSS vector specifies UI:R, implying the victim must perform an action (such as changing their password) for the scenario to matter, and the attacker cannot forge a session from nothing - a pre-existing valid session token is the practical prerequisite, so this is not a from-scratch unauthenticated compromise despite the PR:N rating. Realistic risk is further constrained by the product's tiny deployment base.

Impact

The supplied CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N, base 7.1) rates this network-exploitable with low complexity, no privileges, but requiring user interaction, and confined to a confidentiality-heavy impact. These signals are somewhat inconsistent with the described mechanism: session hijacking realistically presupposes the attacker has already obtained a valid session token (via sniffing, XSS, or shared/stolen cookie), which is a meaningful precondition not reflected in PR:N - verify against the actual exploit. EPSS is low (0.32%, 24th percentile) and the CVE is not in CISA KEV, so despite a public POC there is no indication of active or automated exploitation. Overall this is a moderate, opportunistic risk rather than an urgent priority, further tempered by the product's very small real-world footprint; the high-ish 7.1 score overstates practical danger for most organizations because almost none run this software.

Exploit ScenarioDerived

An attacker captures or otherwise obtains a legitimate user's session cookie (for example over an unencrypted connection or via a shared workstation), then continues to use that cookie against the Blood Bank application. Because change-password.php does not invalidate existing sessions, even after the victim notices and changes their password the attacker's hijacked session stays authenticated. A public POC demonstrating the missing session invalidation is available on GitHub.

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 Blood Bank & Donor Management System v2.4 stems from the /bbdms/change-password.php component failing to invalidate existing sessions after a password change, letting an attacker who obtains or captures a valid session token retain authenticated access even after the victim rotates credentials. Publicly available exploit code exists (GitHub, VasilVK), though the flaw is not listed in CISA KEV and carries a low EPSS score of 0.32% (24th percentile), indicating no evidence of widespread automated exploitation. The issue primarily threatens confidentiality of donor and blood-bank records in this niche PHP application.

RemediationAI

No vendor-released patch identified at time of analysis, as the references contain only a proof-of-concept (https://github.com/VasilVK/CVE/tree/main/CVE-2025-50487) and no PHPGurukul advisory or fixed release. As compensating controls, modify change-password.php to call session regeneration and destroy all prior server-side sessions on password change (e.g., regenerate the session ID and invalidate old session records), which forces re-authentication and closes the hijack window with the side effect of logging users out of other devices. Enforce short session-idle timeouts and set cookies with HttpOnly, Secure, and SameSite attributes to shrink the token-exposure surface, and require the application to be served exclusively over TLS to prevent cookie interception; restrict access to the /bbdms/ admin interface to trusted networks/VPN as an additional containment measure at the cost of remote convenience. Monitor the PHPGurukul site for an updated 2.4.x release and apply it once published.

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 software is PHPGurukul Blood Bank & Donor Management System, a small open-source PHP/MySQL web application (CPE cpe:2.3:a:phpgurukul:blood_bank_&_donor_management_system:2.4) used to manage blood inventory and donor records. The root cause is CWE-613 (Insufficient Session Expiration): the change-password.php workflow does not destroy or regenerate server-side session identifiers when a user updates their password, so previously issued session cookies remain valid. Secure session handling requires invalidating all active sessions (or at minimum regenerating the session ID) on credential change; the absence of this control means a compromised or intercepted session persists indefinitely until natural timeout.

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 6.3 MEDIUM

Attacker needs a pre-existing valid session token, so PR:L rather than PR:N; UI:R for the password-change action; confidentiality-dominant impact with limited integrity and no availability effect.

3.1 AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/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 /bbdms/change-password.php of PHPGurukul Blood Bank & Donor Management System v2.4 allows attackers to execute a session hijacking attack.

Executive ViewAI

Why It Matters

PHPGurukul Blood Bank & Donor Management System v2.4 contains a session persistence vulnerability (CVE-2025-50487) allowing attackers with captured authentication tokens to retain unauthorized access to donor records and protected health information even after victims change passwords. This creates direct risk of HIPAA violation and reputational harm for any healthcare organization operating this system.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Deploy in-house fix to invalidate all sessions at application layer when password changes occur; (2) Implement real-time monitoring for session anomalies (concurrent sessions per user, impossible travel times); (3) Enable alerts for multiple simultaneous sessions from different geographic locations; (4) Restrict administrative account access by IP whitelist; (5) Maintain detailed audit logs of all password changes and session activity for 90 days.

Threat Intelligence Overview

EPSS Score
0.3%
Top 76% exploitable
Prevalence
Rare
niche PHPGurukul PHP project, negligible enterprise or production footprint
Exploit
POC
Public exploit code exists
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 Yes
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
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

56
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: +20
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:blood_bank_\&_donor_management_system:2.4:*:*:*:*:*:*:*

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

References

Advisories & patches

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