Overview
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.
Description
From <http://www.atstake.com/research/advisories/1997/getopt.txt>: A buffer overflow condition exists in the getopt(3) routine in Solaris libc. By supplying an invalid option and replacing argv[0] 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. |
Impact
A local user can gain root access. |
Solution
Please see <http://au.sunsolve.sun.com/pub-cgi/retrieve.pl?type=0&doc=secbull%2F141&display=plain>. |
From <http://www.atstake.com/research/advisories/1997/getopt.txt>: For those with source: |
Vendor Information
CVSS Metrics
Group | Score | Vector |
---|---|---|
Base | ||
Temporal | ||
Environmental |
References
Acknowledgements
Thanks to L0pht/@stake and Sun for information used in this document.
This document was written by James T. Ellis and updated by Art Manion.
Other Information
CVE IDs: | None |
Severity Metric: | 3.92 |
Date Public: | 1997-01-27 |
Date First Published: | 2003-09-25 |
Date Last Updated: | 2003-09-25 15:34 UTC |
Document Revision: | 7 |