vendor:
Solaris
by:
UNYUN
7.2
CVSS
HIGH
Buffer Overflow
120
CWE
Product Name: Solaris
Affected Version From: Solaris 2.5
Affected Version To: Solaris 2.6
Patch Exists: NO
Related CWE: N/A
CPE: o:sun:solaris:2.6
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: Sparc
2002
kcms_configure Exploit for Solaris2.6/7 Sparc Edition
There is an unchecked sprintf() call in the versions of /usr/openwin/bin/kcms_configure shipped with solaris 2.5, 2.5.1 and 2.6. Unfortunately, kcms_configure is installed setuid root, making it possible for an attacker to overflow the buffer and have arbitrary code executed with superuser privileges.
Mitigation:
Remove the setuid bit from the kcms_configure binary and ensure that the binary is not writable by any user.