Open Source Market Segment LS
Open Source Market Segment RS
Tuesday, 30 August 2011 10:08

Debian patches Apache bug, upstream yet to react

By

The Debian GNU/Linux project has issued a patch so its users can fix the denial of service vulnerability in the open source Apache httpd server that was announced by the Apache Software Foundation last week.

An exploit for this vulnerability is available in the wild and has been observed to have been used, according to the ASF's original announcement, which said a fix would be issued within 48 hours. That was last Thursday.

It must be mentioned here that, in its advisory, the ASF had mentioned several workarounds to mitigate against the bug being exploited. The Debian patch is based on these workarounds.

The ASF did not respond to a request for comment from iTWire.

If a web server running Apache is sent a large number of requests for overlapping byte regions of a single file download, that server would run out of memory and be rendered unable to do its job.

The Debian advisory, issued by Stefan Fritsch on behalf of the security team, said the fix issued patched both the problem with Range header and also an older bug.

Debian has a number of streams of development and a fix for the testing stream is yet to be issued. All other streams have been patched.

Once the upstream developers issue a fix, it normally takes at least 12 to 24 hours for each Linux distribution to issue its own specific fix; the same applies to other platforms.

Rick Moen, a seasoned UNIX systems administrator from California, said it was likely that the Apache developers were taking their time as the workarounds suggested by them had fixed the problem.

"It seems there is still ongoing discussion of what mix of limitations on the Range function are best used in the 2.2.x production releases, of the several that are already used in 2.3.x beta versions plus several others," Moen said.

"The developers seem to be simultaneously aware that they're overdue on the promised update, and also that it really doesn't matter much, since people have already deployed the suggested workarounds."



Moen said that the bug was not so much an Apache vulnerability, as one in the httpd protocol itself. "That is, (the) IETF (Internet Engineering Task Force) included that functionality in the HTTP 1.1 specification (RFC 2616), apparently not mindful of its abuse possibilities. There has been discussion of those possibilities for the past four years, but with no urgency until the recent emergence of an extremely efficient attack script, that can overwhelm a server by requesting many tiny overlapping byte ranges, each requested to be gzipped."

Polish security researcher Michal Zalewski warned of the possibility of this bug being exploited more than four years ago, pointing out that both Apache and Microsoft's Internet Information Services (IIS) had what he described as "a bizarro implementation of HTTP/1.1 'Range' header functionality".

"Their implementations allow the same fragment of a file to be requested an arbitrary number of times, and each redundant part to be received separately in a separate multipart/byteranges envelope," Zalewski said in a post to the Bugtraq security mailing list.

Moen added that the Apache httpd was targeted because of its popularity and its storage of pending requests in-RAM in internal "bucket brigades". "Some of the upcoming improvements will make Apache handle its 'bucket brigades' more efficiently, but the larger problem is the one inherent in HTTP itself. IETF have begun a task to refine RFC 2616's definition of Range requests to reduce their ability to be abused for DoSing."

He said it was an interesting question whether other HTTP daemons might be similarly vulnerable to DoS, simply on account of correctly implementing RFC 2616.

"This would hardly be the first time that real-world considerations lead to curtailing of Internet functionality mandated by RFCs that have become too widely abused. For example, in RFC 5321, one of the internet standards defining SMTP, sections 2.3.5, 3.1, 4.1.1.3, and 4.5.1 require that any internet domain handling SMTP mail accept all mail addressed to 'postmaster', as a point of contact for mail problems.

"Similarly, RFC  2142 section 1, paragraph 1, and section 5 require that such Internet   domains accept all mail addressed to 'abuse' as a point of contact about inappropriate public user behaviour.  _However_, because of the spam problem, most diligent postmasters aggressively block spam inbound to   'postmaster' and 'abuse'; otherwise, those mailboxes would quickly become unreadable.

"In fact, a number of large providers starting with Google's GMail no longer respect those RFCs at all: Google requires that anyone seeking  to report GMail user misbehaviour fill out a rather irksome web form, an outright violation of RFC 2142's letter and spirit."

Apache is by far the most widely used web server software and runs on all major operating systems. According to the internet services company, Netcraft, which conducts a monthly web survey, a little less than two-thirds of the websites it received a response from in August - a total of 301,771,518 - were running Apache. Responses were received from 463,000,317 sites in all.

Read 7962 times

Please join our community here and become a VIP.

Subscribe to ITWIRE UPDATE Newsletter here
JOIN our iTWireTV our YouTube Community here
BACK TO LATEST NEWS here




EXL AI IN ACTION VIRTUAL EVENT 20 MARCH 2025

Industry leaders are looking to transform their businesses and achieve measurable outcomes with AI.

As organisations across APAC navigate the complexities of AI adoption, this must-attend event brings together industry leaders, real-world demonstrations, and visionary panel discussions to bridge the gap between proof-of-concepts and enterprise-wide AI implementation.

Learn how to overcome common challenges in deploying AI at scale.​

Unlock cost savings, efficiency, and better customer experiences with AI.

Discover how industry expertise and data intelligence enable practical AI deployment.

Register for the event now!

REGISTER!

PROMOTE YOUR WEBINAR ON ITWIRE

It's all about Webinars.

Marketing budgets are now focused on Webinars combined with Lead Generation.

If you wish to promote a Webinar we recommend at least a 3 to 4 week campaign prior to your event.

The iTWire campaign will include extensive adverts on our News Site itwire.com and prominent Newsletter promotion https://itwire.com/itwire-update.html and Promotional News & Editorial. Plus a video interview of the key speaker on iTWire TV https://www.youtube.com/c/iTWireTV/videos which will be used in Promotional Posts on the iTWire Home Page.

Now we are coming out of Lockdown iTWire will be focussed to assisting with your webinars and campaigns and assistance via part payments and extended terms, a Webinar Business Booster Pack and other supportive programs. We can also create your adverts and written content plus coordinate your video interview.

We look forward to discussing your campaign goals with you. Please click the button below.

MORE INFO HERE!

BACK TO HOME PAGE
Sam Varghese

Sam Varghese has been writing for iTWire since 2006, a year after the site came into existence. For nearly a decade thereafter, he wrote mostly about free and open source software, based on his own use of this genre of software. Since May 2016, he has been writing across many areas of technology. He has been a journalist for nearly 40 years in India (Indian Express and Deccan Herald), the UAE (Khaleej Times) and Australia (Daily Commercial News (now defunct) and The Age). His personal blog is titled Irregular Expression.

Share News tips for the iTWire Journalists? Your tip will be anonymous

Subscribe to Newsletter

*  Enter the security code shown: img0

WEBINARS & EVENTS

CYBERSECURITY

PEOPLE MOVES

GUEST ARTICLES

Guest Opinion

ITWIRETV & INTERVIEWS

RESEARCH & CASE STUDIES

Channel News

Comments