OpenParable
Skip to content
← Back to skills

Cis Apache 9.1

DevOps & Security
cis-apache-9.1

Cis Apache 9.1 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 the TimeOut Is Set Properly

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.2_Benchmark_v3.6.0/cis-apache-9.1/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/cis-apache-9-1, 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 the TimeOut Is Set Properly

Description

The TimeOut directive controls the maximum time in seconds that Apache HTTP server will wait for an Input/Output call to complete. It is recommended that the TimeOut directive be set to 10 or less.

Rationale

One common technique for DoS is to initiate many connections to the server. By decreasing the timeout for old connections, the server can free resources more quickly and be more responsive. By making the server more efficient, it will be more resilient to DoS conditions.

Important Notice: There is a slow form of DoS attack not adequately mitigated by these controls, such as the Slow Loris DoS attack of June 2009 http://ha.ckers.org/slowloris/. Upgrading to Apache 2.4 is recommended.

Impact

None documented

Audit Procedure

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

Verify that the Timeout directive is specified in the Apache configuration files to have a value of 10 seconds or less.

Remediation

Perform the following to implement the recommended state:

Add or modify the Timeout directive in the Apache configuration files to have a value of 10 seconds or less.

Timeout 10

Default Value

Timeout 300

References

  1. https://httpd.apache.org/docs/2.2/mod/core.html#timeout

CIS Controls

Version 6

9 Limitation and Control of Network Ports, Protocols, and Services Limitation and Control of Network Ports, Protocols, and Services

Version 7

5.1 Establish Secure Configurations Maintain documented, standard security configuration standards for all authorized operating systems and software.

Profile

Level 1 | Scored