Skip to main content

Online Library Management System CVE-2025-50488

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
    Acquire victim session token
  2. Delivery
    Lure victim to change password
  3. Exploit
    Reuse non-invalidated session cookie
  4. Execution
    Access authenticated account
  5. Impact
    Exfiltrate or alter account 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 targets the /library/change-password.php workflow of PHPGurukul Online Library Management System v3.0 and requires the attacker to possess or replay a valid session token belonging to a logged-in user; the CVSS UI:R flag indicates victim interaction is part of the chain (e.g., the victim initiating a password change or being induced to authenticate a session the attacker controls). Limiting factors: the attacker must first acquire the session identifier (through theft, fixation, or shared-session access), the target must be a running v3.0 instance, and network reachability to the application is needed. The core weakness that enables the attack is that a password change fails to expire prior sessions, so the practical prerequisite is control over or knowledge of an existing session rather than any application-level privileges.

Impact

The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N, score 7.1) describes network-reachable, low-complexity exploitation requiring no privileges but requiring user interaction, with high confidentiality and low integrity impact. The PR:N combined with a session-hijacking mechanism is somewhat contradictory - hijacking a session normally presupposes the attacker acquires a valid session token (e.g., via theft, fixation, or a shared/leaked cookie), so the practical precondition is access to a victim's session artifact rather than truly zero prerequisites; verify the exact attack precondition with the researcher POC. EPSS is low (0.39%, 31st percentile) and the CVE is not in CISA KEV, so this is not a mass-exploited priority, but publicly available exploit code raises the practical risk for exposed instances. Overall this is a real but moderate, opportunistic risk best prioritized for internet-facing deployments of this niche PHP application rather than as an urgent enterprise-wide emergency.

Exploit ScenarioDerived

An attacker obtains a victim's valid session cookie (for example via a shared computer, network interception on a non-TLS deployment, or a session fixation lure requiring the victim to act) and, because change-password.php does not invalidate existing sessions, continues to use that token to access the victim's library account even after the password is changed. Publicly available POC code (VasilVK GitHub) demonstrates the flaw, and the low attack complexity means a captured session can be replayed with minimal effort.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.4% 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 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.

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.

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 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.

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 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.

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 /library/change-password.php of PHPGurukul Online Library Management System v3.0 allows attackers to execute a session hijacking attack.

Executive ViewAI

Why It Matters

PHPGurukul Online Library Management System v3.0 contains a session hijacking vulnerability that allows attackers with access to valid session tokens to impersonate users indefinitely, even after victims change their passwords. Organizations using this system face risk of persistent unauthorized account compromise, enabling unauthorized access to patron records, book transactions, and sensitive library data.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Force system-wide session logout upon any password change; (2) Deploy Web Application Firewall rules to detect and block session token reuse from multiple IP addresses within short intervals; (3) Implement session timeout of 15-30 minutes with idle detection; (4) Require step-up re-authentication for sensitive operations (account modifications, checkout); (5) Enable detailed authentication logging and alert on anomalous session patterns indicating token reuse.

Threat Intelligence Overview

EPSS Score
0.4%
Top 69% exploitable
Prevalence
Low
niche open-source PHP application, limited small-scale deployment 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.4%
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:online_library_management_system:3.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

References

Advisories & patches

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