nerdexam
GAQM

CPEH-001 · Question #906

What is the Shellshock bash vulnerability attempting to do on a vulnerable Linux host? env x='(){ :;};echo exploit' bash 璫 `cat/etc/passwd'

The correct answer is D. Display passwd content to prompt. See the full explanation below for the reasoning.

Question

What is the Shellshock bash vulnerability attempting to do on a vulnerable Linux host? env x='(){ :;};echo exploit' bash 璫 `cat/etc/passwd'

Options

  • ARemoves the passwd file
  • BChanges all passwords in passwd
  • CAdd new user to the passwd file
  • DDisplay passwd content to prompt

How the community answered

(48 responses)
  • A
    6% (3)
  • B
    17% (8)
  • C
    2% (1)
  • D
    75% (36)

Community Discussion

No community discussion yet for this question.

Full CPEH-001 Practice