wok-6.x annotate apache/stuff/fix-range-CVE-2011-3192.conf @ rev 10931

apache: add range-CVE-2011-3192 fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 26 13:57:39 2011 +0200 (2011-08-26)
parents
children
rev   line source
pascal@10931 1 # From http://thread.gmane.org/gmane.comp.apache.announce/58
pascal@10931 2 # Drop the Range header when more than 5 ranges.
pascal@10931 3 # CVE-2011-3192
pascal@10931 4 SetEnvIf Range (,.*?){5,} bad-range=1
pascal@10931 5 RequestHeader unset Range env=bad-range
pascal@10931 6
pascal@10931 7 # optional logging.
pascal@10931 8 #CustomLog logs/range-CVE-2011-3192.log common env=bad-range