GLSA-200409-18 : cdrtools: Local root vulnerability in cdrecord if set SUID root

This script is Copyright (C) 2004-2014 Tenable Network Security, Inc.


Synopsis :

The remote Gentoo host is missing one or more security-related
patches.

Description :

The remote host is affected by the vulnerability described in GLSA-200409-18
(cdrtools: Local root vulnerability in cdrecord if set SUID root)

Max Vozeler discovered that the cdrecord utility, when set to SUID root,
fails to drop root privileges before executing a user-supplied RSH program.
By default, Gentoo does not ship the cdrecord utility as SUID root and
therefore is not vulnerable. However, many users (and CD-burning
front-ends) set this manually after installation.

Impact :

A local attacker could specify a malicious program using the $RSH
environment variable and have it executed by the SUID cdrecord, resulting
in root privileges escalation.

Workaround :

As a workaround, you could remove the SUID rights from your cdrecord
utility :
# chmod a-s /usr/bin/cdrecord

See also :

http://www.gentoo.org/security/en/glsa/glsa-200409-18.xml

Solution :

All cdrtools users should upgrade to the latest version:
# emerge sync
# emerge -pv '>=app-cdr/cdrtools-2.01_alpha37-r1'
# emerge '>=app-cdr/cdrtools-2.01_alpha37-r1'

Risk factor :

High / CVSS Base Score : 7.2
(CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 14746 (gentoo_GLSA-200409-18.nasl)

Bugtraq ID:

CVE ID: CVE-2004-0806