Apache httpd server httpd.conf could allow a local user to bypass restrictions

apache-httpd-bypass-restriction (15015) The risk level is classified as MediumMedium Risk


Apache HTTP could allow a local attacker to bypass restrictions, caused by a vulnerability in the httpd.conf file. If the server administrator sets the Deny Directive to All and does not allow user accounts access to modify this directive in their .htaccess file, users would still be able to bypass the DENY option by using the ErrorDocument Directive, allowing the attacker to obtain sensitive information.


Gain Access


No remedy available as of September 1, 2014.


  • BugTraq Mailing List, Sat Jan 31 2004 - 15:18:51 CST : BUG IN APACHE HTTPD SERVER (current version 2.0.47).
  • BID-9874: Apache HTAccess LIMIT Directive Bypass Configuration Error Weakness
  • CVE-2004-2343: ** DISPUTED ** Apache HTTP Server 2.0.47 and earlier allows local users to bypass .htaccess file restrictions, as specified in httpd.conf with directives such as Deny From All, by using an ErrorDocument directive. NOTE: the vendor has disputed this issue, since the .htaccess mechanism is only intended to restrict external web access, and a local user already has the privileges to perform the same operations without using ErrorDocument.
  • OSVDB ID: 19855: Apache HTTP Server ErrorDocument Directive .htaccess Bypass

Platforms Affected:

  • Apache HTTP Server 2.0.47
  • RedHat Linux


Jan 31, 2004

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

Return to the main page