Solaris libc getopt(3) contains a buffer overflow vulnerability. Please note the date of this report: 1/27/1997. This does not affect current versions of Solaris.
A buffer overflow condition exists in the getopt(3) routine in Solaris libc. By supplying an invalid option and replacing argv of a SUID program that uses the getopt(3) function with the appropriate address and machine code instructions, it is possible to overwrite the saved stack frame and upon return(s) force the processor to execute user supplied instructions with elevated permissions.
A local user can gain root access.
For those with source:
Sun Microsystems Inc.
Thanks to L0pht/@stake and Sun for information used in this document.
|Date First Published:||2003-09-25|
|Date Last Updated:||2003-09-25 15:34 UTC|