The link is basically saying don't use the .htaccess file at all. I
haven't done this on the zend server on my i, but I have on some other
pages just running apache on linux.
https://stackoverflow.com/questions/17140605/apache-htaccess-rewrite-can
-i-move-this-into-httpd-conf





Kevin Bucknum
Senior Programmer Analyst
MEDDATA/MEDTRON
Tel: 985-893-2550

-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Rob
Berendt
Sent: Wednesday, August 22, 2018 7:47 AM
To: WEB400@xxxxxxxxxxxx
Subject: [WEB400] .htaccess, CVE-2000-0234 and Zend

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-

that-the-htaccess-file-cannot-be-accessed-via-the-internet#comment-38864
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
--
IBM Certified System Administrator - IBM i 6.1 Group Dekko Dept 1600
Mail
to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com

--
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-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.