CVE-2026-94015
Received Received - Intake

SQL Injection in Drug Recommendation System 1.0

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

Publication date: 2026-09-20

Last updated on: 2026-09-20

Assigner: VulDB

Description

A vulnerability was identified in SourceCodester Drug Recommendation System 1.0. This affects an unknown function of the file /drug_recommender/Admin/edit_user.php. Such manipulation of the argument ID leads to sql injection. The attack may be launched remotely. The exploit is publicly available and might be used.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-20
Last Modified
2026-09-20
Generated
2026-09-20
AI Q&A
2026-09-20
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 edit_user.php file where the ID parameter is improperly handled. Attackers can manipulate this parameter to inject malicious SQL code into queries, allowing them to execute arbitrary commands on the database.

Detection Guidance

To detect SQL injection vulnerabilities like CVE-2026-94015, monitor network traffic for suspicious requests targeting /drug_recommender/Admin/edit_user.php with unusual ID parameters. Use tools like SQLmap to test for SQLi by sending crafted payloads such as ' OR 1=1 -- or ' UNION SELECT null, version() --. Check web server logs for repeated failed login attempts or unexpected database queries.

Impact Analysis

Exploitation could lead to unauthorized access to sensitive data like user credentials, database enumeration, authentication bypass, and administrative access. Attackers might extract or modify data, compromise the system, or gain full control depending on database permissions.

Compliance Impact

This vulnerability likely violates compliance requirements for GDPR and HIPAA due to unauthorized data access and potential data breaches. GDPR mandates protection of personal data, while HIPAA requires safeguarding health information. Exploitation could result in regulatory penalties and legal consequences.

Mitigation Strategies

Immediately update the edit_user.php file to use prepared statements or parameterized queries for the ID parameter. Implement strict input validation to reject non-numeric values for ID. Restrict database user permissions to limit damage from potential exploits. Consider deploying a web application firewall to block SQL injection attempts.

Chat Assistant

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

EPSS Chart