CVE-2026-94015
7.3SourceCodester · Drug Recommendation System
SourceCodester Drug Recommendation System 1.0 is vulnerable to unauthenticated SQL injection via the id parameter in /drug_recommender/Admin/edit_user.php, allowing full database compromise.
Executive summary
A critical SQL injection vulnerability in SourceCodester Drug Recommendation System 1.0 allows unauthenticated attackers to remotely extract sensitive database information and bypass authentication.
Vulnerability
The application fails to sanitize the id parameter in the /drug_recommender/Admin/edit_user.php endpoint, which is directly concatenated into SQL queries. This flaw allows an unauthenticated remote attacker to execute arbitrary SQL commands against the backend MySQL database.
Business impact
Successful exploitation poses a severe risk to the confidentiality and integrity of the entire application database. Attackers can extract administrative credentials, dump sensitive patient or user data, and potentially gain full control over the application, leading to significant regulatory and reputational consequences. While the CVSS score is 7.3, the potential for full database extraction and authentication bypass warrants treating this as a high-priority incident.
Remediation
Immediate Action: As no official patch is available, administrators should restrict network access to the /Admin directory via firewall or web server configuration to prevent unauthorized access.
Proactive Monitoring: Review web server access logs for suspicious GET requests to /drug_recommender/Admin/edit_user.php, specifically monitoring for patterns involving SQL syntax characters or time-based delay functions.
Compensating Controls: Deploy a Web Application Firewall (WAF) with rules configured to detect and block common SQL injection payloads in URL parameters.
Exploitation status
Public Exploit Available: Yes, a published proof-of-concept exists in the researcher's technical write-up on GitHub.
Analyst recommendation
Given the critical nature of this SQL injection flaw and the availability of public exploitation details, immediate action is required to isolate the vulnerable endpoint. Organizations currently hosting this software should prioritize moving to a more secure alternative or implementing strict network-level access controls until the vendor provides a secure update.
More SourceCodester CVEs all →
History
- Disclosed CVE record published
- Collected by CVE Brief via github
- Analyst report written
- Published in the daily brief high section
Sources
Originally found and disclosed by anubhav106 (VulDB User), per the CVE Program record.
- VDB-407955 | SourceCodester Drug Recommendation System edit_user.php sql injection Vulnerability database entry
- VDB-407955 | CTI Indicators (IOB, IOC, TTP, IOA)
- CVE-2026-94015 | CVE Analysis and Report Third-party advisory
- Submit #944860 | SourceCodester Drug Recommendation System Using Machine Learning, PHP, and MySQL Database 1.0 SQL Injec Third-party advisory
- Exploit / PoC
- sourcecodester.com