SecurityReason.com - Our Reason is

Security

Register | Forget Password | Login
SecurityReason
WLB
Services
RSS
Corporate
Note

If you have found a vulnerability, please send to our SecurityAlert Database :
secalert()securityreason()com

Also if you have new ( 0-day ) exploit, please send to our ExploitAlert Archive :
exploit()securityreason()com

Home arrow SecurityAlert Database

Arrow  Topic :

Apache (mod_deflate) Denial of Service Vulnerability


Arrow  SecurityAlert : 6054
Arrow  CVE : CVE-2009-1891
Arrow  CWE : CWE-399
Arrow  SecurityRisk : Low  Security Risk Low  (About)
Arrow  Remote Exploit : Yes
Arrow  Local Exploit : No
Arrow  Victim interaction required : No
Arrow  Exploit Available : No
Arrow  Credit : François Guerraz
Arrow  Published : 12.07.2009
Arrow  Updated : 13.07.2009

Arrow  Affected Software : apache:http_server:2.2.1
apache:http_server:2.2.0
apache:http_server:2.2
apache:http_server:2.2.10
apache:http_server:2.2.2
apache:http_server:2.2.3
apache:http_server:2.2.4
apache:http_server:2.2.5
apache:http_server:2.2.6
apache:http_server:2.2.7
apache:http_server:2.2.8
apache:http_server:2.2.9
apache:http_server:2.2.11 and previous versions



Arrow  Advisory Content :  

Hi,

we have received a bug report [1] that a DoS is possible with
mod_deflate since it does not stop to compress large files even after
the network connection has been closed. This allows to use large
amounts of CPU if there is a largish (>10 MB) file available that has
mod_deflate enabled.

An exploit is as easy as

for a in $(seq 1 100) ; do
curl -H "Accept-Encoding: gzip" -is http://url.to/large/file.txt |
head -1 ; done

François Guerraz, the bug submitter, also suggested a patch:

--- mod_deflate.c 2008-01-04 15:23:50.000000000 +0100
+++ mod_deflate.c.new 2009-06-26 16:50:36.000000000 +0200
@@ -691,6 +691,10 @@
continue;
}

+ if (r->connection->aborted) {
+ return APR_ECONNABORTED;
+ }
+
/* read */
apr_bucket_read(e, &data, &len, APR_BLOCK_READ);

This greatly reduces the problem. But even with it, quite a bit of
data is compressed (maybe determined by APR_MMAP_LIMIT == 4MB?).

Cheers,
Stefan

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=534712





Arrow  References :

https://rhn.redhat.com/errata/RHSA-2009-1148.html
https://bugzilla.redhat.com/show_bug.cgi?id=509125
http://www.mandriva.com/security/advisories?name=MDVSA-2009:149
http://marc.info/?l=apache-httpd-dev&m=124661528519546&w=2
http://marc.info/?l=apache-httpd-dev&m=124621326524824&w=2
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=534712




Arrow  Feedback :

If you have additional information or notice any errors regarding this security advisory, please use contact form or email us at info()securityreason()com.
Alert

libc:fts_*() Multiple Denial of Service

Security Risk Medium- 2009-10-02

The fts functions are provided for traversing UNIX file hierarchies...

Apache RSS Apache Alert

» Apache 1.3.41 mod_proxy
   Integer overflow (code
   execution)

» Apache Tomcat 6.0.20 and
   5.5.28 unexpected file
   deletion in work
   directory

» Apache Tomcat 6.0.20 and
   5.5.28 insecure partial
   deploy after failed
   undeploy

» Apache Tomcat 6.0.20 and
   5.5.28 unexpected file
   deletion and/or
   alteration

PHP RSS PHP Alert

» PHP 5.2.12/5.3.1
   session.save_path
   safe_mode and
   open_basedir bypass

» PHP 5.2.12/5.3.1 Multiple
   Vulnerabilities

» PHP 5.2.11 libgd multiple
   vulnerabilities

» PHP 5.2.11 tempnam()
   safe_mode bypass

Copyright © SecurityReason.com. All Rights Reserved.