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

High Nessus Plugin ID 14746


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


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


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'

See Also

Plugin Details

Severity: High

ID: 14746

File Name: gentoo_GLSA-200409-18.nasl

Version: $Revision: 1.13 $

Type: local

Published: 2004/09/16

Modified: 2015/04/13

Dependencies: 12634

Risk Information

Risk Factor: High


Base Score: 7.2

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:cdrtools, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 2004/09/14

Vulnerability Publication Date: 2004/08/31

Reference Information

CVE: CVE-2004-0806

OSVDB: 9779

GLSA: 200409-18