Bochs NE2000 buffer overflow

bochs-ne2000-bo (34508) The risk level is classified as HighHigh Risk

Description:

Bochs is vulnerable to a heap-based buffer overflow, caused by improper bounds checking by the emulated NE2000 device. By sending a large value in the TXCNT register, a local attacker could overflow a buffer and execute arbitrary code on the system with root privileges.

*CVSS:

Base Score: 7
  Access Vector: Local
  Access Complexity: Low
  Authentication: Not Required
  Confidentiality Impact: Complete
  Integrity Impact: Complete
  Availability Impact: Complete
 
Temporal Score: 5.2
  Exploitability: Unproven
  Remediation Level: Official-Fix
  Report Confidence: Confirmed

Consequences:

Gain Access

Remedy:

For Debian GNU/Linux (bochs):
Refer to DSA-1351-1 for patch, upgrade, or suggested workaround information. See References.

For other distributions:
Apply the appropriate update for your system. See References.

References:

  • boch's Web site: bochs: The Open Source IA-31 Emulation Project (Home Page).
  • Tavis Ormandy White paper: An Empirical Study into the Security Exposures to Hosts of Hostile Virtualized Environments.
  • BID-24246: Bochs Buffer Overflow and Denial Of Service Vulnerabilities
  • CVE-2007-2893: Heap-based buffer overflow in the bx_ne2k_c::rx_frame function in iodev/ne2k.cc in the emulated NE2000 device in Bochs 2.3 allows local users of the guest operating system to write to arbitrary memory locations and gain privileges on the host operating system via vectors that cause TXCNT register values to exceed the device memory size, aka RX Frame heap overflow.
  • DSA-1351: bochs -- buffer overflow
  • GLSA-200711-21: Bochs: Multiple vulnerabilities
  • OSVDB ID: 35497: QEMU NE2000 Device Registers Integer Signedness Error
  • OSVDB ID: 36799: Bochs NE2000 iodev/ne2k.cc bx_ne2k_c::rx_frame Function Local Overflow
  • SA25470: Bochs NE2000 RX Frame Overflow and Disk Controller Denial of Service

Platforms Affected:

  • Bochs Project Bochs 2.3 and prior
  • Debian Debian Linux 3.1
  • Debian Debian Linux 4.0
  • Gentoo Linux

Reported:

May 01, 2007

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

Return to the main page

* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

About IBM Security Systems

IBM Security Systems include an extensive portfolio of hardware, software solutions, professional and managed services offerings covering the spectrum of IT and business security risks: people and identity, data and information, application and process, network, server and endpoint and physical infrastructure, empowering clients to innovate and operate their businesses on the most secure infrastructure platforms. Through world-class solutions that address risk across the enterprise, IBM helps organizations build a strong security posture that helps reduce costs, improve service, and manage risk. IBM X-Force(R) Research and Development is one of the most renowned commercial security research and development groups in the world. For more information on how to address today's biggest risks, please visit us at ibm.com/security.