Overview
The Sun Solaris ptexec command is subject to a buffer overflow due to not adequately validating arguments passed via the -o option.
Description
A locally exploitable buffer overflow exists in the ptexec command which is included in the SUNWvts package. This package is not included in the typical default installation of Solaris. If this package is installed, it is typically installed setuid root by default. If this vulnerability is exploited by an intruder, it would allow for the execution of arbitrary code on the victim host. Due to insufficient handling of input by the -o option of the ptexec command, a buffer overflow will occur when 400 or more characters are given as input to this command. Because of this, an intruder can overwrite the memory space of the running process. |
Impact
A local user can execute arbitrary code with root privileges. |
Solution
Either apply a patch (when available), or upgrade to a later release of SunVTS (4.3 or later). |
Vendor Information
CVSS Metrics
Group | Score | Vector |
---|---|---|
Base | ||
Temporal | ||
Environmental |
References
Acknowledgements
This vulnerability was discovered by Pablo Sor
This document was written by Ian A. Finlay
Other Information
CVE IDs: | CVE-2001-0701 |
Severity Metric: | 13.13 |
Date Public: | 2001-06-21 |
Date First Published: | 2002-08-28 |
Date Last Updated: | 2002-08-28 17:25 UTC |
Document Revision: | 57 |