J-Security Center

Latest Attack Object Updates
  • IDP Daily Update #1537
    posted: 11/06/09
  • NSM Daily Update #1537
    posted: 11/06/09
  • Deep Inspection 5.3r5 and above, 5.4, 6.0 #1537
    posted: 11/06/09
  • Deep Inspection 5.1 and 5.2 #1435
    posted: 11/06/09
  • Deep Inspection 5.0, 5.3r4 and below #1132
    posted: 03/28/08 (04/01/08 for 5.0)
  • Antivirus
    posted: 11/05/09

Title: OpenBSD ICMPV6 Packet Handling Remote Buffer Overflow Vulnerability

Severity: CRITICAL

Description:

OpenBSD is prone to a remote buffer-overflow vulnerability because it fails to bounds-check user-supplied data before copying it into an insufficiently sized buffer.

Specifically, this issue stems from an overflow in the 'mbuf' kernel memory structure when handling fragmented ICMPv6 packets. The 'mbuf' memory structure is a data structure used to store network packets in kernel memory. It contains another memory structure, 'm_ext', that has a variable 'ext_free' which is used as a pointer to a function called when 'mbuf' is freed. An attacker can exploit this issue by overflowing 'mbuf' to overwrite this variable, manipulating the normal flow of execution when the affected memory structure is freed. Other variables contained in the 'm_ext' memory structure, such as 'ext_nextref' and 'ext_prevref', may also be overwritten to cause denial-of-service conditions.

To exploit this issue, an attacker must be able to inject fragmented IPv6 packets on the target system's local network or to route IPV6 packets to a target machine.

Remote attackers can exploit this issue to execute arbitrary code with kernel-level privileges or to crash the affected computer. Successful exploits will result in a complete compromise of vulnerable computers or cause denial-of-service conditions.

Affected Products:

  • OpenBSD OpenBSD 3.1
  • OpenBSD OpenBSD 3.6
  • OpenBSD OpenBSD 3.8
  • OpenBSD OpenBSD 3.9
  • OpenBSD OpenBSD 4.0
  • OpenBSD OpenBSD 4.1

References:

Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.