Debian DSA-292-3 : mime-support - insecure temporary file creation

medium Nessus Plugin ID 15129

Synopsis

The remote Debian host is missing a security-related update.

Description

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.

When run-mailcap is executed on a file with a potentially problematic filename, a temporary file is created (not insecurely anymore), removed and a symbolic link to this filename is created. An attacker could recreate the file before the symbolic link is created, forcing the display program to display different content.

Solution

Upgrade the mime-support packages.

For the stable distribution (woody) these problems have been fixed in version 3.18-1.3.

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

See Also

http://www.debian.org/security/2003/dsa-292

Plugin Details

Severity: Medium

ID: 15129

File Name: debian_DSA-292.nasl

Version: 1.22

Type: local

Agent: unix

Published: 9/29/2004

Updated: 1/4/2021

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.3

CVSS v2

Risk Factor: Medium

Base Score: 4.6

Vector: CVSS2#AV:L/AC:L/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:mime-support, cpe:/o:debian:debian_linux:2.2, cpe:/o:debian:debian_linux:3.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Vulnerability Publication Date: 4/22/2003

Reference Information

CVE: CVE-2003-0214

DSA: 292