Online Library Management System
CVE-2025-50488
HIGH
Severity by source
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
Network-reachable with no app privileges (PR:N) but requires obtaining a session token and victim interaction, raising complexity to AC:H; account access yields high confidentiality, low integrity, no availability impact.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
1DescriptionCVE.org
Improper session invalidation in the component /library/change-password.php of PHPGurukul Online Library Management System v3.0 allows attackers to execute a session hijacking attack.
AnalysisAI
Session hijacking in PHPGurukul Online Library Management System v3.0 stems from improper session invalidation in /library/change-password.php, where sessions are not properly terminated after credential changes, allowing an attacker who obtains or reuses a still-valid session token to impersonate a victim. Publicly available exploit code exists (GitHub, VasilVK), though there is no public exploit identified as actively exploited in the wild and it is not listed in CISA KEV. EPSS is low at 0.39% (31st percentile), indicating limited predicted mass-exploitation activity despite the available POC.
Technical ContextAI
The affected component is a PHP web application (PHPGurukul Online Library Management System, CPE cpe:2.3:a:phpgurukul:online_library_management_system:3.0) commonly used as a small-scale library catalog and member management portal. The root cause is CWE-613 (Insufficient Session Expiration), where the change-password.php workflow fails to invalidate or rotate the existing session identifier after a security-relevant event such as a password change. In a correctly implemented flow, changing a password should terminate all other active sessions and issue a fresh session token; here, previously issued session cookies remain valid, so a captured or fixed session ID continues to grant authenticated access even after the account owner attempts to secure the account.
RemediationAI
No vendor-released patch identified at time of analysis - no fix version or official PHPGurukul advisory is present in the provided data. As compensating controls, configure the application/server to regenerate the session ID on every privilege or credential change and to invalidate all other active sessions when a password is changed (session_regenerate_id(true) and server-side session store invalidation), which directly addresses CWE-613 but may log users out of concurrent sessions. Enforce short session idle and absolute timeouts, set cookies with HttpOnly, Secure, and SameSite attributes to reduce token theft, and place the application behind a WAF or restrict administrative/member access to trusted networks or VPN to limit exposure while a code fix is developed. Monitor the POC repository (https://github.com/VasilVK/CVE/tree/main/CVE-2025-50488) and PHPGurukul for an official update, and given this is unmaintained-style niche software, consider migrating off it if no patch is released.
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