Skip to main content

Drug Recommendation System CVE-2026-105177

| EUVDEUVD-2026-92162 LOW
SQL Injection (CWE-89)
2026-10-05 VulDB GHSA-46x6-gw8q-rwjw
2.0
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to admin panel (PR:H)
  2. Delivery
    Open Drug Creation form
  3. Exploit
    Inject SQL via txtname/cmdtype parameters
  4. Execution
    Manipulate backend database query
  5. Impact
    Read or modify stored 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 an authenticated administrator session (PR:H) because the vulnerable endpoint /Admin/add_drug.php is part of the admin-only Drug Creation component; the attacker must reach the add-drug form and supply crafted input in the txtname, cmdtype, txtusage, txtsideeffect, or cmdcontraindication POST parameters. No user interaction by a victim is needed (UI:N) and the attack is network-remote (AV:N), but the hard limiting factor is that prior admin-level access is mandatory - this is not exploitable by an anonymous remote user against a default configuration. Impact is bounded to LOW (partial read/write of the application database), not full server compromise.

Impact

This is a low-to-moderate priority issue despite the SQL injection classification. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N) indicates network-reachable, low-complexity exploitation but requires HIGH privileges (PR:H) - the vulnerable endpoint /Admin/add_drug.php sits inside the administrative panel, so an attacker must already hold admin-level access, which sharply limits real-world risk. Impact is rated LOW across confidentiality, integrity, and availability (VC:L/VI:L/VA:L), not a full database takeover, yielding a modest 5.1 (Medium) base score. The E:P temporal flag and the description ('exploit is publicly available') confirm publicly available exploit code exists, 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 signals are internally consistent: a credentialed SQLi with limited impact in niche software. The dominant mitigating factor is the PR:H requirement - an unauthenticated attacker cannot reach this. No EPSS data was supplied, so exploitation probability cannot be quantified from the input.

Exploit ScenarioDerived

An attacker who has already obtained administrator credentials to the Drug Recommendation System logs into the admin panel and navigates to the drug creation feature. They submit the add-drug form with a malicious SQL payload in one of the txtname, cmdtype, txtusage, txtsideeffect, or cmdcontraindication parameters, causing the backend query to be manipulated to read or alter database contents. Public exploit code for this parameter injection is available, lowering the skill required to reproduce the attack.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Oct 05, 2026

SQL injection in the admin Drug Creation routine of SourceCodester Drug Recommendation System 1.0 lets an attacker with an existing administrator session read and tamper with the application's database by submitting crafted values through the txtname, cmdtype, txtusage, txtsideeffect, or cmdcontraindication parameters of /Admin/add_drug.php. The hard prerequisite is prior admin-level access (CVSS PR:H / the assessed CVSS:3.1 vector PR:H), so this is not exploitable by an anonymous remote user against a default installation, and impact is bounded to partial confidentiality, integrity and availability of the application database. Publicly available exploit code exists (the CVSS 4.0 vector carries E:P), although there is no indication of confirmed active exploitation (not in CISA KEV), and the issue should be treated as low-to-moderate priority relative to the SQL injection classification.

RemediationAI

No vendor-released patch or fixed version is identified at time of analysis, so remediation must be code-level and compensating. The durable fix is to rewrite the insert/update logic in /Admin/add_drug.php to use parameterized queries (PDO or mysqli prepared statements with bind_param) for txtname, cmdtype, txtusage, txtsideeffect and cmdcontraindication, and to apply strict server-side allow-listing/type validation on those fields; where the source is not maintained in-house, this means forking and patching the file directly. Until that is done, restrict the entire /Admin/ path to trusted management networks (VPN, IP allow-list, or reverse-proxy authentication), which fully removes the network attack surface but blocks remote administration; if the Drug Creation form is not required, disable or delete /Admin/add_drug.php entirely. Additional layers with their trade-offs: run the application's database account with least privilege and no FILE/stacked-query capabilities (limits injection payoff but does not stop data theft), enable a WAF rule set for SQLi payloads on POST bodies (bypassable via encoding/obfuscation and prone to false positives), and log/alert on anomalous admin POST traffic. Because proof-of-concept exploit code is publicly available, prioritise hardening or removal of the admin endpoint over passive monitoring. Track https://vuldb.com/vuln/413409 and https://www.sourcecodester.com/ for a vendor fix, and note that the absence of patch data in the current sources is not proof that no fix exists.

