Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
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.
Primary rating from Vendor (309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c).
CVSS VectorVendor: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
Lifecycle Timeline
3DescriptionCVE.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.
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
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
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
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
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
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
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
Same weakness CWE-862 – Missing Authorization
View allSame technique Authentication Bypass
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-53325
GHSA-c6wq-2527-5fpx