PGP SIGNED MESSAGE-----
CA-2002-26 Buffer Overflow in CDE ToolTalk
release date: August 12, 2002
Last revised: --
revision history can be found at the end of this file.
running CDE ToolTalk
Desktop Environment (CDE) ToolTalk RPC database server
contains a buffer overflow vulnerability that could allow a remote
attacker to execute arbitrary code or cause a denial of service.
Desktop Environment (CDE) is an integrated graphical user
interface that runs on UNIX and Linux operating systems. CDE ToolTalk
is a message brokering system that provides an architecture for
applications to communicate with each other across hosts and
platforms. The ToolTalk RPC database server, rpc.ttdbserverd, manages
communication between ToolTalk applications. For more information
about CDE, see
ToolTalk database server is vulnerable to a heap buffer
overflow via an argument passed to the procedure _TT_CREATE_FILE().
attacker with access to the ToolTalk RPC database service could
exploit this vulnerability with a specially crafted RPC message.
Note VU#387387 includes a list of vendors who have been
contacted about this vulnerability.
was discovered and reported by the Entercept
Ricochet Team and is described in the following Entercept Security
has been assigned CAN-2002-0679 by the Common
Vulnerabilities and Exposures (CVE) group.
previously documented problems in CDE can be found in Appendix
an RPC message containing a specially crafted argument to
_TT_CREATE_FILE(), a remote attacker could execute arbitrary code or
cause a denial of service. The ToolTalk database server process runs
with root privileges on most systems. Note that the non-executable
stack protection provided by some operating systems will not prevent
the execution of code located on the heap.
patch from your vendor
A contains information provided by vendors for this advisory.
As vendors report new information to the CERT/CC, we will update this
section and note the changes in our revision history. If a particular
vendor is not listed below, we have not received their comments.
Please contact your vendor directly.
patches are available and can be applied, you may wish to
disable the ToolTalk RPC database service. As a best practice, the
CERT/CC recommends disabling all services that are not explicitly
required. On a typical CDE system, it should be possible to disable
rpc.ttdbserverd by commenting out the relevant entries in
/etc/inetd.conf and if necessary, /etc/rpc, and then by restarting the
number for the ToolTalk RPC database server is 100083. If
references to 100083 or rpc.ttdbserverd appear in /etc/inetd.conf or
/etc/rpc or in output from the rpcinfo(1M) and ps(1) commands, then
the ToolTalk RPC database server may be running.
example was taken from a system running SunOS 5.8
# Sun ToolTalk Database Server
100083/1 tli rpc/tcp wait root /usr/dt/bin/rpc.ttdbserverd
program vers proto port service
100083 1 tcp 32773
# ps -ef
UID PID PPID C STIME TTY TIME CMD
root 355 164 0 19:31:27 ? 0:00 rpc.ttdbserverd
deciding to disable the ToolTalk RPC database server or the RPC
portmapper service, carefully consider your network configuration and
to vulnerable service
patches are available and can be applied, you may wish to block
access to the ToolTalk RPC database server and possibly the RPC
portmapper service from untrusted networks such as the Internet. Use
firewall or other packet-filtering technology to block the appropriate
network ports. The ToolTalk RPC database server may be configured to
use port 692/tcp or another port as indicated in output from the
rpcinfo(1M) command. In the example above, the ToolTalk RPC database
server is configured to use port 32773/tcp. The RPC portmapper service
typically runs on ports 111/tcp and 111/udp. Keep in mind that
blocking ports at a network perimeter does not protect the vulnerable
service from attacks that originate from the internal network.
deciding to block or restrict access to the ToolTalk RPC
database server or the RPC portmapper service, carefully consider your
network configuration and service requirements.
Appendix A. - Vendor Information
contains information provided by vendors for this
advisory. As vendors report new information to the CERT/CC, we will
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 Caldera UnixWare are vulnerable to this
issue. A fix will be announced and made available as soon as the
CERT advisory is made public.
Inc. does include ToolTalk within the CrayTools product.
However, rpc.ttdbserverd is not turned on or used by any Cray
provided application. Since a site may have turned this on for
their own use, they can always remove the binary
/opt/ctl/bin/rpc.ttdbserverd if they are concerned.
Hewlett-Packard Company Software Security Response Team
REFERENCE ID: SSRT2274
HP Tru64 UNIX
time of writing this document, Hewlett Packard is currently
investigating the potential impact to HP-UX and HP Tru64 UNIX
released operating system software.
provide notice of the availability of any necessary patches
through standard security bulletin announcements and be available
from your normal HP Services support channel.
HP OpenVMS HP NonStop Servers
workaround is to disable rpc.ttdbserverd until
solutions are available. This should only create a potential
problem for public software packages applications that use the
RPC-based ToolTalk database server. This step should be evaluated
against the risks identified, your security measures environment,
and potential impact of other products that may use the ToolTalk
out the following line in /etc/inetd.conf:
stream tcp swait root /usr/dt/bin/rpc.ttdbserverd
inetd to re-read the configuration file by executing the
inetd -h command.
The internet daemon should kill the currently running
rpc.ttdbserver. If not, manually kill any existing rpc.ttdbserverd
desktop product shipped with AIX is vulnerable to the issue
detailed above in the advisory. This affects AIX releases 4.3.3 and
5.1.0. The efix package is currently being generated and will soon
be available from the IBM software ftp site.
packages can be downloaded via anonymous ftp from
ftp.software.ibm.com/aix/efixes/security/. This directory contains
a README file that gives further details on the efix packages.
APARs will be available in the near future:
AIX 5.1.0: IY32793
the ToolTalk vulnerabilities reported by CERT and
is currently investigating. No further information is available at
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 on http://www.sgi.com/support/security/.
RPC-based ToolTalk database server, rpc.ttdbserverd, is
vulnerable to the buffer overflow described in this advisory in all
currently supported versions of Solaris:
2.5.1, 2.6, 7, 8, and 9
are being generated for all of the above releases. Sun will
be publishing Sun Alert 46366 for this issue which will be located
Alert will be updated as more information or patches become
available. The patches will be available from:
be publishing a Sun Security Bulletin for this issue once
all of the patches are available which will be located at:
deXtop CDE v2.1 is vulnerable to this attack. The
update and accompanying text file will be:
version 3.0 already contains this fix.
do not need to use the ToolTalk server daemon. Xi
Graphics Security recommends that non-essential services are never
enabled. To disable the ToolTalk server on your system, edit
/etc/inetd.conf and comment out, or remove, the 'rpc.ttdbserver'
line. Then, either restart inetd, or reboot your machine.
Appendix B. - References
Coordination Center thanks Sinan Eren of the Entercept
Richochet Team for reporting this vulnerability.
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
2002 Carnegie Mellon University.
12, 2002: Initial release
Version: PGP 6.5.8
-----END PGP SIGNATURE-----