200-201 · Question #408
What is a Shellshock vulnerability?
The correct answer is A. command injection. The Shellshock vulnerability is a critical command injection flaw found in the Bash shell, allowing attackers to execute arbitrary commands by manipulating environment variables.
Question
What is a Shellshock vulnerability?
Options
- Acommand injection
- Bcross site scripting
- Cheap overflow
- DSQL injection
How the community answered
(17 responses)- A88% (15)
- B6% (1)
- C6% (1)
Why each option
The Shellshock vulnerability is a critical command injection flaw found in the Bash shell, allowing attackers to execute arbitrary commands by manipulating environment variables.
Shellshock allows attackers to inject and execute arbitrary commands in a system's Bash shell by appending malicious code to specially crafted environment variables, which is the definition of command injection.
Cross-site scripting (XSS) is a client-side code injection vulnerability typically affecting web applications, not a shell vulnerability.
A heap overflow involves writing more data than allocated to a memory buffer in the heap, leading to memory corruption, which is a different class of vulnerability.
SQL injection targets databases by inserting malicious SQL code into input fields, which is distinct from a shell command execution flaw.
Concept tested: Shellshock vulnerability type
Source: https://www.redhat.com/en/shellshock
Topics
Community Discussion
No community discussion yet for this question.