إرسال #755193: Tenda HG9 V300001138 Stack-based Buffer Overflowالمعلومات

عنوانTenda HG9 V300001138 Stack-based Buffer Overflow
الوصفDuring a security review of the Tenda HG9 router firmware (version V300001138), a critical stack-based buffer overflow vulnerability was identified in the Samba configuration endpoint /boaform/formSamba. The vulnerability is located in the formSamba function. When the parameter sambaCap is set to 1, the function retrieves the serverString parameter from the user request. It then uses sprintf to construct a system command string into a local stack buffer (v14). The destination buffer v14 is declared with a very small size of 64 bytes. However, the sprintf function copies the user-controlled serverString into this buffer without checking its length. Since the format string "echo %s > /tmp/sambaStatus" already occupies approximately 24 bytes, providing a serverString longer than ~40 bytes will overflow the stack buffer v14. This overflow overwrites the return address of the function, leading to a Denial of Service (DoS) or Remote Code Execution (RCE).
المصدر⚠️ https://github.com/QIU-DIE/cve-nneeww/issues/8
المستخدم
 LINXI666 (UID 91556)
ارسال10/02/2026 08:16 AM (8 أشهر منذ)
الاعتدال20/02/2026 09:14 PM (11 days later)
الحالةتمت الموافقة
إدخال VulDB347215 [Tenda HG9 300001138 Samba Configuration Endpoint /boaform/formSamba sambaCap تلف الذاكرة]
النقاط20

Do you want to use VulDB in your project?

Use the official API to access entries easily!