Debian: mime-support insecure tmp file creation vulnerability

    Date22 Apr 2003
    CategoryDebian
    1980
    Posted ByLinuxSecurity Advisories
    When a temporary file is to be used it is created insecurely, allowing an attacker to overwrite arbitrary under the user id of the person executing run-mailcap, most probably root.
    
    - --------------------------------------------------------------------------
    Debian Security Advisory DSA 292-1                     This email address is being protected from spambots. You need JavaScript enabled to view it. 
    http://www.debian.org/security/                             Martin Schulze
    April 22nd, 2003                         http://www.debian.org/security/faq
    - --------------------------------------------------------------------------
    
    Package        : mime-support
    Vulnerability  : insecure temporary file creation
    Problem-Type   : local
    Debian-specific: no
    
    Colin Phipps discovered several problems in mime-support, that contains
    support programs for the MIME control files 'mime.types' and 'mailcap'.
    When a temporary file is to be used it is created insecurely, allowing
    an attacker to overwrite arbitrary under the user id of the person
    executing run-mailcap, most probably root.  Additionally the program did
    not properly escape shell escape characters when executing a command.
    This is unlikely to be exploitable, though.
    
    For the stable distribution (woody) these problems have been fixed in
    version 3.18-1.1.
    
    For the old stable distribution (potato) these problems have been
    fixed in version 3.9-1.1.
    
    For the unstable distribution (sid) these problems have been
    fixed in version 3.22-1.
    
    We recommend that you upgrade your mime-support packages.
    
    
    Upgrade Instructions
    - --------------------
    
    wget url
            will fetch the file for you
    dpkg -i file.deb
            will install the referenced file.
    
    If you are using the apt-get package manager, use the line for
    sources.list as given below:
    
    apt-get update
            will update the internal database
    apt-get upgrade
            will install corrected packages
    
    You may use an automated update by adding the resources from the
    footer to the proper configuration.
    
    
    Debian GNU/Linux 2.2 alias potato
    - ---------------------------------
    
      Source archives:
    
         http://security.debian.org/pool/updates/main/m/mime-support/mime-support_3.9-1.1.dsc
          Size/MD5 checksum:      473 45ec24d391fbccffe70612eee5117d12
         http://security.debian.org/pool/updates/main/m/mime-support/mime-support_3.9-1.1.tar.gz
          Size/MD5 checksum:    91665 530e77c39a2ef192da2492af7b4ee493
    
      Architecture independent components:
    
         http://security.debian.org/pool/updates/main/m/mime-support/mime-support_3.9-1.1_all.deb
          Size/MD5 checksum:    99118 0b86cad241365d36b376fdc2d5d6bb2e
    
    
    Debian GNU/Linux 3.0 alias woody
    - --------------------------------
    
      Source archives:
    
         http://security.debian.org/pool/updates/main/m/mime-support/mime-support_3.18-1.1.dsc
          Size/MD5 checksum:      475 a4e5dfead5075aff505dea895dc15a44
         http://security.debian.org/pool/updates/main/m/mime-support/mime-support_3.18-1.1.tar.gz
          Size/MD5 checksum:    72157 2c486737714c778928f354ccab4a01be
    
      Architecture independent components:
    
         http://security.debian.org/pool/updates/main/m/mime-support/mime-support_3.18-1.1_all.deb
          Size/MD5 checksum:    68520 4a2fb1fa53ef6c0b83e5416399a1b2ea
    
    
      These files will probably be moved into the stable distribution on
      its next revision.
    
    - ---------------------------------------------------------------------------------
    For apt-get: deb  http://security.debian.org/ stable/updates main
    For dpkg-ftp:  ftp://security.debian.org/debian-security dists/stable/updates/main
    Mailing list: This email address is being protected from spambots. You need JavaScript enabled to view it.
    Package info: `apt-cache show ' and  http://packages.debian.org/
    
    
    
    
    You are not authorised to post comments.

    Comments powered by CComment

    LinuxSecurity Poll

    What do you think of the articles on LinuxSecurity?

    No answer selected. Please try again.
    Please select either existing option or enter your own, however not both.
    Please select minimum 0 answer(s) and maximum 3 answer(s).
    /main-polls/24-what-do-you-think-of-the-quality-of-the-articles-on-linuxsecurity?task=poll.vote&format=json
    24
    radio
    [{"id":"87","title":"Excellent, don't change a thing!","votes":"4","type":"x","order":"1","pct":57.14,"resources":[]},{"id":"88","title":"Should be more technical","votes":"2","type":"x","order":"2","pct":28.57,"resources":[]},{"id":"89","title":"Should include more HOWTOs","votes":"1","type":"x","order":"3","pct":14.29,"resources":[]}]["#ff5b00","#4ac0f2","#b80028","#eef66c","#60bb22","#b96a9a","#62c2cc"]["rgba(255,91,0,0.7)","rgba(74,192,242,0.7)","rgba(184,0,40,0.7)","rgba(238,246,108,0.7)","rgba(96,187,34,0.7)","rgba(185,106,154,0.7)","rgba(98,194,204,0.7)"]350
    bottom200

    Advisories

    We use cookies to provide and improve our services. By using our site, you consent to our Cookie Policy.