Blood Bank Management System CVE-2025-50487
HIGHSeverity 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
Lifecycle Timeline
1DescriptionCVE.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.
AnalysisAI
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.
Technical ContextAI
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.
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.
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
Same weakness CWE-613 – Insufficient Session Expiration
View allSame technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today