Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain router admin credentials
-
DeliveryReach LAN-side web admin interface
-
ExploitSend crafted POST to tomatoups.cgi
-
InstallOverflow stack buffer in sub_9068
-
C2Hijack saved return address
-
ExecuteExecute shellcode as root
-
ImpactPersist backdoor on router firmware
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, buffer size validation
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires three concrete prerequisites: (1) the target device must be running Shibby Tomato firmware version 1.28 or earlier (FreshTomato and other forks are out of scope); (2) the UPS Service must be enabled and tomatoups.cgi reachable on the router's web administration interface; and (3) the attacker must possess valid authenticated credentials to the admin interface (CVSS PR:L). Limiting factors that reduce realistic risk: the admin interface is typically bound to the LAN side by default on Tomato builds, meaning internet-based exploitation requires either a router with WAN administration explicitly enabled or an attacker already pivoting from inside the LAN; and the UPS Service is an optional feature not all users enable. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H) describes network-reachable, low-complexity exploitation requiring low privileges and no user interaction, with high impact to confidentiality, integrity, and availability of the vulnerable component - yielding the 8.7 score. The PR:L requirement means an attacker must hold authenticated credentials to the router admin interface, which substantially reduces real-world exploitability against well-configured deployments but is trivial against routers with default or reused credentials. There is no KEV listing, no EPSS score provided, and no public POC identified - exploitation signals are weak. However, the abandoned-software status (superseded by FreshTomato, no maintainer support) is the dominant risk factor: any deployed Shibby Tomato device is permanently vulnerable, and discovery of a chained pre-auth flaw could escalate this significantly. The CVSS subsequent-system impact metrics are all N, indicating the bug is scoped to the router itself rather than crossing to other systems. |
| Exploit ScenarioDerived | An attacker who has obtained or guessed valid router admin credentials (or who pivots from a compromised LAN host) sends a crafted HTTP request to tomatoups.cgi targeting the UPS Service endpoint, with an oversized parameter that overflows the stack buffer inside sub_9068. Successful exploitation overwrites the saved return address and - on Tomato's typically mitigation-light MIPS/ARM firmware - yields arbitrary code execution as root on the router, enabling persistent backdooring, DNS hijacking, or traffic interception. No public POC has been identified, but the bug class and embedded target make exploit development tractable for a motivated attacker. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 29, 2026
Stack-based buffer overflow in Shibby Tomato router firmware (versions up to 1.28) allows authenticated remote attackers to corrupt memory in the UPS Service CGI handler, potentially leading to code execution or device compromise. The flaw resides in function sub_9068 of tomatoups.cgi and carries a CVSS 4.0 score of 8.7, but no public exploit identified at time of analysis. Critically, this project is end-of-life - superseded by FreshTomato - so no vendor patch will be issued.
RemediationAI
No vendor-released patch identified at time of analysis - Shibby Tomato is abandoned and the maintainer will not issue fixes. The primary remediation is to migrate affected routers to the actively maintained FreshTomato fork (https://freshtomato.org), which carries forward the Tomato lineage with ongoing security maintenance; verify after flashing that the equivalent tomatoups.cgi handler has been patched or the UPS feature is absent. As compensating controls pending migration, disable the UPS service in the router's administrative interface if not actively used (trade-off: loss of UPS monitoring/shutdown integration), restrict the web admin interface to a trusted management VLAN or specific LAN IPs via the router's firewall (trade-off: requires console/SSH for emergency access from other networks), block WAN-side access to the admin port entirely if exposed, and rotate the admin password to a strong unique value to raise the bar against the PR:L authentication prerequisite. Reference: https://vuldb.com/vuln/367152.
Affected VersionsENISA
Affected Packages
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
Shibby Tomato is a community fork of the Tomato router firmware (a Linux-based replacement firmware for consumer routers, originally derived from HyperWRT). The vulnerable component is tomatoups.cgi, a CGI binary that implements the UPS (Uninterruptible Power Supply) monitoring service exposed through the router's web administration interface. CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) covers the root cause class: the sub_9068 function performs an unsafe write to a fixed-size stack buffer without adequate bounds checking, allowing adjacent stack frame data - including saved return addresses - to be overwritten. On embedded MIPS/ARM router platforms typically running Tomato, classical stack smashing exploitation is often feasible because such firmware historically ships without modern mitigations like stack canaries, ASLR, or non-executable stacks.
Know when the next one hits your stack
- 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Primary rating from Vendor (vuldb) · only source for this CVE.
CVSS VectorVendor: vuldb
DescriptionCVE.org
A security vulnerability has been detected in Shibby Tomato up to 1.28. This issue affects the function sub_9068 of the file tomatoups.cgi of the component UPS Service. The manipulation leads to stack-based buffer overflow. The attack can be initiated remotely. This project is superseded by FreshTomato. This vulnerability only affects products that are no longer supported by the maintainer.
Executive ViewAI
Shibby Tomato router firmware through version 1.28 contains a stack-based buffer overflow in the UPS Service CGI handler that allows authenticated remote attackers to execute arbitrary code and compromise router integrity. Organizations running these devices risk network interception, credential harvesting, and lateral movement into internal infrastructure. The project is end-of-life with no vendor patches forthcoming, requiring immediate mitigation and replacement planning.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable UPS Service functionality if not required; (2) Restrict network-level access to router administration interfaces; (3) Segment affected routers from critical systems; (4) Monitor router logs for exploitation attempts; (5) Execute accelerated migration plan to FreshTomato or alternative platforms.
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
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
EUVD-2026-33341
GHSA-5f6x-gjgm-pqx4
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB