__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN NetGear WG111v2 Wireless Driver Long Beacon Overflow [MOKB-16-11-2006] November 17, 2006 18:00 GMT Number R-052 ______________________________________________________________________________ PROBLEM: The NetGear WG111v2 wireless adapter (USB) ships with a version of WG111v2.SYS that is vulnerable to a stack-based buffer overflow. PLATFORM: WG111v2 Driver Downloaded DAMAGE: This overflow can lead to arbitrary kernel-mode code execution. SOLUTION: There is currently no practical solution to this problem, so you can disable at risk adapters. ______________________________________________________________________________ VULNERABILITY The risk is HIGH. The attacker must be in range of the wireless ASSESSMENT: device. ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/r-052.shtml ORIGINAL BULLETIN: http://projects.info-pull.com/mokb/MOKB-16-11-2006.html ADDITIONAL LINKS: US-CERT Vulnerability Note #445753 http://www.kb.cert.org/vuls/id/445753 Secunia Advisory SA22962 http://secunia.com/advisories/22962/ ______________________________________________________________________________ [***** Start MOKB-16-11-2006 *****] MOKB-16-11-2006 Bug details Title: NetGear WG111v2 Wireless Driver Long Beacon Overflow Description: The NetGear WG111v2 wireless adapter (USB) ships with a version of WG111v2.SYS that is vulnerable to a stack-based buffer overflow. This overflow can lead to arbitrary kernel-mode code execution. The overflow occurs when a 802.11 beacon request is received that contains over 1100 bytes of information elements. This vulnerability was tested with version 5.1213.6.316 of the WG111v2.SYS driver and a NetGear WG111v2 USB adapter. Since this vulnerability is exploited via beacon frames, all cards within range of the attack will be affected. The tested adapter used a MAC address in the range of 00:18:4d:02:XX:XX. NetGear was NOT contacted about this flaw. A search of the SecurityFocus database indicates that NetGear has not provided an official patch or solution for any of the thirty flaws listed at the time of writing. This list includes BIDs: 1010, 3876, 4024, 4111, 5036, 5667, 5830, 5943, 5940, 6807, 7267, 7270, 7371, 7367, 9194, 10404, 10459, 10585, 10935, 11580, 11634, 12447, 15816, 16837, 16835, 19468, and 19973. WG111v2 Driver Download (vulnerable) Author/Contributor: H D Moore - discovery and exploit development. LMH - MoKB release. References: Metasploit Lorcon Proof of concept or exploit: Metasploit Module: exploits/windows/driver/netgear_wg111_beacon.rb Debugging information: All tests were performed with version 5.1213.6.316 of the WG111v2.SYS driver. Although this driver is for the Windows operating system, Linux and FreeBSD users of the ndiswrapper tool should determine if they are using WG111v2.SYS and upgrade accordingly. [***** End MOKB-16-11-2006 *****] _______________________________________________________________________________ CIAC wishes to acknowledge the contributions of MoKB for the information contained in this bulletin. _______________________________________________________________________________ CIAC, the Computer Incident Advisory Capability, is the computer security incident response team for the U.S. Department of Energy (DOE) and the emergency backup response team for the National Institutes of Health (NIH). CIAC is located at the Lawrence Livermore National Laboratory in Livermore, California. CIAC is also a founding member of FIRST, the Forum of Incident Response and Security Teams, a global organization established to foster cooperation and coordination among computer security teams worldwide. CIAC services are available to DOE, DOE contractors, and the NIH. CIAC can be contacted at: Voice: +1 925-422-8193 (7x24) FAX: +1 925-423-8002 STU-III: +1 925-423-2604 E-mail: ciac@ciac.org Previous CIAC notices, anti-virus software, and other information are available from the CIAC Computer Security Archive. World Wide Web: http://www.ciac.org/ Anonymous FTP: ftp.ciac.org PLEASE NOTE: Many users outside of the DOE, ESnet, and NIH computing communities receive CIAC bulletins. If you are not part of these communities, please contact your agency's response team to report incidents. Your agency's team will coordinate with CIAC. The Forum of Incident Response and Security Teams (FIRST) is a world-wide organization. A list of FIRST member organizations and their constituencies can be obtained via WWW at http://www.first.org/. This document was prepared as an account of work sponsored by an agency of the United States Government. Neither the United States Government nor the University of California nor any of their employees, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any information, apparatus, product, or process disclosed, or represents that its use would not infringe privately owned rights. Reference herein to any specific commercial products, process, or service by trade name, trademark, manufacturer, or otherwise, does not necessarily constitute or imply its endorsement, recommendation or favoring by the United States Government or the University of California. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or the University of California, and shall not be used for advertising or product endorsement purposes. LAST 10 CIAC BULLETINS ISSUED (Previous bulletins available from CIAC) R-042: Vulnerabilities in Macromedia Flash Player from Adobe R-043: Vulnerability in Workstation Service R-044: Vulnerability in Microsoft XML Core Services R-045: WinZip FileView ActiveX Control R-046: Elinks Security Update R-047: Citrix Advanced Access Control R-048: Citrix Access Gateway R-049: HTTP Header Injection Vulnerabilities in Adobe Flash Player R-050: OpenSSH Security Update R-051: nss_ldap Security Update