Security Alert: Multiple OS IP Fragmentation Memory Exhaustion Vulnerability | eWeek

Security Alert: Multiple OS IP Fragmentation Memory Exhaustion Vulnerability

Written By
eWEEK EDITORS
eWEEK EDITORS
Apr 2, 2004
2 minute read
eWeek content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More

Editors Note: A security alert is presented daily to eWEEK.com readers by iDefense Inc., a security research company based in Reston, Va./zimages/1/72206.gif

Severity: High

Analysis: (iDEFENSE US) Remote exploitation of a new IP fragmentation attack present in multiple operating systems (such as Microsoft Corp.s Windows, Linux and Cisco Systems, Inc.s Cisco IOS) can result in a system running out of memory, allowing a denial of service (DoS).

Many types of fragmented network packets created (e.g., TCP-IP, UDP, ICMP, etc.) will work when sent to a remote host. For each attack, two packets are sent; the initial packet having data that indicates an offset of 0, and a second packet having an offset of 64800. This causes the target system to allocate a portion of memory for the remaining packets that will complete the original un-fragmented packet. For each attack, the target system will allocate 64 kilobytes of memory, which is held in reserve (typically for between 15 and 255 seconds).

If attackers can send a sufficient number of packets, they can cause memory (on the order of gigabytes) to be allocated. Since this attack utilizes a single packets fragments and no actual TCP-IP connection is required, it can be spoofed. For example, attackers can exploit this vulnerability via a SYN connection packet or UDP packet, which is stateless.

Sites that suspect they are under attack due to abnormally high CPU and memory usage should run packet sniffers configured to look for fragmented packets. Observing a large number of fragmented packets with no corresponding connections is an indication of an attack. Depending on the target systems configuration, attackers with access to several hundred kilobits of bandwidth can consume several hundred megabytes, possibly gigabytes, of memory.

Detection: Most operating systems capable of handling fragmented packets are vulnerable, depending on the specific design and configuration of timeouts used. Windows 2000, XP and 2003 are reportedly vulnerable. Almost all forms of Unix, Linux, BSD and Mac OS X are reportedly vulnerable. Cisco IOS and other network device operating systems are reportedly vulnerable.

Packet sniffers, such as TCPDUMP, can be used to detect exploitation if large amounts of fragmented packets are present on a network:

tcpdump -nn -v ip[6]&32!=0

Recovery: Power cycling the router is required to resume normal operation.

Workaround: Disable the web-based administrative interface on the Cisco 675 router.

Vendor Fix: iDEFENSE is unaware of any vendor updates. These are likely to take some time in any event as they require modification to packet handling structures and algorithms used to process them.

iDefense provides security intelligence to governments and Fortune 1000 organizations, and provides this daily threat alert to eWEEK.com

/zimages/1/28571.gifCheck outeWEEK.coms Security Centerat http://security.eweek.com for security news, views and analysis. Be sure to add our eWEEK.com security news feed to your RSS newsreader or My Yahoo page:/zimages/1/19420.gifhttp://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo2.gif

eWeek Logo

eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site's focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.