Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach Admin/add_user.php user-management endpoint
-
ExploitInject SQL payload via txtpassword argument
-
ExecutionManipulate backend database query
-
ImpactRead 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 targets the txtpassword argument of the Admin/add_user.php script in the User Management component; the attacker must be able to submit that parameter to the add-user handler and the value must reach the vulnerable SQL query. The CVSS vector marks it AV:N/AC:L/PR:N/UI:N (remote, no user interaction), but the Admin-side location of the endpoint strongly implies an administrative/authenticated context - the sources do not state whether that authentication is enforced or can be bypassed, which is the primary factor limiting realistic exploitation. The product itself is a niche, rarely deployed application, further narrowing real-world exposure. |
| Impact | This is a medium-severity SQL injection (CWE-89) in SourceCodester Drug Recommendation System 1.0, a small open-source PHP application, and the signals point to limited real-world priority rather than an urgent threat. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) with partial impact across VC/VI/VA scores 5.5; the SSVC framework lists Exploitation: poc, Automatable: yes, Technical Impact: partial, and the vuln.today decision label is this_month - not act_now or emergency. No KEV listing and no EPSS score were provided, so there is no evidence of active exploitation or a modeled exploitation probability. A key conflict to verify: the CVSS vector asserts PR:N (unauthenticated), but the affected element is Admin/add_user.php within the User Management component, which normally sits behind an administrative login - the sources do not confirm whether authentication is enforced or can be bypassed, so the unauthenticated rating should be treated as unverified. Overall this reads as a genuine but low-urgency issue: a real injection flaw in a rarely deployed product, with a public PoC reference that is not confirmed as working exploit code. |
| Exploit ScenarioDerived | A remote attacker reaches the Admin/add_user.php user-creation endpoint and supplies a crafted value in the txtpassword argument, which is concatenated into a backend SQL query, allowing the attacker to alter the query and read or modify database contents. A public PoC reference exists but is not verified as working exploit code, and whether reaching the endpoint requires an authenticated admin session is not confirmed by the sources. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
SQL injection in SourceCodester Drug Recommendation System 1.0 allows remote attackers to manipulate the txtpassword argument in Admin/add_user.php within the User Management component, with assessed partial loss of confidentiality, integrity, and availability. The endpoint is administrative and the assessed CVSS 3.1 vector requires low privileges (PR:L), while the supplied CVSS 4.0 string lists PR:N and the sources do not confirm whether admin authentication is enforced or bypassable. A public PoC reference exists but is not verified as working exploit code, and CISA SSVC records PoC-level exploitation with automatable delivery, supporting a this_month priority rather than emergency action.
RemediationAI
No vendor-released patch was identified at time of analysis; the available references are the VulDB entry https://vuldb.com/vuln/446938, the VulDB CVE page https://vuldb.com/cve/CVE-2026-140587, and the NVD entry https://nvd.nist.gov/vuln/detail/CVE-2026-140587, with ENISA EUVD-2026-140162. Compensating controls include restricting access to Admin/add_user.php to trusted administrative networks or IP addresses, which lowers exposure but can disrupt legitimate remote admin workflows; enforcing authentication and authorization for the admin interface at a reverse proxy or web server, with the caveat that the sources do not confirm whether the application already enforces it; deploying WAF rules focused on the txtpassword parameter on that endpoint, accepting possible false positives; and, if maintaining the code, reviewing the add_user.php SQL handling of txtpassword and replacing dynamic query construction with parameterized statements. Given the this_month decision label and PoC-level SSVC exploitation signal, schedule remediation in the current monthly cycle rather than emergency response.
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
CWE-89 SQL injection in a PHP web application, SourceCodester Drug Recommendation System 1.0 (CPE cpe:2.3:a:sourcecodester:drug_recommendation_system:*:*:*:*:*:*:*:*), specifically the User Management component's Admin/add_user.php script. The txtpassword argument is the manipulated input and reaches a SQL query, but the sources do not describe the query construction, sanitization, or exact trigger beyond that parameter path. The Admin-side location implies an administrative context; the independent assessment uses CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L, whereas the supplied CVSS 4.0 vector is AV:N/AC:L/AT:N/PR:N/UI:N with E:P, and the sources do not resolve whether the admin authentication is enforced or bypassable. Tags identify PHP, SQLi, Sourcecodester, and Drug Recommendation System; SSVC marks exploitation as poc, automatable yes, technical impact partial.
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
Admin/add_user.php is a user-management endpoint implying an authenticated admin context, so PR:L; network SQLi with low complexity yields partial read/write impact (C/I/A:L).
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability was detected in SourceCodester Drug Recommendation System 1.0. The impacted element is an unknown function of the file Admin/add_user.php of the component User Management. Performing a manipulation of the argument txtpassword results in sql injection. The attack is possible to be carried out remotely. The exploit is now public and may 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.
More 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
Reflected cross-site scripting in SourceCodester Drug Recommendation System 1.0 allows remote unauthenticated attackers
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
SQL injection in SourceCodester Drug Recommendation System 1.0 allows unauthenticated remote attackers to execute arbitr
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-140162
GHSA-phrv-wm25-4g8w
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB