lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 24 Aug 2011 10:03:03 +0200
From: Davide Guerri <davide.guerri@...il.com>
To: full-disclosure@...ts.grok.org.uk
Subject: Re: Apache Killer

While waiting for an official patch, how about the following workaround?

> RewriteEngine On
> RewriteCond %{REQUEST_METHOD} ^(HEAD|GET) [NC]
> RewriteCond %{HTTP:Range} ([0-9]*-[0-9]*)(\s*,\s*[0-9]*-[0-9]*)+
> RewriteRule .* - [F]


The workaround uses modrewrite to forbid get|head requests with multiple ranges in the Range HTTP header.
The second regex could be improved but it works for the exploit released so far...

Cheers,
 Davide.


On 24/ago/2011, at 08:01, -= Glowing Sex =- wrote:

> This is handy to read for anyone who runs apache... its worth a look... thx kcope ;>
> xd
> 
> 
> On 24 August 2011 13:26, HI-TECH . <isowarez.isowarez.isowarez@...glemail.com> wrote:
> Hello list,
> oops looks like this bug has nothing to do with mod_deflate/mod_gzip,
> read on here where the apache team is resolving the issue:
> 
> http://www.gossamer-threads.com/lists/apache/dev/401638
> 
> Cheers,
> 
> Kingcope
> 
> 2011/8/20 Moritz Naumann <security@...itz-naumann.com>:
> > On 20.08.2011 00:23 HI-TECH . wrote:
> >> (see attachment)
> >> /Kingcope
> >
> > Works (too) well here. Are there any workarounds other than rate
> > limiting or detecting + dropping the traffic IPS-wise?
> >
> > Moritz
> >
> 
> _______________________________________________
> Full-Disclosure - We believe in it.
> Charter: http://lists.grok.org.uk/full-disclosure-charter.html
> Hosted and sponsored by Secunia - http://secunia.com/
> 
> _______________________________________________
> Full-Disclosure - We believe in it.
> Charter: http://lists.grok.org.uk/full-disclosure-charter.html
> Hosted and sponsored by Secunia - http://secunia.com/

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