× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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

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

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
MEDDATA/MEDTRON
Tel: 985-893-2550

-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Pete
Helgren
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:
https://htaccessbook.com/protect-htaccess-files/

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

Pete Helgren
www.petesworkshop.com
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.
THREAT:
.htaccess contains authentication information.
IMPACT:
Unauthorized users can gather authentication information from this file.
SOLUTION:
Change the Apache configuration so the .htaccess file cannot be
accessed via the Internet.
EXPLOITABILITY:
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
RESULTS:
GET /.htaccess HTTP/1.1
Host: 10.10.6.129:10081
Connection: Keep-Alive

I see .htaccess in two directories:
/usr/local/zendphp7/5250/Emulator/html
usr/local/zendphp7/gui/public

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:
https://community.qualys.com/thread/17767-how-to-configure-apache-
so-t
hat-the-htaccess-file-cannot-be-accessed-via-the-internet#comment-3886
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
https://archive.midrange.com/web400.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2024 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.