CVE-2026-105177
Received Received - Intake

SQL Injection in Drug Recommendation System 1.0

Vulnerability report for CVE-2026-105177, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-10-05

Last updated on: 2026-10-05

Assigner: VulDB

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-10-05
Last Modified
2026-10-05
Generated
2026-10-05
AI Q&A
2026-10-05
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
sourcecodester drug_recommendation_system 1.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
CWE-74 The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a SQL injection flaw in the Drug Recommendation System 1.0. It exists in the file /Admin/add_drug.php where user input for arguments like txtname, cmdtype, txtusage, txtsideeffect, and cmdcontraindication is not properly sanitized. An attacker can manipulate these inputs to execute arbitrary SQL commands on the database.

Detection Guidance

To detect SQL injection vulnerabilities in the Drug Recommendation System, inspect the /Admin/add_drug.php file for improper input handling in txtname, cmdtype, txtusage, txtsideeffect, and cmdcontraindication parameters. Use tools like SQLmap to test for SQLi by sending crafted payloads to these parameters.

Impact Analysis

An attacker could exploit this to access, modify, or delete sensitive data in the database. This includes patient drug recommendations, user credentials, or other confidential information. The attack can be performed remotely without authentication, increasing the risk of data breaches or system compromise.

Compliance Impact

This vulnerability could lead to non-compliance with GDPR and HIPAA due to unauthorized access or exposure of personal health data. GDPR requires protection of personal data, while HIPAA mandates safeguards for protected health information. A breach could result in legal penalties and reputational damage.

Mitigation Strategies

Immediately update the application to a patched version if available. If not, implement input validation for all user-supplied data in the affected parameters. Use prepared statements with parameterized queries for database interactions. Restrict database user permissions to least privilege.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-105177. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart