用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/CyberStrikeus/CyberStrike --skill cis-apache24-4-3命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | cis-apache24-4.3 |
| description | Ensure OverRide Is Disabled for the OS Root Directory |
| category | cis-apache |
| version | 2.3.0 |
| author | cyberstrike-official |
| tags | ["cis","apache","linux","access-control"] |
| cis_id | 4.3 |
| cis_benchmark | CIS Apache HTTP Server 2.4 Benchmark v2.3.0 |
| tech_stack | ["linux","apache"] |
| cwe_ids | [] |
| chains_with | [] |
| prerequisites | [] |
| severity_boost | {} |
The Apache AllowOverride directive and the new AllowOverrideList directive allow for .htaccess files to be used to override much of the configuration, including authentication, handling of document types, auto generated indexes, access control, and options. When the server finds an .htaccess file (as specified by AccessFileName) it needs to know which directives declared in that file can override earlier access information. When this directive is set to None, then .htaccess files are completely ignored. In this case, the server will not even attempt to read .htaccess files in the filesystem. When this directive is set to All, then any directive which has the .htaccess Context is allowed in the .htaccess files.
While the functionality of htaccess files is sometimes convenient, usage decentralizes the access controls and increases the risk of configurations being changed or viewed inappropriately by an unintended rogue .htaccess file. Consider also that some of the more common vulnerabilities in web servers and web applications allow the web files to be viewed or to be modified, then it is wise to keep the configuration out of the web server from being placed in .htaccess files.
Perform the following to determine if the recommended state is implemented:
httpd.conf and any included configuration files) to find a root element.AllowOverride directive with the value of None.AllowOverrideList directives present.The following may be useful for extracting root directory elements from the Apache configuration for auditing.
$ perl -ne 'print if /^ *<Directory *\/\/i .. /<\/Directory>/i'
$APACHE_PREFIX/conf/httpd.conf
Perform the following to implement the recommended state:
httpd.conf and any included configuration files) to find a root <Directory> element.AllowOverrideList directives found.AllowOverride directive if there is none.AllowOverride to None.<Directory />
. . .
AllowOverride None
. . .
</Directory>
The following is the default root directory configuration:
<Directory />
. . .
AllowOverride None
. . .
</Directory>
Controls Version: v8
Controls Version: v7