提交 #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)
提交2026-07-05 15時02分 (2 月前)
管理2026-08-20 10時33分 (2 months later)
状态已接受
VulDB条目393637 [Comfast CF-N1-S 2.6.0.1 SSID Configuration mbox-config?method=SET§ion=ptest_ssid sub_44B438 内存损坏]
积分20

Interested in the pricing of exploits?

See the underground prices here!