TMAegis베타
apache 관련 규칙 더 보기

Apache HTTP Server

TMA-APACHE-5.5

Ensure the Default CGI Content printenv Script Is Removed

낮음레벨 2수동 검토apache

설명

Most Web Servers, including Apache installations have default CGI content which is not needed or appropriate for production use. The primary function for these sample programs is to demonstrate the capabilities of the web server. One common default CGI content for Apache installations is the script printenv. Manual review: the benchmark gives no reliable automated check for this control.

점검 방법

감사 방식: 수동 검토

이 권장 사항은 자동으로 점검할 수 없습니다. --include-manual 옵션을 전달하면 스캔 결과에 이 지침과 함께 표시됩니다.

Perform the following to determine if the recommended state is implemented: 1. Locate cgi-bin files and directories enabled in the Apache configuration via Script, ScriptAlias or ScriptAliasMatch directives. 2. Ensure the printenv CGI is not installed in any configured cgi-bin directory.

조치 방법

조치 방식: 가이드 또는 인프라 패치

Perform the following to implement the recommended state: 1. Locate cgi-bin files and directories enabled in the Apache configuration via Script, ScriptAlias, ScriptAliasMatch directives. 2. Remove the printenvdefault CGI in cgi-bin directory if it is installed. # rm $APACHE_PREFIX/cgi-bin/printenv

속성

운영 체제
모두
태그
apachefeatures
참고 자료
CIS Apache HTTP Server 2.4 Benchmark v2.4.0 - 5.5 Ensure the Default CGI Content printenv Script Is Removed