Skip to main content

Pharmacy Sales and Inventory System CVE-2026-10255

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

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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Primary rating from Vendor (VulDB) · only source for this CVE.

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

2
CVSS changed
Jun 01, 2026 - 13:22 NVD
5.3 (MEDIUM) 5.5 (MEDIUM)
Analysis Generated
Jun 01, 2026 - 13:17 vuln.today

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.

AnalysisAI

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.

Technical ContextAI

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.

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.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

Share

CVE-2026-10255 vulnerability details – vuln.today

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