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.

Platforms Affected:

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

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.

Consequences:

Gain Access

References:

  • boch's Web site, bochs: The Open Source IA-31 Emulation Project (Home Page) at http://bochs.sourceforge.net/.
  • Tavis Ormandy White paper, An Empirical Study into the Security Exposures to Hosts of Hostile Virtualized Environments at http://taviso.decsystem.org/virtsec.pdf.
  • 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
  • SA25470: Bochs NE2000 RX Frame Overflow and Disk Controller Denial of Service
  • VUPEN/ADV-2007-1936: Bochs NE2000 RX Frame Heap Overflow and Floppy Disk Controller DoS Vulnerabilities

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 xforce@iss.net

Return to the main page