vendor:
inetutils
by:
Rew
7,5
CVSS
HIGH
Heap Overflow
119
CWE
Product Name: inetutils
Affected Version From: 1.8-1
Affected Version To: 1.8-1
Patch Exists: NO
Related CWE: NA (0day)
CPE: a:gnu:inetutils:1.8
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: Arch Linux
2010
GNU inetutils 1.8-1 ftp client Heap Overflow
GNU inetutils ftp (shipped with linux and other *nix's) suffers a heap overflow while parsing command arguments (but ONLY when the argument is NOT passed on the same line.) If you run any command (open, user, cd, mkdir, etc) without an argument, ftp will prompt you for an argument with readline(). It will then copy this input into a 200 byte buffer without first checking it's length.
Mitigation:
Check the length of the input before copying it into a buffer.