[Full-Disclosure] [ GLSA 200410-02 ] Netpbm: Multiple temporary file issues

From: Thierry Carrez (koon_at_gentoo.org)
Date: 10/04/04

  • Next message: Marc Deslauriers: "[FLSA-2004:1372] Updated sysstat packages fix security vulnerabilities"
    To: gentoo-announce@lists.gentoo.org
    Date: Mon, 04 Oct 2004 19:25:55 +0200
    
    
    

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Gentoo Linux Security Advisory GLSA 200410-02
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                                http://security.gentoo.org/
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

      Severity: Normal
         Title: Netpbm: Multiple temporary file issues
          Date: October 04, 2004
          Bugs: #65647
            ID: 200410-02

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

    Synopsis
    ========

    Utilities included in old Netpbm versions are vulnerable to multiple
    temporary files issues, potentially allowing a local attacker to
    overwrite files with the rights of the user running the utility.

    Background
    ==========

    Netpbm is a toolkit containing more than 200 separate utilities for
    manipulation and conversion of graphic images.

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

        -------------------------------------------------------------------
         Package / Vulnerable / Unaffected
        -------------------------------------------------------------------
      1 media-libs/netpbm <= 9.12-r4 >= 10.0

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

    Utilities contained in the Netpbm package prior to the 9.25 version
    contain defects in temporary file handling. They create temporary files
    with predictable names without checking first that the target file
    doesn't already exist.

    Impact
    ======

    A local attacker could create symbolic links in the temporary files
    directory, pointing to a valid file somewhere on the filesystem. When a
    user or a tool calls one of the affected utilities, this would result
    in file overwriting with the rights of the user running the utility.

    Workaround
    ==========

    There is no known workaround at this time.

    Resolution
    ==========

    All Netpbm users should upgrade to an unaffected version:

        # emerge sync

        # emerge -pv ">=media-libs/netpbm-10.0"
        # emerge ">=media-libs/netpbm-10.0"

    References
    ==========

      [ 1 ] CVE-2003-0924
            http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2003-0924
      [ 2 ] US-CERT VU#487102
            http://www.kb.cert.org/vuls/id/487102

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

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

      http://security.gentoo.org/glsa/glsa-200410-02.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@gentoo.org or alternatively, you may file a bug at
    http://bugs.gentoo.org.

    License
    =======

    Copyright 2004 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/1.0

    
    

    _______________________________________________
    Full-Disclosure - We believe in it.
    Charter: http://lists.netsys.com/full-disclosure-charter.html



  • Next message: Marc Deslauriers: "[FLSA-2004:1372] Updated sysstat packages fix security vulnerabilities"

    Relevant Pages

    • [ GLSA 200410-02 ] Netpbm: Multiple temporary file issues
      ... Utilities included in old Netpbm versions are vulnerable to multiple ... temporary files issues, potentially allowing a local attacker to ... in file overwriting with the rights of the user running the utility. ... Security is a primary focus of Gentoo Linux and ensuring the ...
      (Full-Disclosure)
    • [ GLSA 200410-02 ] Netpbm: Multiple temporary file issues
      ... Utilities included in old Netpbm versions are vulnerable to multiple ... temporary files issues, potentially allowing a local attacker to ... in file overwriting with the rights of the user running the utility. ... Security is a primary focus of Gentoo Linux and ensuring the ...
      (Bugtraq)
    • [UNIX] Bad Temporary File Handling in GNAT
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... GNAT) handles temporary files in an unsafe manner, ... The patch below replaces the calls to tmpnamor mktempwith ones to ...
      (Securiteam)
    • Re: Why Users dont have write rights to the %windir%TEMP folder
      ... The number of "power users" of any type can be counted on the ... folder and I will like to see if it is acceptable in terms of security. ... That's not the correct location for temporary files, ... rather than on every workstation. ...
      (microsoft.public.windows.server.security)
    • Re: Temporary Internet Files
      ... Ron, thanks for the suggestion. ... but there is no "delete temporary files" option. ... Scroll down the list to the Security ...
      (microsoft.public.windowsxp.basics)