Skip to main content

PHPGurukul Car Rental CVE-2025-50486

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/plant victim session token
  2. Delivery
    Victim changes password via update-password.php
  3. Exploit
    Old session not invalidated
  4. Execution
    Reuse retained session cookie
  5. Impact
    Access victim 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 /carrental/update-password.php endpoint of PHPGurukul Car Rental v3.0 and requires the attacker to first obtain a valid session identifier for the victim account (via session fixation, token theft, or a shared/predictable token) - the flaw is that a subsequent password change does not expire that session. Limiting factors: the CVSS vector specifies UI:R, so the victim must perform an action (log in or change the password) for the attack to pay off, and the attacker must already possess or plant a session token, so this is not a spray-and-pray unauthenticated RCE. No special non-default configuration is required beyond a standard deployment of the vulnerable application.

Impact

The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N, base 7.1) rates network attack, low complexity, no privileges, but requires user interaction and yields high confidentiality with only low integrity and no availability impact. That PR:N combined with UI:R is characteristic of a session-fixation/hijacking flow where the attacker plants or steals a session and the victim's action (logging in / changing password) completes the chain - the attacker does not authenticate themselves, hence PR:N. The signals are internally consistent but low-urgency: EPSS 0.40% and 32nd percentile are low, there is no KEV listing, and while POC code is published, POC availability is not active exploitation. This is a real but lower-tier priority - patch in routine cycles rather than as an emergency, weighted by how exposed the specific deployment is.

Exploit ScenarioDerived

An attacker fixes or steals a victim's session identifier (e.g., via a planted session cookie or captured token) and waits; when the victim later changes their password through update-password.php expecting it to secure the account, the old session is not invalidated, so the attacker's held session remains authenticated. Public POC code for CVE-2025-50486 is available on GitHub, lowering the barrier to reproduction. The CVSS UI:R element reflects the reliance on the victim performing the password-change action.

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 Car Rental Project v3.0 stems from the /carrental/update-password.php endpoint failing to invalidate existing sessions after a password change, allowing an attacker who has captured or been handed a valid session identifier to retain authenticated access even after the victim resets credentials. Publicly available exploit code exists (GitHub), but the issue is not in CISA KEV, and EPSS is modest at 0.40% (32nd percentile), indicating no evidence of widespread automated exploitation. Confidence is reduced by conflicting source metadata (see confidence notes).

RemediationAI

No vendor-released patch version is identified at time of analysis for PHPGurukul Car Rental v3.0. As specific compensating controls: modify update-password.php to call session_regenerate_id(true) and invalidate all prior sessions immediately after a successful password change, and force re-authentication (trade-off: users are logged out on all devices, which is the intended security behavior). Set session cookies with HttpOnly, Secure, and SameSite=Strict to reduce token theft (trade-off: SameSite may affect cross-site flows, generally negligible here), enforce short session idle timeouts, and rotate the session ID on login to counter fixation. Because PHPGurukul is a widely-copied educational codebase often deployed unmodified, restrict administrative endpoints via IP allowlisting or place the app behind authenticated reverse-proxy access where feasible. Monitor the GitHub advisory (https://github.com/sahel0708/CVE/tree/main/CVE-2025-50486) and PHPGurukul releases for an official fix.

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 (car rental management) built on the common PHPGurukul codebase, which typically uses native PHP session handling ($_SESSION) backed by cookies. The root cause is CWE-613 (Insufficient Session Expiration): update-password.php processes a credential change without calling session_regenerate_id()/session_destroy() or otherwise expiring pre-existing sessions, so a session token remains valid across the security-relevant event of a password reset. This defeats the primary defensive purpose of a password change - revoking access for a session that may already be compromised.

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 7.1 HIGH

Network-reachable endpoint with low complexity and no attacker authentication, but victim interaction is required to trigger; high confidentiality from account takeover, low integrity, no availability impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
4.0 AV:N/AC:L/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 /carrental/update-password.php of PHPGurukul Car Rental Project v3.0 allows attackers to execute a session hijacking attack.

Executive ViewAI

Why It Matters

PHPGurukul Car Rental Project v3.0 allows attackers to maintain unauthorized access to customer accounts even after credential resets, enabling fraud and unauthorized rental system access. Publicly available exploit code exists, and no vendor patch is available. Organizations running this platform face immediate risk of account compromise and potential customer data exposure.

Business Impact: High
Compensating Controls

Implement immediate code fix: modify /carrental/update-password.php to destroy all sessions for the affected user upon password change. Enforce strict session timeout (15 minutes of inactivity). Require step-up authentication for sensitive operations (transfers, profile modifications). Monitor for anomalous session behavior: reuse across different IP addresses, impossible travel patterns, or concurrent sessions from disparate geolocations. If operationally feasible, restrict application access to trusted networks via VPN or IP allowlist. Subscribe to PHPGurukul security mailing list for patch notifications.

Threat Intelligence Overview

EPSS Score
0.4%
Top 68% exploitable
Prevalence
Low
niche open-source educational PHP project, minimal production enterprise 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:e-diary_management_system:1.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