Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify publicly accessible toner-management instance
-
DeliveryDiscover admin write handler URL paths from public repository
-
ExploitSend unauthenticated HTTP POST to target handler (e.g., admin/toners/add.php)
-
ExecutionHandler executes SQL without session validation
-
PersistINSERT/UPDATE/DELETE database records
-
ImpactCorrupt or destroy inventory data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | No special conditions - remote unauthenticated exploitation against default configurations of toner-management. The CVSS vector AV:N/AC:L/PR:N/UI:N is consistent with the description: the write handlers performed no session check whatsoever, so any HTTP client capable of reaching the admin/ directory can exploit this flaw. The only limiting factors are: (1) the application must be deployed and network-accessible, and (2) the attacker must know or discover the admin endpoint paths (add.php, edit.php, delete.php under the relevant subdirectories) - these paths are publicly documented in the GitHub repository. There is no authentication bypass required; the handlers simply did not enforce authentication. There are no platform-specific, version-specific, or configuration-specific prerequisites beyond the application being reachable. |
| Impact | The CVSS 8.2 High rating accurately reflects the risk profile. The vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L) indicates network-exploitable, low-complexity, unauthenticated attack requiring no user interaction - the attack is trivially automatable using a standard HTTP client. Integrity impact is High because an attacker gains full write control over all inventory data; Availability impact is Low since data destruction could disrupt service but the application itself remains running; Confidentiality impact is None because this flaw does not directly expose records for exfiltration. No EPSS score was provided, so exploitation probability cannot be quantified from base rates. The absence of a KEV listing and lack of confirmed public exploit code suggest no widespread active exploitation at time of analysis, but the trivial exploitability means that exposure of this application to an untrusted network is a genuine, immediate priority rather than a theoretical risk. The limited real-world deployment footprint of this small open-source project constrains aggregate blast radius. |
| Exploit ScenarioDerived | An attacker discovers a publicly accessible instance of toner-management (e.g., via search engine dork for the application's title or path patterns) and sends a crafted HTTP POST request directly to admin/toner-brands/delete.php with a target record ID, receiving a 200 response as the database row is deleted - no session cookie or credentials needed. The attacker repeats this across add.php and edit.php endpoints to inject fabricated records or overwrite existing inventory, corrupting the organization's toner and printer tracking data. No public exploit tool has been identified, but the attack requires only curl or a browser and knowledge of the endpoint URL structure, which is publicly visible in the GitHub repository. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 05, 2026
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.
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.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when PHP 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
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
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.
Executive ViewAI
The toner-management application permits unauthenticated remote attackers to execute database write operations-INSERT, UPDATE, DELETE-across inventory, staff, and operational data without requiring credentials or user interaction. Any internet-accessible instance faces immediate risk of data manipulation, operational disruption, and potential loss of critical business records.
Network firewall or Web Application Firewall restrictions limiting HTTP access to admin handler endpoints (add.php, edit.php, delete.php); database-level write permission controls constraining modification scope; or immediate deployment of the GitHub PR #1 merged code as an interim patch until formal vendor release is available.
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.
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
EUVD-2026-53325
GHSA-c6wq-2527-5fpx
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB