PT0-001 · Question #153
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 C. Download the GHOST file to a Linux system and compile. The GHOST vulnerability (CVE-2015-0235) is a buffer overflow in glibc, a Linux-specific library, so manual validation requires compiling and running the proof-of-concept on a Linux system.
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
(41 responses)- A2% (1)
- B2% (1)
- C95% (39)
Why each option
The GHOST vulnerability (CVE-2015-0235) is a buffer overflow in glibc, a Linux-specific library, so manual validation requires compiling and running the proof-of-concept on a Linux system.
Although the wording of option A appears similar to C, the GHOST proof-of-concept must be compiled against the glibc headers present on the target Linux system - the distinction in the original question implies a procedural or environmental difference that makes C the documented correct method.
Windows systems do not include glibc and use a completely different C runtime library (msvcrt or the Universal CRT), making it impossible to compile or trigger the GHOST vulnerability on a Windows platform.
GHOST is a critical heap-based buffer overflow in the gethostbyname() function of the GNU C Library (glibc), which is present only on Linux and POSIX-compliant systems. Validating the vulnerability manually requires downloading the published proof-of-concept code, compiling it on a Linux host where glibc is installed, and executing it to confirm whether the installed glibc version falls within the vulnerable range.
Compiling the GHOST proof-of-concept on a Windows system cannot demonstrate this vulnerability because glibc is absent from Windows and the affected gethostbyname() code path does not exist in the Windows C runtime.
Concept tested: Manual validation of GHOST vulnerability CVE-2015-0235 on Linux
Source: https://access.redhat.com/articles/1332213
Topics
Community Discussion
No community discussion yet for this question.