vendor:
top
by:
Kevin Finisterre
7.5
CVSS
HIGH
Format String Vulnerability
134
CWE
Product Name: top
Affected Version From: top-3.5.tar.gz
Affected Version To: FreeBSD prior to 4.2
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: BSD
2004
top Format String Vulnerability
top contains a format-string vulnerability that may lead to a compromise of effective groupid kmem on BSD systems (or similar privileges on other systems). The problem occurs in the printing of error messages to a users terminal. A string partially composed of user input (the error message) is passed to a printf() function as the format string argument, allowing malicious format specifiers in user input to corrupt stack variables and execute arbitrary code.
Mitigation:
Upgrade to the latest version of top.