Users login

Create an account »

JOIN XATRIX

Users login

Home » Hacking News » Debian DSA 292-2: mime-support insecure temp file creation

Debian DSA 292-2: mime-support insecure temp file creation

by Nikola Strahija on April 24th, 2003 Several problems have been found in mime-support that, if exploited, could allow a local attacker to overwrite the temporary file owned by root.


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- --------------------------------------------------------------------------
Debian Security Advisory DSA 292-2 [email protected]
http://www.debian.org/security/ Martin Schulze
April 23rd, 2003 http://www.debian.org/security/faq
- --------------------------------------------------------------------------

Package : mime-support
Vulnerability : insecure temporary file creation
Problem-Type : local
Debian-specific: no

Unfortunately yesterday's update for mime-support did not exactly work as expected, which requires an update. For completeness we include the advisory text:

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.2.

For the old stable distribution (potato) these problems have been
fixed in version 3.9-1.2.

For the unstable distribution (sid) these problems have been
fixed in version 3.22-1 (same as DSA 292-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.2.dsc
Size/MD5 checksum: 473 aee5059f79f23a3a87bae000d4be1d3e
http://security.debian.org/pool/updates/main/m/mime-support/mime-support_3.9-1.2.tar.gz
Size/MD5 checksum: 91752 65c98a8e86529662af082682eca108ae

Architecture independent components:

http://security.debian.org/pool/updates/main/m/mime-support/mime-support_3.9-1.2_all.deb
Size/MD5 checksum: 99198 97ca84b5ade9137cbba38fc05a14bdff


Debian GNU/Linux 3.0 alias woody
- --------------------------------

Source archives:

http://security.debian.org/pool/updates/main/m/mime-support/mime-support_3.18-1.2.dsc
Size/MD5 checksum: 475 7a83acdfcdcb2a128ebc2de347ad51c8
http://security.debian.org/pool/updates/main/m/mime-support/mime-support_3.18-1.2.tar.gz
Size/MD5 checksum: 72215 df544f4173db71ddbead9c61a8e9b3b5

Architecture independent components:

http://security.debian.org/pool/updates/main/m/mime-support/mime-support_3.18-1.2_all.deb


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: [email protected]
Package info: `apt-cache show ' and http://packages.debian.org/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+ppm/W5ql+IAeqTIRArbdAJ4v9nd483StCTS9bHakSe0N49/0PgCeJ3x/
mNVjE67noT4KK9B+pp2KMeY=
=mLz7
-----END PGP SIGNATURE-----


Newsletter signup

Signup to our monthly newsletter and stay in touch with IT news!

Free E-books

We've got ebooks! But they're not online. :( Please give us a few days to bring downloads back.

Contact

Have something to say or just wanna drop us a line? Please keep this in mind: to spam, we reply with spam.

Contact us »