Cyber Posture

CVE-2025-2640

HighPublic PoC

Published: 23 March 2025

Published
23 March 2025
Modified
02 April 2025
KEV Added
Patch
CVSS Score 7.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
EPSS Score 0.0005 16.4th percentile
Risk Priority 15 60% EPSS · 20% KEV · 20% CVSS

Description

Adversaries may leverage databases to mine valuable information.

Security Summary

CVE-2025-2640 is a critical SQL injection vulnerability in PHPGurukul Doctor Appointment Management System version 1.0. The flaw resides in the processing of the /doctor/appointment-bwdates-reports-details.php file, where the fromdate and todate parameters are vulnerable to manipulation, enabling SQL injection attacks. It is associated with CWE-74 (Improper Neutralization of Special Elements used in an SQL Command) and CWE-89 (SQL Injection).

The vulnerability can be exploited remotely by unauthenticated attackers over the network with low complexity and no user interaction required, as indicated by its CVSS v3.1 base score of 7.3 (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L). Successful exploitation allows limited impacts on confidentiality, integrity, and availability, potentially permitting unauthorized data access, modification, or disruption within the application's database.

Advisories referenced in VulDB entries (ctiid.300641, id.300641, submit.519644) and a GitHub issue detail the vulnerability and note that the exploit has been publicly disclosed, increasing the risk of active use. The vendor site at phpgurukul.com provides context on the affected software, but no specific patches or mitigations are outlined in the available references.

The public disclosure of the exploit heightens the urgency for organizations using this system to review and harden input validation on the affected endpoints.

Details

CWE(s)
CWE-74CWE-89

Affected Products

phpgurukul
doctor appointment management system
1.0.0

MITRE ATT&CK Enterprise Techniques

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1505 Server Software Component Persistence
Adversaries may abuse legitimate extensible development features of servers to establish persistent access to systems.
T1213.006 Databases Collection
Adversaries may leverage databases to mine valuable information.
Why these techniques?

Unauthenticated SQL injection in public-facing web application (/doctor/appointment-bwdates-reports-details.php) enables exploitation of public-facing apps (T1190), arbitrary SQL command execution via server software component (T1505), and data collection from databases (T1213.006) including enumeration and leakage.

References