| عنوان | TOTOLINK N150RT V3.4.0-B20201030 Stack Buffer Overflow |
|---|
| الوصف | A stack-based buffer overflow vulnerability exists in the web management interface of TOTOLINK N150RT (NTR150) firmware V3.4.0-B20201030. It is reachable through the route /boafrm/formAjaxSet — the JSON-API configuration endpoint — using the topicurl=setting/setWiFiRepeaterConfig branch and the ApCliWEPKey JSON field.
When ApCliAuthMode begins with "WEP" and ApCliKeyFormat is not "1" (ASCII-key mode), the WEP key is copied into a fixed 68-byte stack buffer with an unbounded strcpy():
p_n2_7 = sub_4212A4(v7, "ApCliWEPKey", ""); // JSON field, no length limit
...
n26 = strlen(p_n2_7);
if ( n2_14 == 1 ) // ApCliKeyFormat=="1" (hex) → safe conversion
sub_440640(p_n2_7, p_n2_5, n26); // hex→bin (length-bounded)
else // ASCII mode (default)
strcpy(p_n2_5, p_n2_7); // 0x447430 — p_n2_5[68], UNBOUNDED
Any ApCliWEPKey longer than 67 bytes overflows the stack buffer. The overflow was verified against an emulated instance of the device (QEMU/FirmAE, mipseb): a 3000-byte value triggered a fatal signal (SIGABRT) and crashed the boa web server (which runs as root). |
|---|
| المصدر | ⚠️ https://gist.github.com/H3rmesk1t/039c2c968fd535cfffecdf9626e963e2 |
|---|
| المستخدم | LiuYijun_JX.SGCC (UID 102035) |
|---|
| ارسال | 02/11/2026 11:55 AM (26 أيام منذ) |
|---|
| الاعتدال | 28/11/2026 03:25 AM (26 days later) |
|---|
| الحالة | مكرر |
|---|
| إدخال VulDB | 411706 [TOTOLINK N150RT 3.4.0-B20201030 Web Management Interface /boafrm/formAjaxSet ApCliWEPKey تلف الذاكرة] |
|---|
| النقاط | 0 |
|---|