Certified Ethical Hacker (CEH) Practice Question

During a vulnerability assessment, you discover that an organization's Apache 2.4 server accepts requests containing URL-encoded "../" sequences and returns files located outside the web-root directory. The security team needs a countermeasure that can be implemented at the web-server layer without touching application code. Which action most directly mitigates this risk?

  • Enable the ModSecurity module with the OWASP Core Rule Set to drop any request containing directory-traversal patterns.

  • Increase the MaxRequestWorkers directive to handle a larger number of simultaneous connections.

  • Disable HTTP keep-alive in httpd.conf so each request closes immediately after a response.

  • Add the directive "ServerTokens Prod" to hide detailed Apache version information.

Certified Ethical Hacker (CEH)
Web Application Hacking
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot