Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify internet-facing Pharmacy Sales and Inventory System instance
-
DeliverySend unauthenticated HTTP request to ShowForm.php
-
ExploitInvoke sell_statement function directly
-
ExecutionAccess control check absent, request processed
-
ImpactRetrieve sensitive sales statement records
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
MITRE ATT&CK
1 technique across 1 tactic: Defense Evasion The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | No special configuration is required - the CVSS vector AV:N/AC:L/PR:N/UI:N confirms this is remote unauthenticated exploitation against default deployments of SourceCodester Pharmacy Sales and Inventory System 1.0. The sole exploitation requirement is that the application is network-reachable and the ShowForm.php controller is accessible via HTTP/HTTPS. Exploitation is limited by the following factors: (1) impact is read-only (C:L, I:N, A:N), so attackers cannot modify or delete data through this vector alone; (2) the application is a niche PHP script primarily deployed by small pharmacy operators rather than enterprise infrastructure, limiting the attack surface population; (3) scope is unchanged (S:U), meaning exploitation cannot pivot to the underlying host OS or other applications. No authentication, elevated privilege, or non-default configuration is needed to trigger the vulnerability. |
| Impact | The CVSS 3.1 base score of 5.3 (Medium) reflects limited impact: confidentiality is partially compromised (C:L) while integrity and availability are unaffected (I:N/A:N). However, several signals elevate practical priority. The CVSS temporal vector includes E:P (proof-of-concept exploit maturity confirmed), and a public exploit is hosted on GitHub (https://github.com/timeflies123/cve/issues/7). Attack conditions are maximally permissive: AV:N/AC:L/PR:N/UI:N means any unauthenticated internet user can attempt exploitation with no special setup. The RC:R (Reasonable confidence) temporal metric indicates the vulnerability is not yet fully confirmed by the vendor but is credibly reported. EPSS data was not provided in the input - this is a missing signal that would help quantify automated scanning risk. The CVE is not listed in CISA KEV, so confirmed active exploitation is not established. This is a real, exploitable access control bypass, not a theoretical risk - but its impact ceiling is capped at read-only access to sales data. |
| Exploit ScenarioDerived | An unauthenticated remote attacker identifies a publicly accessible installation of SourceCodester Pharmacy Sales and Inventory System 1.0 and sends a crafted HTTP GET or POST request directly to the sell_statement endpoint in ShowForm.php, bypassing the application's access control. Because no session validation is enforced, the server processes the request and returns pharmacy sales statement records - potentially exposing patient purchase history, drug sales data, or inventory financials. A functional proof-of-concept demonstrating this bypass is publicly available at https://github.com/timeflies123/cve/issues/7, lowering the skill threshold for exploitation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 01, 2026
Unauthenticated remote information disclosure in SourceCodester Pharmacy Sales and Inventory System 1.0 allows network-based attackers to bypass access controls and read sensitive sales statement data via the sell_statement function in application/controllers/ShowForm.php. The CVSS vector confirms PR:N (no authentication required) with low access complexity, and a proof-of-concept exploit has been publicly disclosed via GitHub. No KEV listing at time of analysis, but the combination of unauthenticated network access and available exploit code elevates practical risk beyond the moderate CVSS 5.3 score alone.
RemediationAI
No vendor-released patch has been identified at time of analysis; the NVD CPE uses a wildcard version with no fixed release noted. As an immediate compensating control, restrict direct HTTP access to the application/controllers/ShowForm.php endpoint at the web server level (e.g., Apache .htaccess or nginx location block) so that unauthenticated requests to that controller path return 403 - note this may break legitimate UI flows that invoke sell_statement and will require regression testing. A second control is to add a PHP session authentication check at the top of the sell_statement function (e.g., verify $_SESSION['user_id'] is set before executing logic), which is a targeted code fix with no expected side effects if session management is already functional elsewhere in the application. If the application is internet-facing, deploying a WAF rule to block unauthenticated requests to ShowForm.php is an additional layer. Refer to VulDB entry https://vuldb.com/vuln/367533 for any updated patch status from the reporter.
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 affected system is a PHP-based web application (SourceCodester Pharmacy Sales and Inventory System, CPE: cpe:2.3:a:sourcecodester:pharmacy_sales_and_inventory_system:*:*:*:*:*:*:*:*) using a standard MVC controller architecture. The vulnerable component is the sell_statement function within application/controllers/ShowForm.php, a controller endpoint responsible for rendering sales statement data. The root cause is CWE-284 (Improper Access Control): the function does not enforce authentication or authorization checks before serving sensitive records, consistent with the 'Authentication Bypass' tag assigned to this CVE. This class of flaw typically arises when PHP controller endpoints are reachable via direct URL invocation without a session or role validation gate - meaning the framework routing exposes the function to unauthenticated callers.
Know when Pharmacy Sales And Inventory 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:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
1DescriptionCVE.org
A vulnerability has been found in SourceCodester Pharmacy Sales and Inventory System 1.0. Affected by this vulnerability is the function sell_statement of the file application/controllers/ShowForm.php. Such manipulation leads to improper access controls. The attack can be launched remotely. The exploit has been disclosed to the public and may be used.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Pharmacy Sales And Inventory System v1.0 is vulnerable to SQL Injection via /pharmacy-sales-and-inventory-system/manage_
SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to execu
SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to read,
SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to extra
SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to execu
SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 exposes the `/ajax.php?action=save_product` endp
SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to read,
SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to execu
SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to execu
SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to extra
SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows unauthenticated remote attackers to extra
SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows unauthenticated remote attackers to execu
EUVD-2026-33634
GHSA-3wvj-gh52-3xp8
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB