Check: WG370 A24
Apache Server 2.4 Unix:
WG370 A24
(in version v1 r1)
Title
MIME types for csh or sh shell programs must be disabled. (Cat II impact)
Discussion
Users must not be allowed to access the shell programs. Shell programs might execute shell escapes and could then perform unauthorized activities that could damage the security posture of the web server. A shell is a program that serves as the basic interface between the user and the operating system. In this regard, there are shells that are security risks in the context of a web server and shells that are unauthorized in the context of the Security Features User's Guide.
Check Content
Enter the following commands: find / -name httpd.conf -print -exec grep -H -i "Action" {} \; find / -name httpd.conf -print -exec grep -H -i "AddHandler" {} \; If either of these exist and they configure /bin/csh, or any other shell as a viewer for documents, this is a finding.
Fix Text
Disable MIME types for csh or sh shell programs.
Additional Identifiers
Rule ID:
Vulnerability ID: V-2225
Group Title:
Expert Comments
CCIs
Number | Definition |
---|---|
No CCIs are assigned to this check |
Controls
Number | Title |
---|---|
No controls are assigned to this check |