node011/bounty-reaper/cis-apache-5-5
Claude Code and agent skill by node011/bounty-reaper
- community
Checking that the SKILL.md file is still in the repository.
Ensure the Default CGI Content printenv Script Is Removed
Install
npx vskill@latest install node011/bounty-reaper/cis-apache-5-5SKILL.md
Ensure the Default CGI Content printenv Script Is Removed
Description
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. This script will print back to the requester all of the CGI environment variables, which include many server configuration details and system paths.
Rationale
CGI programs have a long history of security bugs and problems associated with improperly accepting user input. Since these programs are often targets of attackers, we need to make sure there are no unnecessary CGI programs that could potentially be used for malicious purposes. Usually these programs were not written for production use, and consequently little thought was given to security in their development. The printenv script in particular will disclose inappropriate information about the web server, including directory paths and detailed version and configuration information.
Impact
None documented
Audit Procedure
Perform the following to determine if the recommended state is implemented:
- Locate cgi-bin files and directories enabled in the Apache configuration via the
Script,ScriptAlias,ScriptAliasMatch, orScriptInterpreterSourcedirectives. - Ensure the
printenvCGI is not installed in any configured cgi-bin directory.
Remediation
Perform the following to implement the recommended state:
- Locate cgi-bin files and directories enabled in the Apache configuration via the
Script,ScriptAlias,ScriptAliasMatch, orScriptInterpreterSourcedirectives. - Remove the
printenvdefault CGI in the cgi-bin directory if it is installed.
Default Value
The default source build does not include the printenv script.
Notes
None documented
References
None documented
CIS Controls
Version 6
18 Application Software Security Application Software Security
Version 7
4.7 Limit Access to Script Tools Limit access to scripting tools (such as Microsoft PowerShell and Python) to only administrative or development users with the need to access those capabilities.
Profile
Level 1 | Scored
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.bountyreaper/skill/CIS_benchmarks/Server_Software/Apache_HTTP_Server/cis-apache-http-server-2-2-benchmark-v3/cis-apache-5.5/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 8
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/node011/bounty-reaper/cis-apache-5-5)