Skip to main content

toner-management CVE-2026-71252

| EUVDEUVD-2026-53325 HIGH
Missing Authorization (CWE-862)
2026-08-05 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c GHSA-c6wq-2527-5fpx
8.2
CVSS 3.1 · Vendor: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
Share

Severity by source

Vendor (309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c) PRIMARY
8.2 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
vuln.today AI
8.2 HIGH

AV:N as handlers are HTTP-reachable; PR:N confirmed by total absence of any auth check; I:H for full database write control; A:L for data destruction risk; C:N as no record exfiltration is enabled by this flaw.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c).

CVSS VectorVendor: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
Low

Lifecycle Timeline

3
Source Code Evidence Fetched
Aug 05, 2026 - 11:42 vuln.today
Analysis Generated
Aug 05, 2026 - 11:42 vuln.today
CVE Published
Aug 05, 2026 - 11:16 cve.org
HIGH 8.2

DescriptionCVE.org

toner-management's admin state-changing handlers (add.php, edit.php, delete.php under admin/toners, admin/toner-brands, admin/printers, and related admin subdirectories) executed INSERT/UPDATE/DELETE database operations with no authentication or authorization check, while access control was enforced only in listing views. An unauthenticated remote attacker could invoke these handlers directly to create, modify, or destroy application data. The vendor has since merged a fix requiring an authenticated admin session before any such handler proceeds.

AnalysisAI

Unauthenticated remote write access in the toner-management PHP application allowed any attacker to invoke admin-tier database operations - INSERT, UPDATE, and DELETE - across inventory entities including toners, printers, consumers, tickets, and staff records. The CVSS vector (AV:N/AC:L/PR:N/UI:N) confirms no credentials, session token, or user interaction are required; the admin write handlers (add.php, edit.php, delete.php) were directly reachable over HTTP and processed SQL operations unconditionally. A fix has been merged via GitHub PR #1 adding session-based admin role validation to all affected handlers, but no formally tagged release version has been confirmed. No public exploit code and no CISA KEV listing are identified at time of analysis.

Technical ContextAI

toner-management is a PHP web application for inventory management of printer toners, hosted at github.com/raghav993/toner-management. The root cause is CWE-862 (Missing Authorization): the application implemented access control only on listing and view pages, but the state-changing handlers (add.php, edit.php, delete.php) across admin/toners, admin/toner-brands, admin/printers, admin/consumers, admin/tickets, admin/printer-brands, and admin/staff contained no authentication or authorization logic. PHP session state ($_SESSION['user']['id'] and $_SESSION['user']['role']) was used in other parts of the application but was never consulted before write operations executed. The PR diff confirms the fix is a single session check injected at the top of each handler: if the session lacks a user ID or the role is not 'admin', the handler returns HTTP 403 and exits. No CPE string was provided in the NVD data.

RemediationAI

Pull and deploy the fix from GitHub PR #1 (https://github.com/raghav993/toner-management/pull/1), which adds a session role check at the top of every affected write handler - the check verifies that $_SESSION['user']['id'] is non-empty and that the user role equals 'admin' (case-insensitive), returning HTTP 403 otherwise. Note that this fix is available as a merged PR/commit only; a formally tagged release version has not been independently confirmed, so operators should verify the specific commit is present in their deployed instance. If immediate patching is not feasible, restrict access to the entire admin/ directory at the web server layer - for Apache, use a .htaccess Require ip directive to limit access to trusted management IP ranges; for nginx, use an allow/deny block inside the admin location. This network-level control is effective but does not fix the underlying code flaw and must be maintained across any infrastructure changes. No workaround eliminates the vulnerability without either patching or blocking network access to the admin endpoints.

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-71252 vulnerability details – vuln.today

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