PHPGurukul Car Rental CVE-2025-50486
HIGHSeverity by source
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
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.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
Lifecycle Timeline
1DescriptionCVE.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.
AnalysisAI
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).
Technical ContextAI
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.
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.
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
NetAlertX (formerly PiAlert) versions 23.01.14 through 24.x before 24.10.12 allow unauthenticated command injection thro
Invision Community 5.0.0 through 5.0.6 contains an unauthenticated remote code execution vulnerability in the template e
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
Cacti monitoring platform prior to version 1.2.29 allows authenticated users to achieve remote code execution through th
The SureTriggers WordPress plugin through version 1.0.78 contains an authentication bypass due to a missing empty value
The HUSKY Products Filter Professional for WooCommerce plugin through version 1.3.6.5 contains a critical Local File Inc
The User Registration & Membership WordPress plugin before version 4.1.2 fails to prevent users from setting their accou
The Advanced Custom Fields: Extended plugin for WordPress is vulnerable to Remote Code Execution in versions 0.9.0.5 thr
PHP Object Injection in the Better Search Replace WordPress plugin (versions up to and including 1.4.4) allows remote un
Same weakness CWE-613 – Insufficient Session Expiration
View allSame technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today