Affected VersionsENISA

Drug Recommendation System 1.0

Affected Packages

euvd drug_recommendation_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

The target is a PHP-based open-source drug recommendation/pharmacy web application distributed by SourceCodester, where CPE data (cpe:2.3:a:sourcecodester:drug_recommendation_system) confirms the vendor and product but attaches no version boundary, meaning the reported behaviour applies to the 1.0 release as published. The defect class is CWE-89, improper neutralization of special elements used in an SQL command: the admin script /Admin/add_drug.php apparently concatenates attacker-controlled POST fields (txtname, cmdtype, txtusage, txtsideeffect, cmdcontraindication) directly into a database query instead of binding them as prepared-statement parameters, so injected SQL syntax is interpreted by the backend database engine. 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 shows a network-reachable, low-complexity, no-special-conditions attack that nevertheless requires high privileges, needs no victim interaction, and stays within the same security scope, producing only low-level read, write and availability effects rather than full server compromise or database-engine command execution. The E:P metric reflects proof-of-concept exploit maturity, which aligns with the report that exploit code is publicly available, but is distinct from evidence of real-world attacks.

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

Vendor (VulDB) PRIMARY 2.0 MEDIUM
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
vuln.today AI 4.7 MEDIUM

Admin-only endpoint requires authenticated high privileges (PR:H); network-reachable with simple crafted input (AV:N/AC:L); limited partial database read/write yields C:L/I:L/A:L with no scope change.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
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

2
Severity Changed
Oct 05, 2026 - 02:22 NVD
MEDIUM LOW
CVSS changed
Oct 05, 2026 - 02:22 NVD
5.1 (MEDIUM) 2.0 (LOW)

DescriptionCVE.org

A vulnerability was identified in SourceCodester Drug Recommendation System 1.0. The affected element is an unknown function of the file /Admin/add_drug.php of the component Drug Creation. Such manipulation of the argument txtname/cmdtype/txtusage/txtsideeffect/cmdcontraindication leads to sql injection. The attack may be performed from remote. The exploit is publicly available and might be used.

Threat Intelligence Overview

EPSS Score
0.3%
Top 78% exploitable
Prevalence
Rare
SourceCodester hobby/educational PHP project, negligible production footprint
Data Quality
6 sources
Confidence: High

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 LOW
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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· derived
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: 0
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.

CVE-2026-105704 MEDIUM POC
5.5 Oct 06

Authentication bypass in SourceCodester Drug Recommendation System 1.0 lets remote, unauthenticated attackers impersonat

CVE-2026-94015 MEDIUM POC
5.5 Sep 20

SQL injection in SourceCodester Drug Recommendation System 1.0 lets a remote attacker manipulate the SQL query behind /d

CVE-2026-93997 MEDIUM POC
5.5 Sep 20

SQL injection in SourceCodester Drug Recommendation System 1.0 allows remote attackers to manipulate the ID parameter in

CVE-2026-94035 LOW POC
2.1 Sep 20

Cross-site scripting in SourceCodester Drug Recommendation System 1.0 allows unauthenticated remote attackers to inject

CVE-2026-105705 LOW POC
2.1 Oct 06

Cross-site scripting (XSS) in SourceCodester Drug Recommendation System 1.0 allows remote attackers to inject malicious

CVE-2026-105706 LOW POC
2.1 Oct 06

Cross-site request forgery in SourceCodester Drug Recommendation System 1.0 allows a remote attacker to make an authenti

CVE-2026-94033 LOW POC
2.0 Sep 20

Stored cross-site scripting in SourceCodester Drug Recommendation System 1.0 allows an authenticated user with access to

CVE-2026-94016 LOW POC
1.9 Sep 20

Stored cross-site scripting in the admin symptom-management form (drug_recommender/Admin/add_symptom) of SourceCodester

CVE-2026-108919 LOW
2.1 Oct 12

Cross-site scripting in SourceCodester Drug Recommendation System 1.0 allows remote, unauthenticated attackers to inject

CVE-2026-108920 LOW
2.1 Oct 12

Stored cross-site scripting in SourceCodester Drug Recommendation System 1.0 lets unauthenticated remote attackers injec

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