Doctor Appointment System CVE-2025-50493
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCapture valid doctor session token
-
DeliveryVictim changes account password
-
ExploitOld session not invalidated
-
ExecutionReuse stale session cookie
-
ImpactAccess doctor account and patient data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Exploitation Conditions | Exploitation targets the /doctor/change-password.php session flow and requires the attacker to first possess a valid doctor session token - the vulnerability is the failure to invalidate that token after a password change, so the credential reset that a victim performs to lock an attacker out does NOT terminate the attacker's session. Limiting factors: the attacker must acquire a session identifier through a separate means (shared machine, sniffing on non-TLS deployments, or another injection flaw), and the impact is scoped to the specific doctor account whose session was captured. This is confined to PHPGurukul Doctor Appointment Management System v1.0.0; despite the CVSS PR:N labeling, real exploitation is not a zero-prerequisite remote takeover because a pre-existing session must be held. |
| Impact | The signals conflict and warrant scrutiny. The published CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/C:N/I:N/A:H, score 7.5) is internally inconsistent with the described impact: session hijacking of a doctor account is a confidentiality/integrity compromise, yet the vector encodes C:N/I:N and A:H (availability-only), which does not match session-hijacking semantics - this appears to be a mis-scored vector and should be verified with the source. EPSS is low (0.41%, 33rd percentile) and the CVE is not in CISA KEV, so there is no evidence of widespread or active exploitation. A PoC exists, raising the practical likelihood of opportunistic use, but exploitation realistically requires the attacker to first obtain a valid session token, which is a meaningful precondition the AC:L rating understates. Net: this is a legitimate defect but a low-to-moderate real-world priority, driven more by product niche-ness than by exploitability. |
| Exploit ScenarioDerived | An attacker obtains a doctor's active session identifier (for example via a shared/public workstation, network sniffing on a non-HTTPS deployment, or an XSS leak) and continues using it after the legitimate doctor changes their password, since the old session is never invalidated. Because a PoC is publicly available, an attacker can reproduce the flow directly; the retained session grants ongoing access to patient appointment data and account functions. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 05, 2026
Session hijacking in PHPGurukul Doctor Appointment Management System v1.0.0 stems from improper session invalidation in /doctor/change-password.php, where doctor account sessions are not terminated after a password change. A publicly available exploit code exists (GitHub, VasilVK), but there is no public exploit identified as actively exploited and it is not in CISA KEV. EPSS is low at 0.41% (33rd percentile), indicating limited real-world exploitation interest to date.
RemediationAI
No vendor-released patch identified at time of analysis; PHPGurukul has not published a fixed version for this issue. As specific compensating controls, modify /doctor/change-password.php to call session_regenerate_id(true) and destroy all prior server-side sessions immediately upon a successful password change, forcing re-authentication of every existing session (trade-off: the doctor is logged out of other devices). Enforce short session lifetimes and idle timeouts in the PHP session configuration to shrink the window a stale token remains usable, and set session cookies with HttpOnly, Secure, and SameSite attributes plus HTTPS-only transport to reduce the chance of token capture in the first place. Restrict network access to the /doctor/ administrative area (IP allow-listing or VPN) since this is a small-clinic application not intended for broad internet exposure. Consult the PoC at https://github.com/VasilVK/CVE/tree/main/CVE-2025-50493 to validate that your fix closes the exact path.
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-based web application from PHPGurukul, a vendor of free/low-cost educational PHP+MySQL project templates. The root cause maps loosely to CWE-20 (Improper Input Validation) in the NVD record, but the described behavior - sessions remaining valid across a password change - is more precisely a session-management weakness (in the family of CWE-613 Insufficient Session Expiration / CWE-384 Session Fixation). In practice, change-password.php updates credentials without regenerating or invalidating existing PHP session identifiers, so a previously established session (or a captured PHPSESSID) continues to authenticate the doctor account even after the legitimate user rotates the password. CPE cpe:2.3:a:phpgurukul:doctor_appointment_management_system:1.0.0 identifies the exact affected build.
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
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attacker must first obtain a valid session token (AC:H); success yields full account access so C:H/I:H, with no availability impact (A:N), correcting the published A:H-only vector.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
Improper session invalidation in the component /doctor/change-password.php of PHPGurukul Doctor Appointment Management System v1 allows attackers to execute a session hijacking attack.
Executive ViewAI
PHPGurukul Doctor Appointment Management System v1.0.0 is vulnerable to session hijacking; publicly available exploit code exists for this vulnerability. Attackers can maintain unauthorized access to doctor accounts even after password changes, exposing patient appointment data and medical records. No vendor patch is currently available.
Force immediate termination of all active doctor sessions upon password change. Implement IP address and device fingerprinting to detect anomalous session access. Require re-authentication for patient data access and sensitive operations. Deploy 15-30 minute session idle timeouts. Monitor and alert on sessions accessing multiple geographic locations or exhibiting unusual access patterns. Limit concurrent active sessions per doctor account to one.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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
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
NVD
CVE.org
EPSS
GitHub
Exploit-DB