CVE-2026-93997
Received Received - Intake

SQL Injection in Drug Recommendation System 1.0

Vulnerability report for CVE-2026-93997, 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 weakness has been identified in SourceCodester Drug Recommendation System 1.0. Affected by this issue is some unknown functionality of the file /Admin/edit_symptom.php. This manipulation of the argument ID causes sql injection. The attack is possible to be carried out remotely. The exploit has been made available to the public and could be used for attacks.

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 /Admin/edit_symptom.php file where the ID parameter is manipulated to inject malicious SQL code. The system fails to sanitize user input, allowing attackers to execute arbitrary SQL commands remotely.

Detection Guidance

To detect this SQL injection vulnerability, you can test the /Admin/edit_symptom.php endpoint with suspicious input in the ID parameter. Use manual payloads like ' OR 1=1 -- or time-based delays such as sleep(10). Tools like sqlmap can automate detection with commands like sqlmap -u 'http://target/Admin/edit_symptom.php?id=1' --batch.

Impact Analysis

An attacker could exploit this to access sensitive data like user credentials, including admin accounts. They may bypass authentication, enumerate databases, or take full control of the system. Tools like sqlmap can automate exploitation to dump database contents.

Compliance Impact

This vulnerability likely violates GDPR and HIPAA due to unauthorized data access and potential exposure of personal health information. It results in data confidentiality loss, which is a critical compliance failure for systems handling sensitive data.

Mitigation Strategies

Immediately replace dynamic SQL queries with prepared statements using PDO or MySQLi. Validate and sanitize all user inputs, especially the ID parameter. Ensure no direct concatenation of user data into SQL queries. Apply input whitelisting where possible.

Chat Assistant

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

EPSS Chart