PGP SIGNED MESSAGE-----
CA-2001-31 Buffer Overflow in CDE Subprocess Control Service
release date: November 12, 2001
Last revised: --
revision history can be found at the end of this file.
is a remotely exploitable buffer overflow vulnerability in a
library function used by the CDE Subprocess Control Service. This
vulnerability could be used to crash the service or to execute
arbitrary code with root privileges. This vulnerability is documented
Desktop Environment (CDE) is an integrated graphical user
interface that runs on UNIX and Linux operating systems. The CDE
Subprocess Control Service (dtspcd) is a network daemon that accepts
requests from clients to execute commands and launch applications
remotely. On systems running CDE, dtspcd is spawned by the Internet
services daemon (typically inetd or xinetd) in response to a CDE
client request. dtspcd is typically configured to run on port 6112/tcp
with root privileges.
information about CDE, see
is a remotely exploitable buffer overflow vulnerability in a
shared library that is used by dtspcd. During client negotiation,
dtspcd accepts a length value and subsequent data from the client
without performing adequate input validation. As a result, a malicious
client can manipulate data sent to dtspcd and cause a buffer overflow,
potentially executing code with root privileges.
was first reported to us in March 1999, and more
recently by Internet Security Systems (ISS) X-Force. For more
has been assigned the identifier CAN-2001-0803 by
the Common Vulnerabilities and Exposures (CVE) group:
UNIX systems ship with CDE installed and enabled by
default. To determine if your system is configured to run dtspcd,
check for the following entries (may be wrapped):
stream tcp nowait root /usr/dt/bin/dtspcd
that does not run the CDE Subprocess Control Service is not
vulnerable to this problem.
can execute arbitrary code with root privileges.
A contains information from vendors who have provided
information for this advisory. We will update the appendix as we
receive more information. If a vendor's name does not appear, then the
CERT/CC did not hear from that vendor. Please contact your vendor
to vulnerable service
patches are available and can be applied, you may wish to limit
or block access to the Subprocess Control Service from untrusted
networks such as the Internet. Using a firewall or other
packet-filtering technology, block or restrict access to the port used
by the Subprocess Control Service. As noted above, dtspcd is typically
configured to listen on port 6112/tcp. It may be possible to use TCP
Wrapper or a similar technology to provide improved access control and
logging functionality for dtspcd connections. Keep in mind that
blocking ports at a network perimeter does not protect the vulnerable
service from the internal network. It is important to understand your
network configuration and service requirements before deciding what
changes are appropriate. TCP Wrapper is available from
A. - Vendor Information
contains information provided by vendors for this
advisory. When vendors report new information to the CERT/CC, we
update this section and note the changes in our revision history. If
particular vendor is not listed below, we have not received their
Open Unix and UnixWare are vulnerable. Caldera has released
Security Advisory CSSA-2001-SCO.30 (URL wrapped):
Compaq Computer Corporation
Compaq has not been able to reproduce the problem identified in this
advisory for any Compaq OS. However, with the information available,
we are including a code change for Compaq's TRU64 UNIX that will
further reduce any potential overflow vulnerability. This updated code
will be announced when patches are available from the TRU64 UNIX FTP
site and will be included in future releases of TRU64 UNIX. The TRU64
UNIX FTP patch site is at:
to automatically receive future NEW Security Advisories
from the Compaq's Software Security Response Team via electronic mail,
use your browser select the URL:
"Security and Individual Notices" for immediate dispatch
notifications directly to your mailbox.
To report new Security Vulnerabilities, send mail to:
UNICOS/mk, and CrayTools are not vulnerable.
UXP/V operating system is not vulnerable because it does not
support any CDE components.
of dtspcd supplied by HP has a buffer overflow. It is not
clear whether this overflow can be exploited. To be safe HP is
generating patches to fix this overflow on the assumption that it
might be exploitable.
a buffer overflow in CDE dtspcd in AIX 4.x around April
1999. See the following APARs for more information (URLs wrapped):
(AIX V4.1 BOS):
The Open Group
Group maintains source code for the Common Desktop
Environment (CDE). The Open Group is investigating this issue, and
source licensees of The Open Group's CDE product can contact
firstname.lastname@example.org for advice regarding this issue.
the CDE vulnerabilities reported by CERT and is
currently investigating. No further information is available at this
time. For the protection of all our customers, SGI does not disclose,
discuss or confirm vulnerabilities until a full investigation has
occurred and any necessary patch(es) or release streams are available
for all vulnerable and supported IRIX operating systems. Until SGI has
more definitive information to provide, customers are encouraged to
assume all security vulnerabilities as exploitable and take
appropriate steps according to local site security policies and
requirements. As further information becomes available, additional
advisories will be issued via the normal SGI security information
distribution methods including the wiretap mailing list.
dtspcd daemon is vulnerable to this buffer overflow. Sun is
generating patches to address this issue for all affected and
supported versions of Solaris. Sun will be releasing a Sun Security
Bulletin once the patches are officially released and publicly
available. The patches will be available from:
Bulletins are available from:
not been able to confirm whether we are vulnerable to this
exploit, however the potential for a buffer overrun is present. We
will provide a patch on our FTP site for DeXtop during the week of
[November] 12th that addresses this issue.
Appendix B. - References
Coordination Center thanks Internet Security Systems (ISS)
X-Force, who published an advisory on this issue.
is available from:
Phone: +1 412-268-7090 (24-hour hotline)
Fax: +1 412-268-6989
CERT Coordination Center
Software Engineering Institute
Carnegie Mellon University
Pittsburgh PA 15213-3890
personnel answer the hotline 08:00-17:00 EST(GMT-5) /
EDT(GMT-4) Monday through Friday; they are on call for emergencies
during other hours, on U.S. holidays, and on weekends.
urge you to encrypt sensitive information sent by email.
Our public PGP key is available from
prefer to use DES, please call the CERT hotline for more
and other security information are available from
our web site
to the CERT mailing list for advisories and bulletins,
send email to email@example.com. Please include in the body of your
and "CERT Coordination Center" are registered in the U.S.
Patent and Trademark Office.
Any material furnished by Carnegie Mellon University and the Software
Engineering Institute is furnished on an "as is" basis. Carnegie
Mellon University makes no warranties of any kind, either expressed
implied as to any matter including, but not limited to, warranty of
fitness for a particular purpose or merchantability, exclusivity or
results obtained from use of the material. Carnegie Mellon University
does not make any warranty of any kind with respect to freedom from
patent, trademark, or copyright infringement.
for use, disclaimers, and sponsorship information
2001 Carnegie Mellon University.
November 12, 2001: initial release
Version: PGP 6.5.8
-----END PGP SIGNATURE-----