Blood Bank Management System CVE-2025-50487
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain victim session token
-
DeliveryAccess /bbdms/ with stolen cookie
-
ExploitVictim changes password
-
ExecutionOld session not invalidated
-
ImpactRetain 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
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.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
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
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.
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
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