| शीर्षक | Tomato by Shibby Tomato Firmware 1.28 Stack-based Buffer Overflow |
|---|
| विवरण | All three apcupsd CGI programs share a common getupsvar() function that retrieves UPS status data from the apcupsd daemon via TCP port 3551. For 31 out of 37 recognized field names (those with internal flag v11 == 1), the function extracts the field value using:
sscanf(line_ptr, "%*s %*s %s", caller_buffer);
The %s format specifier has no field-width limiter and writes unlimited bytes until whitespace. The caller-supplied buffer size parameter (a4) is present in the function signature but completely ignored in this code path. Typical callers pass 64-byte stack buffers. |
|---|
| स्रोत | ⚠️ https://gitee.com/Fengyi-Wang/CVE/issues/IJTQ5M |
|---|
| उपयोगकर्ता | Anonymous User |
|---|
| सबमिशन | 10/06/2026 03:53 PM (1 महीना पहले) |
|---|
| संयम | 12/07/2026 11:01 PM (1 month later) |
|---|
| स्थिति | स्वीकृत |
|---|
| VulDB प्रविष्टि | 377894 [Shibby Tomato तक 1.28.0000 apcupsd tomatodata.cgi getupsvar क्षेत्र बफ़र ओवरफ़्लो] |
|---|
| अंक | 20 |
|---|