Skip to main content

Pharmacy Sales and Inventory System EUVDEUVD-2026-33634

| CVE-2026-10255 MEDIUM
Improper Access Control (CWE-284)
2026-06-01 VulDB GHSA-3wvj-gh52-3xp8
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify internet-facing Pharmacy Sales and Inventory System instance
  2. Delivery
    Send unauthenticated HTTP request to ShowForm.php
  3. Exploit
    Invoke sell_statement function directly
  4. Execution
    Access control check absent, request processed
  5. Impact
    Retrieve 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Pharmacy Sales and Inventory System 1.0

Affected Packages

euvd pharmacy_sales_and_inventory_system no fix

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

Vendor (VulDB) PRIMARY 5.5 MEDIUM
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
Jun 01, 2026 - 13:22 NVD
5.3 (MEDIUM) 5.5 (MEDIUM)

DescriptionCVE.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

EPSS Score
0.0%
Top 89% exploitable
Exploit
POC
Public exploit code exists
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2022-30407 CRITICAL POC
9.8 May 13

Pharmacy Sales And Inventory System v1.0 is vulnerable to SQL Injection via /pharmacy-sales-and-inventory-system/manage_

CVE-2026-8083 MEDIUM POC
5.5 May 07

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to execu

CVE-2026-7550 MEDIUM POC
5.5 May 01

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to read,

CVE-2026-7549 MEDIUM POC
5.5 May 01

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to extra

CVE-2026-7199 MEDIUM POC
5.5 Apr 27

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to execu

CVE-2026-7194 MEDIUM POC
5.5 Apr 27

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 exposes the `/ajax.php?action=save_product` endp

CVE-2026-7127 MEDIUM POC
5.5 Apr 27

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to read,

CVE-2026-7126 MEDIUM POC
5.5 Apr 27

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to execu

CVE-2026-7088 MEDIUM POC
5.5 Apr 27

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to execu

CVE-2026-7087 MEDIUM POC
5.5 Apr 27

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows remote unauthenticated attackers to extra

CVE-2026-6189 MEDIUM POC
5.5 Apr 13

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows unauthenticated remote attackers to extra

CVE-2026-6188 MEDIUM POC
5.5 Apr 13

SQL injection in SourceCodester Pharmacy Sales and Inventory System 1.0 allows unauthenticated remote attackers to execu

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy