vendor:
NTPDC
by:
dronesec
7.8
CVSS
HIGH
Buffer Overflow
119
CWE
Product Name: NTPDC
Affected Version From: 4.2.6p3
Affected Version To: 4.2.6p3
Patch Exists: YES
Related CWE: N/A
CPE: N/A
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: Ubuntu 12.04.5 LTS
2015
NTPDC 4.2.6p3 BOF
This exploit is a buffer overflow vulnerability in NTPDC 4.2.6p3. It is tested on x86 Ubuntu 12.04.5 LTS. The exploit uses a payload of '/bin/nc -lp 5544 -e /bin/sh' which is stored in the environment variable EGG. The exploit then uses a loop to increment the LD_PRELOAD environment variable with a payload address based on an empty environment. The exploit then calls the ntpdc command with the sploit payload.
Mitigation:
Upgrade to the latest version of NTPDC.