nerdexam
CompTIA

PT0-001 · Question #108

A penetration tester wants to check manually if a "ghost" vulnerability exists in a system. Which of the following methods is the correct way to validate the vulnerability?

The correct answer is B. Download the GHOST file to a Windows system and compile. The GHOST vulnerability (CVE-2015-0235) is a critical heap buffer overflow in the Linux glibc library, and its proof-of-concept must be compiled and executed on a Linux system to validate its presence.

Vulnerability discovery and analysis

Question

A penetration tester wants to check manually if a "ghost" vulnerability exists in a system. Which of the following methods is the correct way to validate the vulnerability?

Options

  • ADownload the GHOST file to a Linux system and compile
  • BDownload the GHOST file to a Windows system and compile
  • CDownload the GHOST file to a Linux system and compile
  • DDownload the GHOST file to a Windows system and compile

How the community answered

(35 responses)
  • A
    14% (5)
  • B
    77% (27)
  • C
    3% (1)
  • D
    6% (2)

Why each option

The GHOST vulnerability (CVE-2015-0235) is a critical heap buffer overflow in the Linux glibc library, and its proof-of-concept must be compiled and executed on a Linux system to validate its presence.

ADownload the GHOST file to a Linux system and compile

This choice is textually identical to choice C due to a question formatting error; based on technical context, a Windows-based approach is invalid because glibc does not exist on Windows.

BDownload the GHOST file to a Windows system and compileCorrect

Note - the answer choices in this question appear to contain a formatting error, as choices A and C are identical and choices B and D are identical, making it impossible to distinguish four unique options. Based on known technical facts, the GHOST vulnerability resides in glibc's gethostbyname() function, which is exclusive to Linux systems; therefore, correct manual validation requires downloading the proof-of-concept, compiling it on the target Linux system, and running it to observe whether the system crashes or behaves abnormally. A Windows system cannot be used because glibc is not a Windows component.

CDownload the GHOST file to a Linux system and compile

This choice is a duplicate of choice A and the same reasoning applies - the formatting corruption in this question prevents meaningful differentiation of the four options.

DDownload the GHOST file to a Windows system and compile

This choice is a duplicate of choice B and the same reasoning applies - the formatting corruption prevents a distinct analysis from being offered.

Concept tested: Manual validation of GHOST CVE-2015-0235 on Linux

Source: https://nvd.nist.gov/vuln/detail/CVE-2015-0235

Topics

#GHOST vulnerability#glibc#vulnerability validation#Linux

Community Discussion

No community discussion yet for this question.

Full PT0-001 Practice