Lucene search

K
certCERTVU:351219
HistoryAug 28, 2002 - 12:00 a.m.

Sun Solaris ptexec does not adequately validate argument passed via -o option

2002-08-2800:00:00
www.kb.cert.org
20

7.2 High

CVSS2

Attack Vector

LOCAL

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:L/AC:L/Au:N/C:C/I:C/A:C

0.0004 Low

EPSS

Percentile

0.4%

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

351219

Filter by status: All Affected Not Affected Unknown

Filter by content: __ Additional information available

__ Sort by: Status Alphabetical

Expand all

Javascript is disabled. Click here to view vendors.

Sun Microsystems Inc. __ Affected

Notified: June 12, 2001 Updated: August 28, 2002

Status

Affected

Vendor Statement

Sun can confirm that the ‘ptexec’ binary which is part of the unbundled SunVTS product, (see <http://www.sun.com/oem/products/vts&gt;), is shipped setuid in the following SunVTS versions and does contain a buffer overflow:

VTS version Solaris Release
----------- ---------------
SunVTS 4.0 Solaris 8 FCS, Solaris 8 Update 1 (06/00)
SunVTS 4.1 Solaris 8 Update 2 (10/00)
SunVTS 4.2 Solaris 8 Update 3 (01/01)

A local unprivileged user may be able to gain unauthorized root privileges due to the buffer overflow in ‘ptexec’. The ‘ptexec’ binary has been removed from the SunVTS product starting with SunVTS4.3 (shipped with Solaris 8 Update 4 - 04/01). Thus, SunVTS releases from 4.3 onwards do not install the ptexec binary. Patches are being generated for this issue and Sun will be publishing a Sun Alert for this issue, both of which will be available here:

<http://sunsolve.sun.com>

Upgrading to a later release of SunVTS, version 4.3 or later, will also address this vulnerability. SunVTS is available from:

<http://www.sun.com/oem/products/vts&gt;

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

The CERT/CC has no additional comments at this time.

If you have feedback, comments, or additional information about this vulnerability, please send us [email](<mailto:[email protected]?Subject=VU%23351219 Feedback>).

CVSS Metrics

Group Score Vector
Base
Temporal
Environmental

References

Acknowledgements

This vulnerability was discovered by Pablo Sor and was reported to the Bugtraq mailing list on June 21, 2001. The CERT/CC thanks Sun Microsystems for their cooperation in the production of this document.

This document was written by Ian A. Finlay

Other Information

CVE IDs: CVE-2001-0701
Severity Metric: 13.13 Date Public:

7.2 High

CVSS2

Attack Vector

LOCAL

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:L/AC:L/Au:N/C:C/I:C/A:C

0.0004 Low

EPSS

Percentile

0.4%

Related for VU:351219