OpenParable
Skip to content
← Back to skills

Cis Apache24 8.3

DevOps & Security
cis-apache24-8.3

Cis Apache24 8.3 is an Agent Skill for devops & security published in the CyberStrikeus/CyberStrike repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Ensure All Default Apache Content Is Removed (Manual)

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/CyberStrikeus/CyberStrike/blob/HEAD/.cyberstrike/skill/CIS_benchmarks/Server_Software/Apache_HTTP_Server/CIS_Apache_HTTP_Server_2.4_Benchmark_v2.3.0/cis-apache24-8.3/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/cis-apache24-8-3, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Ensure All Default Apache Content Is Removed (Manual)

Profile Applicability

  • Level 2

Description

In previous recommendations, we have removed default content such as the Apache manuals and default CGI programs. However, if you want to further restrict information leakage about the web server, it is important that default content such as icons are not left on the web server.

Rationale

To identify the type of web servers and versions software installed it is common for attackers to scan for icons or special content specific to the server type and version. A simple request like http://example.com/icons/apache_pb2.png may tell the attacker that the server is Apache 2.4. Many icons are used primarily for auto indexing, which is also recommended to be disabled.

Audit

Perform the following step to determine if the recommended state is implemented:

Verify that there is no alias or directory access to the Apache icons directory in any of the Apache configuration files.

Remediation

Perform either of the following to implement the recommended state:

  1. The default source build places the auto-index and icon configurations in the extra/httpd-autoindex.conf file, so it can be disabled by leaving the include line commented out in the main httpd.conf file as shown below.

    • # Fancy directory listings
    • #Include conf/extra/httpd-autoindex.conf
  2. Alternatively, the icon alias directive and the directory access control configuration can be commented out as shown if present:

    • # We include the /icons/ alias for FancyIndexed directory listings. If
    • # you do not use FancyIndexing, you may comment this out.
    • #
    • #Alias /icons/ "/var/www/icons/"
    • #<Directory "/var/www/icons">
    • # Options Indexes MultiViews FollowSymLinks
    • # AllowOverride None
    • # Order allow,deny
    • # Allow from all
    • #</Directory>

Default Value

The default source build does not enable access to the Apache icons.

CIS Controls

v8:

  • 9.4 Restrict Unnecessary or Unauthorized Browser and Email Client Extensions
    • Restrict, either through uninstalling or disabling, any unauthorized or unnecessary browser or email client plugins, extensions, and add-on applications.

v7:

  • 13.2 Remove Sensitive Data or Systems Not Regularly Accessed by Organization
    • Remove sensitive data or systems not regularly accessed by the organization from the network. These systems shall only be used as stand alone systems (disconnected from the network) by the business unit needing to occasionally use the system or completely virtualized and powered off until needed.

Profile

  • Level 2