CAS-003 · Question #934
An attacker has discovered an organization's web server is vulnerability to Shellshock. The attack runs the following command on a Linux box against the server: Which of the following BEST describes…
The correct answer is A. Implement x.508 certificates for mutual authentication. Shellshock is a critical Bash vulnerability that allows attackers to inject commands through environment variables passed via HTTP headers (e.g., User-Agent, Referer). Implementing X.509 certificates for mutual TLS authentication (A) prevents unauthenticated clients from…
Question
An attacker has discovered an organization's web server is vulnerability to Shellshock. The attack runs the following command on a Linux box against the server:
Which of the following BEST describes how to prevent the attack?
Options
- AImplement x.508 certificates for mutual authentication.
- BUse NTLM and send hashes over the network.
- CConfigure LDAP to authenticate user agents.
- DReduce the privileges of the user running the web-server daemon.
How the community answered
(45 responses)- A78% (35)
- B7% (3)
- C4% (2)
- D11% (5)
Explanation
Shellshock is a critical Bash vulnerability that allows attackers to inject commands through environment variables passed via HTTP headers (e.g., User-Agent, Referer). Implementing X.509 certificates for mutual TLS authentication (A) prevents unauthenticated clients from reaching the vulnerable Bash interpreter by requiring both the server and the client to present valid certificates before any request is processed-effectively blocking untrusted attackers from sending the malicious headers that trigger Shellshock. While patching Bash is the definitive fix (not listed as an option), of the choices given, mutual authentication is the most effective preventive control as it restricts access to the attack surface entirely. NTLM hashes (B) and LDAP user-agent authentication (C) are not standard web server controls for this scenario. Reducing daemon privileges (D) is a compensating control that limits damage if exploited but does not prevent the attack itself.
Topics
Community Discussion
No community discussion yet for this question.