Looks like I have this in the main config of my linux boxes.

<FilesMatch "^\.ht">
Require all denied

I just added it to the top of my http.conf and restarted and it is locked down now.

This blocks anything starting with .ht, but you really shouldn't have anything else.

Kevin Bucknum
Senior Programmer Analyst
Tel: 985-893-2550

-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Pete
Sent: Wednesday, August 22, 2018 10:42 AM
To: Web Enabling the IBM i (AS/400 and iSeries)
Subject: Re: [WEB400] .htaccess, CVE-2000-0234 and Zend

I haven't seen this on my own servers. Maybe this could help:

Not sure why your .htaccess files would be "readable"...seems unusual to

Pete Helgren
GIAC Secure Software Programmer-Java
Twitter - Sys_i_Geek IBM_i_Geek

On 8/22/2018 7:46 AM, Rob Berendt wrote:
We recently installed Zend on a system. Since then we are getting
dinged on a Qualys security scan.
.htaccess contains authentication information.
Unauthorized users can gather authentication information from this file.
Change the Apache configuration so the .htaccess file cannot be
accessed via the Internet.
The Exploit-DB
Reference: CVE-2000-0234
Description: Cobalt RaQ 2.0/3.0 - Apache .htaccess Disclosure - The
Exploit-DB Ref : 19828
Link: http://www.exploit-db.com/exploits/19828
GET /.htaccess HTTP/1.1
Connection: Keep-Alive

I see .htaccess in two directories:

How does one: "Change the Apache configuration so the .htaccess file
cannot be accessed via the Internet."?

I tried googling that but all I found were descriptions of the
benefits and risks of using .htaccess file.
The first google hit should have been the "end all, be all" as it was
a qualys hit:
4 However I could not find the answer in the link offered. Then
again, it may have shot right over my head since I'm not even up to
the beginner level in apache configuration.

Rob Berendt

This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.