Gửi #836778: Tenda HG10 HG7_HG9_HG10re_300001138_en_xpon stack-based buffer overflowthông tin

tiêu đềTenda HG10 HG7_HG9_HG10re_300001138_en_xpon stack-based buffer overflow
Mô tảA stack-based buffer overflow vulnerability exists in the formPPPEdit interface (via the encodename parameter) exposed through the web management interface (/boaform/formPPPEdit) of the Tenda HG10 router. The Boa web management component in TENDA HG10 exposes a handler associated with formPPPEdit and reachable through /boaform/formPPPEdit. During request processing, the handler reads the user-controlled encodename parameter and decodes it into the stack buffer v31 through data_base64decode(...) without enforcing an output length limit. The vulnerable code path requires save to be non-empty and item to be set to 0. The vulnerable function flow, based on the decompiled firmware analysis, is: char *encoded = boaGetVar(a1, (int)"encodename", (int)""); ... data_base64decode(encoded, v31); The vulnerability flow - numbered steps: Unvalidated external input The handler obtains the encodename value directly from the incoming HTTP request. Unsafe stack copy / decode The externally controlled encodename string reaches the destination stack buffer v31. Because the copy or decode operation does not enforce the destination size, an overlong value can overwrite the stack frame. Execution with system-level privileges The vulnerable operation occurs inside the router's Boa management process. In testing, the immediate result was a crash of the management service, and a sufficiently controlled overwrite could have broader security impact. Overall, this matches CWE-121: Stack-Based Buffer Overflow.
Nguồn⚠️ https://github.com/xiezhihua-1127/Tenda-Stack-Overflow.git
Người dùng
 zhihua xie (UID 98513)
Đệ trình25/05/2026 14:14 (cách đây 15 ngày)
Kiểm duyệt08/06/2026 07:43 (14 days later)
Trạng tháiđược chấp nhận
Mục VulDB369163 [Tenda HG7HG9/HG10 300001138_en_xpon /boaform/formPPPEdit encodename tràn bộ đệm]
điểm20

Do you want to use VulDB in your project?

Use the official API to access entries easily!