Отправить #880599: Comfast CF-N1-S V2 V2.6.0.1 Buffer OverflowИнформация

НазваниеComfast CF-N1-S V2 V2.6.0.1 Buffer Overflow
ОписаниеA stack-based buffer overflow vulnerability exists in the web management component of the COMFAST CF-N1-S V2 router, specifically in the sub_44B438 function. This function processes the HTTP request /cgi-bin/mbox-config, and the relevant logic is triggered when method=SET and section=ptest_ssid. After successful authentication, an attacker can send a specially crafted HTTP POST request to the target device using a valid session cookie, thereby entering the SSID configuration processing flow. In the exploit chain, the user-controlled parameter `ssid` (corresponding to the global configuration item `off_469538`) is passed to the `off_47D1FC` function for formatting and is ultimately written to a fixed-size buffer `v5` on the stack. Since this write operation resembles the insecure formatting behavior of `sprintf` and does not perform any valid length restrictions or boundary checks on the input, a stack buffer overflow occurs when the length of the `ssid` parameter exceeds the buffer’s capacity. Once the overflow occurs, an attacker can overwrite adjacent local variables and the function return address, corrupting the current function’s stack frame structure, which ultimately causes the program to crash. Under specific conditions, this may also pose a risk of controllable control flow hijacking.
Источник⚠️ https://github.com/AdminSafe/CVE/issues/5
Пользователь
 010hex (UID 99386)
Представление05.07.2026 15:02 (2 месяцы назад)
Модерация20.08.2026 10:33 (2 months later)
Статуспринято
Запись VulDB393637 [Comfast CF-N1-S 2.6.0.1 SSID Configuration mbox-config?method=SET§ion=ptest_ssid sub_44B438 повреждение памяти]
Баллы20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!