search menu icon-carat-right cmu-wordmark

CERT Coordination Center

Sun Solaris dtmail contains a format string vulnerability

Vulnerability Note VU#928598

Original Release Date: 2004-08-25 | Last Revised: 2005-05-16

Overview

A vulnerability in the way dtmail handles command-line arguments could allow an attacker to execute arbitrary code.

Description

The dtmail program is a mail user agent (MUA) for the Common Desktop Environment (CDE). It provides a graphical user interface for reading, sending, and managing email. There is a vulnerability in the way Sun Solaris dtmail handles command-line arguments. By supplying a specially crafted argv[0] value containing a format string specifier, a local user could execute arbitrary code with privileges of the vulnerable process.

Impact

A local user could execute arbitrary code with privileges of the vulnerable process, typically group mail. With these privileges, the user would have the ability to read, modify, and delete email of other users.

Solution

Apply patch

Sun has issued an advisory which addresses this issue. For more information on patches available for your system, please refer to Sun Security Alert 57627.

Remove set-group-ID bit


Remove the the "set-group-ID" bit from dtmail by doing the following:

chmod 0555 /usr/dt/bin/dtmail

Note: This may cause users to be unable to read NFS mounted mailboxes.

Vendor Information

928598
 

CVSS Metrics

Group Score Vector
Base
Temporal
Environmental

References

Acknowledgements

This vulnerability was reported by iDEFENSE Labs.

This document was written by Damon Morda.

Other Information

CVE IDs: CVE-2004-0800
Severity Metric: 5.63
Date Public: 2004-08-23
Date First Published: 2004-08-25
Date Last Updated: 2005-05-16 15:00 UTC
Document Revision: 20

Sponsored by CISA.