Vulnerabilities > CVE-2015-3036 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in Kcodes Netusb
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
Stack-based buffer overflow in the run_init_sbus function in the KCodes NetUSB module for the Linux kernel, as used in certain NETGEAR products, TP-LINK products, and other products, allows remote attackers to execute arbitrary code by providing a long computer name in a session on TCP port 20005.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 1 |
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Buffer Overflow via Environment Variables This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
- Overflow Buffers Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
- Client-side Injection-induced Buffer Overflow This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
- Filter Failure through Buffer Overflow In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
- MIME Conversion An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
Exploit-Db
description NetUSB Kernel Stack Buffer Overflow. CVE-2015-3036. Dos exploit for hardware platform file exploits/hardware/dos/38566.py id EDB-ID:38566 last seen 2016-02-04 modified 2015-10-29 platform hardware port published 2015-10-29 reporter Adrián Ruiz Bermudo source https://www.exploit-db.com/download/38566/ title NetUSB Kernel Stack Buffer Overflow type dos description Linux/MIPS Kernel NetUSB - Remote Code Execution Exploit. CVE-2015-3036. Remote exploits for multiple platform file exploits/multiple/remote/38454.py id EDB-ID:38454 last seen 2016-02-04 modified 2015-10-14 platform multiple port published 2015-10-14 reporter blasty source https://www.exploit-db.com/download/38454/ title Linux/MIPS Kernel NetUSB - Remote Code Execution Exploit type remote
Packetstorm
data source | https://packetstormsecurity.com/files/download/133919/NetUSB-exploit.py.txt |
id | PACKETSTORM:133919 |
last seen | 2016-12-05 |
published | 2015-10-10 |
reporter | Stefan Viehbock |
source | https://packetstormsecurity.com/files/133919/NetUSB-Stack-Buffer-Overflow.html |
title | NetUSB Stack Buffer Overflow |
The Hacker News
id | THN:65025641EE27A81D2DE9034057AE8FDC |
last seen | 2018-01-27 |
modified | 2015-05-20 |
published | 2015-05-19 |
reporter | Swati Khandelwal |
source | https://thehackernews.com/2015/05/netusb-router-hacking.html |
title | NetUSB Driver Flaw Exposes Millions of Routers to Hacking |
References
- http://blog.sec-consult.com/2015/05/kcodes-netusb-how-small-taiwanese.html
- http://blog.sec-consult.com/2015/05/kcodes-netusb-how-small-taiwanese.html
- http://packetstormsecurity.com/files/131987/KCodes-NetUSB-Buffer-Overflow.html
- http://packetstormsecurity.com/files/131987/KCodes-NetUSB-Buffer-Overflow.html
- http://packetstormsecurity.com/files/133919/NetUSB-Stack-Buffer-Overflow.html
- http://packetstormsecurity.com/files/133919/NetUSB-Stack-Buffer-Overflow.html
- http://seclists.org/fulldisclosure/2015/May/74
- http://seclists.org/fulldisclosure/2015/May/74
- http://seclists.org/fulldisclosure/2015/Oct/50
- http://seclists.org/fulldisclosure/2015/Oct/50
- http://www.kb.cert.org/vuls/id/177092
- http://www.kb.cert.org/vuls/id/177092
- http://www.securityfocus.com/bid/74724
- http://www.securityfocus.com/bid/74724
- http://www.securitytracker.com/id/1032377
- http://www.securitytracker.com/id/1032377
- https://www.exploit-db.com/exploits/38454/
- https://www.exploit-db.com/exploits/38454/
- https://www.exploit-db.com/exploits/38566/
- https://www.exploit-db.com/exploits/38566/
- https://www.sec-consult.com/fxdata/seccons/prod/temedia/advisories_txt/20150519-0_KCodes_NetUSB_Kernel_Stack_Buffer_Overflow_v10.txt
- https://www.sec-consult.com/fxdata/seccons/prod/temedia/advisories_txt/20150519-0_KCodes_NetUSB_Kernel_Stack_Buffer_Overflow_v10.txt