CVE-2025-4895 Details
Description
A vulnerability, which was classified as critical, has been found in SourceCodester Doctors Appointment System 1.0. This issue affects some unknown processing of the file /admin/delete-session.php. The manipulation of the argument ID leads to sql injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.
A critical SQL injection vulnerability has been identified in SourceCodester Doctors Appointment System version 1.0. The issue arises in the file '/admin/delete-session.php', where the 'id' parameter is improperly validated, allowing attackers to inject malicious SQL queries. This vulnerability can be exploited remotely without authentication, potentially leading to unauthorized database access, data manipulation, and leakage of sensitive information.
It is recommended to use prepared statements and parameter binding to prevent SQL injection. Additionally, input validation and filtering should be implemented to ensure user input conforms to expected formats. Minimizing database user permissions and conducting regular security audits can also help mitigate such vulnerabilities.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 19, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Xiaoyi-ing/CVE/issues/11 | CISA-ADP | ExploitIssue TrackingThird Party Advisory |
| https://github.com/Xiaoyi-ing/CVE/issues/11 | [email protected] | ExploitIssue TrackingThird Party Advisory |
| https://vuldb.com/?ctiid.309449 | [email protected] | Permissions RequiredThird Party AdvisoryVDB Entry |
| https://vuldb.com/?id.309449 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.578022 | [email protected] | Third Party AdvisoryVDB Entry |
| https://www.sourcecodester.com/ | [email protected] | Product |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| hshnudr doctors appointment system | 1.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 21, 2025 | Initial Analysis | [email protected] |
| May 19, 2025 | CVE Modified | CISA-ADP |
| May 18, 2025 | New CVE Received | [email protected] |