[Full-disclosure] [ GLSA 200903-35 ] Muttprint: Insecure temporary file usage

Pierre-Yves Rofes py at gentoo.org
Mon Mar 23 21:56:40 GMT 2009


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200903-35
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: Muttprint: Insecure temporary file usage
      Date: March 23, 2009
      Bugs: #250554
        ID: 200903-35

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

An insecure temporary file usage in Muttprint allows for symlink
attacks.

Background
==========

Muttprint formats the output of mail clients to a good-looking printing
using LaTeX.

Affected packages
=================

    -------------------------------------------------------------------
     Package             /  Vulnerable  /                   Unaffected
    -------------------------------------------------------------------
  1  app-misc/muttprint     < 0.72d-r1                     >= 0.72d-r1

Description
===========

Dmitry E. Oboukhov reported an insecure usage of the temporary file
"/tmp/muttprint.log" in the muttprint script.

Impact
======

A local attacker could perform symlink attacks to overwrite arbitrary
files with the privileges of the user running the application.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All Muttprint users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=app-misc/muttprint-0.72d-r1"

References
==========

  [ 1 ] CVE-2008-5368
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5368

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200903-35.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security at gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2009 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.5

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://lists.grok.org.uk/pipermail/full-disclosure/attachments/20090323/c591d85c/attachment.bin 


Full-Disclosure is hosted and sponsored by Secunia.