Online Course Registration
CVE-2025-50485
HIGH
Severity by source
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
AC:H because the attacker must first obtain a valid session token; UI:R for the victim's password change; C:L/I:L as impact is limited to a single hijacked CRM account.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
1DescriptionCVE.org
Improper session invalidation in the component /crm/change-password.php of PHPGurukul Online Course Registration v3.1 allows attackers to execute a session hijacking attack.
AnalysisAI
Session hijacking in PHPGurukul Online Course Registration v3.1 stems from the /crm/change-password.php component failing to invalidate existing sessions after a password change, letting an attacker who has captured or replayed a victim's session identifier retain authenticated access even after the credential is rotated. Publicly available exploit code exists (GitHub), but the flaw is not listed in CISA KEV and carries a low EPSS score of 0.40% (32nd percentile), indicating limited observed exploitation. The issue chiefly threatens confidentiality of the affected user's CRM account.
Technical ContextAI
PHPGurukul Online Course Registration is a small PHP/MySQL web application distributed as free source code for academic and learning-management use. The root cause is CWE-613 (Insufficient Session Expiration): the password-change routine in /crm/change-password.php updates the stored credential but does not destroy or regenerate the server-side session, so a session token that was valid before the change remains valid afterward. Because PHP session handling here does not tie session lifetime to credential state, a token obtained through sniffing, fixation, or reuse continues to authenticate the holder. The single affected build is identified by cpe:2.3:a:phpgurukul:online_course_registration:3.1.
RemediationAI
No vendor-released patch identified at time of analysis; the references contain only a proof-of-concept (https://github.com/VasilVK/CVE/tree/main/CVE-2025-50485) and no fixed release for PHPGurukul Online Course Registration. As a code-level compensating control, modify /crm/change-password.php to call session_regenerate_id(true) and destroy all other active sessions for the account immediately after a successful password update, forcing re-authentication. Operators should additionally enforce HTTPS site-wide with the Secure and HttpOnly cookie flags to reduce token capture (trade-off: requires TLS configuration), set short session.gc_maxlifetime and cookie lifetimes to shrink the reuse window (trade-off: more frequent logins), and restrict access to the /crm/ interface to trusted networks or VPN where feasible. Monitor for the same session ID used from multiple IPs as a detection stopgap until an upstream fix is confirmed.
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