httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leo Gil" <>
Subject [users@httpd] Block Tomcat's directory listing vulnerability with Directory and regex
Date Mon, 18 Dec 2006 23:26:06 GMT
Hi all,

I have been trying to block the Tomcat directory listing vulnerability
using Apache's Directory with no success.

Has anyone been able to fix that? We can't upgrade Tomcat as
recommended by the CVE, and that flaw is also present on versions above

Here is the vulnerability:

Basically any url like; (with a semicolon at the end)
displays the directory files

This is what I'm trying to do:

<Directory ~ "^\;">
   AllowOverride None
   Order deny,allow
   Deny from all
   Allow from none

I have tried a couple different regexes but nothing worked so far

Thank you

View raw message