Skip to main content

Simple Doctors Appointment System CVE-2026-5180

| EUVDEUVD-2026-17313 MEDIUM
SQL Injection (CWE-89)
2026-03-31 VulDB
5.5
CVSS 4.0 · NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

Real-world risk is HIGH despite the 7.3 CVSS score falling just below 'critical' threshold. Multiple risk signals converge: the CVSS vector shows network-accessible attack requiring no user interaction or authentication (AV:N/AC:L/PR:N/UI:N), meaning any exposed instance is trivially exploitable. Publicly available exploit code exists (GitHub POC at github.com/dyh1213-wq/cve/issues/4), reducing attacker effort to script-kiddie level. The CVSS Environmental score indicates Proof-of-Concept exploitation (E:P) is confirmed. No CISA KEV listing suggests no widespread campaign detected yet, but the low barrier to exploitation and authentication bypass capability make this attractive for opportunistic scanning. SSVC factors indicate high automatable potential (login forms are easily fingerprinted), technical impact includes credential theft and data manipulation, and the system's healthcare context amplifies impact. Contrast with high-CVSS vulnerabilities requiring local access or complex exploitation chains - this is a point-and-shoot web vulnerability with published instructions. Organizations running this application on public networks face immediate risk, especially given SourceCodester's distribution model (free code often deployed without security hardening). The 'Simple' in the product name and free availability suggest wide deployment by smaller medical practices with limited security resources.

Exploit ScenarioDerived

An external attacker performs reconnaissance using automated vulnerability scanners or manual probing to identify Simple Doctors Appointment System deployments by fingerprinting the /admin/ajax.php endpoint and SourceCodester-specific HTML patterns. Using the publicly available GitHub proof-of-concept, the attacker crafts a malicious HTTP POST request to /admin/ajax.php?action=login2, injecting SQL payload into the email parameter such as ' OR '1'='1' -- to bypass authentication, or UNION-based injection to extract database tables. Successful exploitation grants administrative access to the appointment system, exposing patient names, contact information, appointment schedules, and potentially medical notes. The attacker could pivot to exfiltrate the entire database, create backdoor accounts, or modify appointment records for fraud schemes. Given the low attack complexity and no authentication requirement, this attack can be automated and scaled across internet-facing instances identified through Shodan or similar search engines.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 31, 2026

SQL injection in SourceCodester Simple Doctors Appointment System 1.0 allows unauthenticated remote attackers to compromise confidentiality, integrity, and availability via the /admin/ajax.php login endpoint. Attackers manipulate the 'email' parameter to execute arbitrary SQL commands. Publicly available exploit code exists (GitHub POC published), significantly lowering the attack barrier. The CVSS score of 7.3 reflects network-based exploitation requiring low complexity and no privileges, with partial impact across all CIA triad elements. No CISA KEV listing at time of analysis, but the combination of public exploit and authentication bypass capability makes this a realistic threat to internet-facing instances.

RemediationAI

No vendor-released patch identified at time of analysis. SourceCodester products are often distributed as educational code samples without ongoing security maintenance or formal patch cycles. Organizations should immediately implement defense-in-depth controls: first, restrict network access to the /admin/ directory using IP whitelisting, VPN requirements, or removing public exposure entirely. Second, deploy a web application firewall (WAF) with SQL injection signatures targeting the vulnerable endpoint - rules should inspect POST parameters to /admin/ajax.php for SQL metacharacters and injection patterns. Third, conduct code review of the login2 function in ajax.php and implement parameterized queries using PDO prepared statements or mysqli_prepare functions to sanitize the email parameter. For organizations unable to modify the code, consider replacing the application with a maintained alternative that receives security updates. Monitor for the GitHub POC exploit pattern (available at github.com/dyh1213-wq/cve/issues/4) in web access logs. Additional vulnerability intelligence available through VulDB entries 354248 at vuldb.com/vuln/354248. If the application stores protected health information (PHI), treat this as a potential HIPAA breach incident requiring risk assessment per regulatory requirements.

Affected VersionsENISA

Simple Doctors Appointment System 1.0

Affected Packages

euvd simple_doctors_appointment_system no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This vulnerability stems from improper neutralization of special elements in SQL commands (CWE-89), a classic injection flaw in web applications. The affected component is /admin/ajax.php in the login2 action handler, where user-supplied input from the 'email' parameter is concatenated directly into SQL queries without parameterization or adequate sanitization. SourceCodester Simple Doctors Appointment System is a PHP-based web application for managing medical appointments, typically deployed with MySQL/MariaDB backends. The CPE identifier (cpe:2.3:a:sourcecodester:simple_doctors_appointment_system) confirms this is a SourceCodester product. SQL injection at the authentication layer is particularly severe because attackers can bypass login mechanisms entirely, extract database contents (including credentials, patient records), modify data, or escalate to operating system command execution depending on database permissions and configuration. The PHP ecosystem's historical challenges with SQL injection - often due to use of deprecated mysql_* functions or improper use of mysqli/PDO - likely contributed to this flaw.

Know when Simple Doctors Appointment System 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

NVD PRIMARY 5.5 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
CVSS changed
Apr 29, 2026 - 01:11 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
PoC Detected
Apr 01, 2026 - 14:24 vuln.today
Public exploit code
CVE Published
Mar 31, 2026 - 04:00 nvd
MEDIUM 6.9

DescriptionCVE.org

A flaw has been found in SourceCodester Simple Doctors Appointment System 1.0. This vulnerability affects unknown code of the file /admin/ajax.php?action=login2. This manipulation of the argument email causes sql injection. The attack is possible to be carried out remotely. The exploit has been published and may be used.

Executive ViewAI

Why It Matters

SourceCodester Simple Doctors Appointment System 1.0 contains a critical SQL injection vulnerability in the login endpoint that allows unauthenticated attackers to bypass authentication and access patient data, appointment records, and system configurations. With publicly available exploit code and no vendor patch available, any organization running this product on internet-facing servers faces immediate risk of data breach and operational disruption.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict network access to /admin/ajax.php endpoint via firewall or WAF to trusted administrators only; (2) Deploy WAF rules to detect and block SQL injection payloads in the 'email' parameter; (3) Implement database-level access controls limiting appointment system credentials to read-only where operationally feasible; (4) Enable detailed audit logging on authentication attempts and database queries; (5) Isolate affected systems from direct internet access behind VPN or jump-host authentication. These controls reduce exploitation likelihood but do not eliminate risk-patch or replacement is required for full remediation.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Exploit
POC
Public exploit code exists
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Partial

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

Related Vulnerabilities in SourceCodester Doctors Appointment System SQL Injection

View all 3

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy