Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach public add_student.php endpoint
-
ExploitInject SQL via cmdschool parameter
-
ExecutionBackend executes tainted query
-
ImpactExtract or alter 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 network access to a deployed instance of SourceCodester Drug Recommendation System 1.0 where the /Auth/add_student.php Student Registration endpoint is reachable; the attacker supplies a malicious value in the cmdschool parameter. Per the CVSS 4.0 vector (PR:N/UI:N), no authentication and no user interaction are required, and no non-default configuration is indicated - the registration endpoint appears exposed by default. The principal limiting factor is deployment scope: this is a niche academic/demo PHP application that is rarely run in production or exposed to the internet, which sharply reduces real-world reachability despite the favorable attack vector. |
| Impact | Signals are mostly consistent and point to a real but moderate-priority issue rather than an emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes a remotely reachable, low-complexity, unauthenticated SQL injection, which is a genuinely attacker-favorable profile. However, impact is bounded: VC:L/VI:L/VA:L with no subsequent-system impact (SC:N/SI:N/SA:N) yields a base score of only 6.9 (Medium), reflecting limited partial impact to confidentiality, integrity, and availability rather than full database compromise or RCE. The exploit maturity metric E:P (Proof-of-Concept) aligns with the description stating public exploit code exists - publicly available exploit code exists. No CISA KEV listing and no EPSS score were provided, so there is no evidence of confirmed active exploitation; the presence of a POC is a distinct, lower signal than in-the-wild use. The dominant mitigating factor is the target: SourceCodester Drug Recommendation System is a small open-source PHP demo/academic application with negligible enterprise footprint, so despite the unauthenticated-remote vector the realistic blast radius is small. Net: treat as a routine Medium - patch or sanitize input where this code is deployed, but it is not a CVSS-inflated phantom nor a mass-exploitation priority. |
| Exploit ScenarioDerived | A remote, unauthenticated attacker sends a crafted request to /Auth/add_student.php with a malicious payload in the cmdschool parameter, which is concatenated into a SQL query during student registration. Because public proof-of-concept exploit code exists and no authentication or user interaction is required, an attacker can extract or manipulate limited database contents (e.g., dumping credential or student records). The low attack complexity means the request can be delivered with a simple HTTP client or automated with sqlmap. |
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 unauthenticated remote attackers to execute arbitrary SQL commands via the cmdschool parameter in /Auth/add_student.php. A public exploit has been released (publicly available exploit code exists; no evidence of active exploitation in CISA KEV) and the CVSS 4.0 base score is 6.9 (medium). The vulnerability is limited to low confidentiality, integrity, and availability impact, and real-world risk is low because the application is a niche academic/demo PHP project rarely exposed to the internet.
RemediationAI
No vendor-released patch has been identified at time of analysis; monitor the vendor site (https://www.sourcecodester.com/) and VulDB (https://vuldb.com/vuln/413407) for updates. As compensating controls, implement parameterized queries or stored procedures for the cmdschool parameter in /Auth/add_student.php; enforce strict input validation on all registration fields; deploy a web application firewall (WAF) with SQL injection signatures; and restrict or disable the /Auth/add_student.php endpoint if student registration is not essential (e.g., via .htaccess IP allowlisting or removing the file), noting that this breaks legitimate registration functionality. If the application is not internet-facing, limit exposure to trusted networks. No exact fix version is available.
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 CWE-89 (SQL Injection) flaw exists in the Student Registration component's /Auth/add_student.php script, where the cmdschool parameter is incorporated into an SQL query without proper sanitization or parameterization. An attacker can supply crafted SQL statements to read, modify, or delete database contents, or potentially execute administrative operations on the database. The application is written in PHP (per tags) and the CPE cpe:2.3:a:sourcecodester:drug_recommendation_system:*:*:*:*:*:*:*:* indicates all versions are affected. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P) confirms network reachability, no authentication, no user interaction, and low impact; the 'E:P' temporal metric reflects the public exploit. The independent assessment aligns with a moderate-priority issue rather than an emergency.
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:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Remote unauthenticated injection with no user interaction (AV:N/AC:L/PR:N/UI:N); impacts limited to partial C/I/A on the same database-backed app, so S:U and C/I/A:L.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
1DescriptionCVE.org
A vulnerability was found in SourceCodester Drug Recommendation System 1.0. This issue affects some unknown processing of the file /Auth/add_student.php of the component Student Registration. The manipulation of the argument cmdschool results in sql injection. The attack can be executed remotely. The exploit has been made public and could be used.
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-92160
GHSA-rgg9-c68m-whj3
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB