Cis Apache 7.4
DevOps & Securitycis-apache-7.4Cis Apache 7.4 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 Weak SSL Protocols Are Disabled
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
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-7.4/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/cis-apache-7-4, 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 Weak SSL Protocols Are Disabled
Description
The Apache SSLProtocol directive specifies the SSL and TLS protocols allowed. Both the SSLv2 and the SSLv3 protocols should be disabled in this directive because they are outdated and vulnerable to information disclosure. Only TLS protocols should be enabled.
Rationale
The SSLv2 and SSLv3 protocols are flawed and shouldn't be used, as they are subject to man-in-the-middle attacks and other cryptographic attacks. The TLSv1 protocols should be used instead, and the newer TLS protocols are preferred.
Impact
None documented
Audit Procedure
Perform the following to determine if the recommended state is implemented:
Verify the SSLProtocol directive is present in the Apache server level configuration and every virtual host that is SSL enabled. For each directive, verify that either:
- a minus -SSLv2 and a minus -SSLv3 are included
- an explicit list of only TLS protocols without any plus (+) or minus (-) symbols
Remediation
Perform the following to implement the recommended state:
Search the Apache configuration files for the SSLProtocol directive. Add the directive if not present or change the value to match the following values. The first setting TLS1.2 is preferred when it is acceptable to also disable the TLSv1.0 and TLSv1.1 protocols. See the level 2 recommendation "Ensure the TLSv1.0 and TLSv1.1 Protocols are Disabled" for details.
SSLProtocol TLS1.2
SSLProtocol TLSv1
Default Value
SSLProtocol all -SSLv2
References
- https://httpd.apache.org/docs/2.2/mod/mod_ssl.html#sslprotocol
- https://www.owasp.org/index.php/Testing_for_SSL-TLS_%28OWASP-CM-001%29
- https://www.us-cert.gov/ncas/alerts/TA14-290A
- https://www.openssl.org/~bodo/ssl-poodle.pdf
CIS Controls
Version 6
14.2 Encrypt All Sensitive Information Over Less-trusted Networks All communication of sensitive information over less-trusted networks should be encrypted. Whenever information flows over a network with a lower trust level, the information should be encrypted.
Version 7
14.4 Encrypt All Sensitive Information in Transit Encrypt all sensitive information in transit.
Profile
Level 1 | Scored Level 2 | Scored