Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain admin credentials/session
-
ExploitSend crafted ID parameter to edit_class.php
-
ExecutionInject SQL via unsanitized input
-
ImpactRead or modify database records
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. |
| Exploitation Conditions | Exploitation requires authenticated administrative access to the application, because the vulnerable endpoint resides under the /Admin/ path (edit_class.php) and the CVSS 4.0 vector specifies PR:H. The attacker then supplies a malicious value in the ID parameter of the edit_class.php request; no user interaction is needed (UI:N) and the attack is network-reachable (AV:N) with low complexity (AC:L). The primary limiting factor is the high-privilege precondition - a non-admin cannot reach this code path - which sharply narrows the realistic threat to insider misuse or post-compromise lateral actions rather than unauthenticated internet-wide attacks. Product footprint (a niche SourceCodester application, version 1.0) further limits practical exposure. |
| Impact | This is a low-to-moderate priority issue that is unlikely to warrant emergency patching in most environments. The CVSS 4.0 vector (CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L) scores only 5.1 and critically requires PR:H - high privileges. Because the vulnerable endpoint is /Admin/edit_class.php, an attacker must already hold administrative access, which drastically limits real-world exploitability since an admin can typically already manipulate the underlying data directly. Exploitation signals are mixed: a public exploit has been disclosed (E:P in the vector and the description both confirm POC availability), but there is NO CISA KEV listing and NO EPSS score was provided in the input, so there is no evidence of active or widespread exploitation. The 'E:P' (Proof-of-Concept) exploit maturity aligns with publicly available exploit code rather than weaponized in-the-wild use. The combination of a self-hosted hobby PHP application, a required admin precondition, and only Low (partial) impact to confidentiality, integrity, and availability means this is a high-CVSS-relative-to-product but genuinely low-real-risk issue for the broader internet. No key signals conflict with each other, though the absence of EPSS/KEV data means exploitation likelihood must be inferred from POC existence alone. |
| Exploit ScenarioDerived | An authenticated administrator (or an attacker who has already compromised an admin session via other means) sends a crafted value in the ID parameter to /Admin/edit_class.php, injecting SQL that is executed against the backend database. A public proof-of-concept exists, so the injection string is already documented and trivially reusable. Because network attack vector and low complexity apply, the request can be issued remotely once valid admin credentials or a session are obtained. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 05, 2026
SQL injection in SourceCodester Drug Recommendation System 1.0 allows an authenticated administrator to manipulate the ID parameter of /Admin/edit_class.php and execute arbitrary SQL against the underlying database. The vulnerability is network-reachable with low complexity but requires high privileges (PR:H), limiting practical exploitation to malicious insiders or attackers who have already compromised an admin account; a publicly available exploit code exists, though no active exploitation has been confirmed. Given the niche product and the high-privilege precondition, this is a low-to-moderate priority issue that is unlikely to warrant emergency patching in most environments.
RemediationAI
No vendor-released patch was identified at time of analysis, and the product is a niche SourceCodester application with no confirmed update. Until a fix is available, administrators should enforce the principle of least privilege for admin accounts, restrict network access to the /Admin/ directory (e.g., via IP allowlisting or a web application firewall) so that only trusted management hosts can reach edit_class.php, and consider disabling the class-editing function if it is not actively used. These compensating controls reduce exposure but may hinder legitimate administrative workflows and require ongoing maintenance. Because publicly available exploit code exists, monitor web server logs for anomalous requests containing SQL syntax in the ID parameter, and review database activity for unexpected modifications. Given the high-privilege precondition, emergency patching is not warranted; prioritize remediation in environments where multiple users share administrative access or where the application is internet-facing.
Affected VersionsENISA
Affected Packages
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
The vulnerability is a CWE-89 SQL injection in a PHP-based web application, SourceCodester Drug Recommendation System, which manages drug-related data. The affected endpoint, /Admin/edit_class.php, is part of the administrative interface and processes an ID argument without proper sanitization or parameterization, allowing an attacker to inject SQL syntax that alters the intended query. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P) confirms network reachability, low attack complexity, no user interaction, and a proof-of-concept exploit, but requires high privileges (PR:H) and results in only low confidentiality, integrity, and availability impact. The CPE string cpe:2.3:a:sourcecodester:drug_recommendation_system:*:*:*:*:*:*:*:* indicates that all versions of the product are potentially affected, though the disclosed issue targets version 1.0.
Know when Drug Recommendation 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Admin-only endpoint under /Admin/ forces PR:H; network-reachable low-complexity injection yields partial C/I/A impact, consistent with the vendor-style 4.0 vector.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability was determined in SourceCodester Drug Recommendation System 1.0. Impacted is an unknown function of the file /Admin/edit_class.php. This manipulation of the argument ID causes sql injection. The attack is possible to be carried out remotely. The exploit has been publicly disclosed and may be utilized.
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
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Related Vulnerabilities in Drug Recommendation System SQL Injection Flaws
View all 5More in Drug Recommendation System
View allAuthentication bypass in SourceCodester Drug Recommendation System 1.0 lets remote, unauthenticated attackers impersonat
SQL injection in SourceCodester Drug Recommendation System 1.0 lets a remote attacker manipulate the SQL query behind /d
SQL injection in SourceCodester Drug Recommendation System 1.0 allows remote attackers to manipulate the ID parameter in
Cross-site scripting in SourceCodester Drug Recommendation System 1.0 allows unauthenticated remote attackers to inject
Cross-site scripting (XSS) in SourceCodester Drug Recommendation System 1.0 allows remote attackers to inject malicious
Cross-site request forgery in SourceCodester Drug Recommendation System 1.0 allows a remote attacker to make an authenti
Stored cross-site scripting in SourceCodester Drug Recommendation System 1.0 allows an authenticated user with access to
Stored cross-site scripting in the admin symptom-management form (drug_recommender/Admin/add_symptom) of SourceCodester
Cross-site scripting in SourceCodester Drug Recommendation System 1.0 allows remote, unauthenticated attackers to inject
Stored cross-site scripting in SourceCodester Drug Recommendation System 1.0 lets unauthenticated remote attackers injec
EUVD-2026-92161
GHSA-gm85-mv6c-c472
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB