Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege user
-
ExploitSend crafted ID parameter to view.php
-
ExecutionBreak out of SQL query via injection
-
ImpactExtract or manipulate database 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 session with at least low-level privileges (CVSS PR:L) to reach the /SimplePharmacy-PHP/product/view.php endpoint, which then passes an unsanitized ID parameter into a SQL query. No user interaction is required (UI:N) and the attack is remote over the network (AV:N) with low complexity (AC:L). The primary limiting factors are the authentication requirement and the product's extremely limited deployment; no non-default configuration is needed once a valid account exists. |
| Impact | This is a low-to-moderate priority issue despite being a SQL injection flaw. The vendor-supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L, base 5.3) indicates a network-reachable, low-complexity attack requiring low-level privileges (PR:L) with only limited confidentiality, integrity, and availability impact on the vulnerable system. A public exploit exists (publicly available exploit code exists), which raises practical risk, but there is no CISA KEV listing and no EPSS score provided, so there is no evidence of widespread or automated exploitation at this time. The 'E:P' (Proof-of-Concept exploit maturity) in the vector is consistent with the POC reference rather than confirmed in-the-wild use. The most important mitigating factor is prevalence: CodeAstro Simple Pharmacy Management System is a small tutorial/source-code PHP project with negligible enterprise footprint, so real-world exposure is minimal. Note a tension in the signals: SQL injection on an unsanitized ID parameter frequently permits full database read (which would justify higher confidentiality impact than the vendor's VC:L) - VulDB auto-generated scores tend to be conservative, so the real confidentiality impact may be understated; verify against the actual query context. |
| Exploit ScenarioDerived | An attacker with a low-privilege authenticated account (PR:L) sends a crafted value in the ID parameter to /SimplePharmacy-PHP/product/view.php, injecting SQL that the application concatenates directly into a query. Because publicly available exploit code exists (referenced via the GitHub issue), an attacker can replicate the technique to enumerate or extract database contents such as patient/product or user records remotely. Low attack complexity means no special timing or configuration is needed beyond having a valid session. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 02, 2026
SQL injection in CodeAstro Simple Pharmacy Management System 1.0 allows authenticated remote attackers to execute arbitrary SQL queries via the ID parameter in /SimplePharmacy-PHP/product/view.php, leading to high confidentiality impact and limited integrity impact. Exploitation requires a low-privileged account, and no user interaction is needed. Publicly available exploit code exists, though no confirmed active exploitation (CISA KEV) has been reported. The product has extremely limited deployment, making this a low-to-moderate priority issue.
RemediationAI
No vendor-released patch identified at time of analysis. Until an official fix is available, administrators should ensure that only trusted users have accounts, as exploitation requires authentication. Implement input validation on the ID parameter to accept only integer values, and replace dynamic SQL queries with parameterized statements or prepared statements in the application code if custom modifications are possible. Additionally, consider restricting access to /SimplePharmacy-PHP/product/view.php via web server rules (e.g., IP allowlisting for administrative networks) or temporarily disabling the endpoint if it is not essential. Deploy a web application firewall (WAF) with SQL injection rules as a compensating control, though this may be bypassed by advanced attackers. Monitor database and web logs for suspicious queries or unexpected data access. Consult the vendor site at https://codeastro.com/ for future updates and the VulDB entry at https://vuldb.com/vuln/412922 for any patch information that may become available.
Affected VersionsENISA
Affected Packages
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 vulnerability is a classic SQL injection (CWE-89) in a PHP-based web application. The affected endpoint, /SimplePharmacy-PHP/product/view.php, takes an 'ID' parameter from the user and passes it into a SQL query without proper sanitization or parameterization. This allows an attacker to inject arbitrary SQL commands, potentially reading sensitive data (e.g., user credentials, inventory, sales records) or modifying database contents. The CPE string cpe:2.3:a:codeastro:simple_pharmacy_management_system:*:*:*:*:*:*:*:* identifies CodeAstro's Simple Pharmacy Management System as the affected product. According to the independent assessment, the flaw requires authenticated access with at least low-level privileges (PR:L) and can be exploited remotely without user interaction. The CVSS 4.0 vector shows E:P, indicating proof-of-concept exploit code is available, which aligns with the public exploit reported in the references.
Know when Simple Pharmacy Management 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Authenticated (PR:L) remote SQLi over the network with low complexity; injection typically enables full database read (C:H) with limited write (I:L) and no availability impact.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability was determined in CodeAstro Simple Pharmacy Management System 1.0. This vulnerability affects unknown code of the file /SimplePharmacy-PHP/product/view.php. This manipulation of the argument ID causes sql injection. The attack can be initiated remotely. The exploit has been publicly disclosed and may be utilized.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
A vulnerability was determined in CodeAstro Simple Pharmacy Management 1.0. Rated medium severity (CVSS 5.3), this vulne
SQL injection in CodeAstro Simple Pharmacy Management System 1.0 allows an authenticated remote attacker to inject arbit
EUVD-2026-91632
GHSA-fh66-7c3w-2478
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB