vendor:
Solaris
by:
Pablo Sor
7.5
CVSS
HIGH
Buffer Overflow
120
CWE
Product Name: Solaris
Affected Version From:
Affected Version To:
Patch Exists: NO
Related CWE:
CPE: o:sun:solaris:7
Platforms Tested: Solaris 7 x86
2000
Write Overflow Proof of Concept
This is a proof of concept for a buffer overflow vulnerability in the /usr/bin/write binary on Solaris 7 x86. The vulnerability allows an attacker to execute arbitrary code by overwriting the return address on the stack. The exploit uses a shellcode to spawn a shell with root privileges. It takes two optional command line arguments for the shell offset and return address offset, but the default offsets should work.
Mitigation:
Apply the latest patches provided by the vendor. Avoid running the vulnerable version of the /usr/bin/write binary.