Vulnerability Assessment & Network Security Forums



If through a vulnerability assessment, a network security issue is detected for the vulnerability below, applying the appropriate security patches in a timely matter is very important.  If you have detected that your system has already been compromised, following CERT's Network Security recovery document will assist with recommended steps for system recovery.


Home >> Browse Vulnerability Assessment Database >> CGI abuses >> RedHat 6.0 cachemgr.cgi


Vulnerability Assessment Details

RedHat 6.0 cachemgr.cgi

Vulnerability Assessment Summary
Checks whether the cachemgr.cgi is installed and accessible.

Detailed Explanation for this Vulnerability Assessment

RedHat Linux 6.0 installs by default a squid cache manager cgi script with
no restricted access permissions. This script could be used to perform a
port scan from the cgi-host machine.

Solution :
If you are not using the box as a Squid www proxy/cache server then
uninstall the package by executing:
/etc/rc.d/init.d/squid stop
rpm -e squid

If you want to continue using the Squid proxy server software, make the
following actions to tighten security access to the manager interface:
mkdir /home/httpd/protected-cgi-bin
mv /home/httpd/cgi-bin/cachemgr.cgi /home/httpd/protected-cgi-bin/

And add the following directives to /etc/httpd/conf/access.conf and
srm.conf:

--- start access.conf segment ---
# Protected cgi-bin directory for programs that
# should not have public access
order deny,permit
deny from all
permit from localhost
#permit from .your_domain.com
AllowOverride None
Options ExecCGI
--- end access.conf segment ---

--- start srm.conf segment ---
ScriptAlias /protected-cgi-bin/ /home/httpd/protected-cgi-bin/
--- end srm.conf segment ---

Network Security Threat Level: High

Networks Security ID: 2059

Vulnerability Assessment Copyright: This script is Copyright (C) 1999 A. de Bernis

Cables, Connectors

Dell R720xd 8-Core Server 2x E5-2609 v2 2.5GHz 32GB 12x 8TB, 2x 480GB 3.5in
$5579.0
Dell R720xd 8-Core Server 2x E5-2609 v2 2.5GHz 32GB 12x 8TB, 2x 480GB 3.5in pictureDell R630 16-Core Server 2x E5-2630 v3 2.4GHz 16GB H730 8x 1TB SAS
$3088.0
Dell R630 16-Core Server 2x E5-2630 v3 2.4GHz 16GB H730 8x 1TB SAS pictureDell R720xd 24-Core Server 2x E5-2697 v2 2.7GHz 64GB 12x 6TB, 2x 480GB 3.5in
$5522.0
Dell R720xd 24-Core Server 2x E5-2697 v2 2.7GHz 64GB 12x 6TB, 2x 480GB 3.5in pictureDell R730xd 16-Core Server 2x E5-2640 v3 2.6GHz 768GB 16x 600GB 2.5in H730 Rails
$12637.0
Dell R730xd 16-Core Server 2x E5-2640 v3 2.6GHz 768GB 16x 600GB 2.5in H730 Rails picture


Discussions

No Discussions have been posted on this vulnerability.