Lucene search

K
gentooGentoo FoundationGLSA-200409-18
HistorySep 14, 2004 - 12:00 a.m.

cdrtools: Local root vulnerability in cdrecord if set SUID root

2004-09-1400:00:00
Gentoo Foundation
security.gentoo.org
13

CVSS2

7.2

Attack Vector

LOCAL

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:L/AC:L/Au:N/C:C/I:C/A:C

EPSS

0

Percentile

5.3%

Background

The cdrtools package is a set of tools for CD recording, including the popular cdrecord command-line utility.

Description

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

Resolution

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"
OSVersionArchitecturePackageVersionFilename
Gentooanyallapp-cdr/cdrtools<= 2.01_alpha37UNKNOWN

CVSS2

7.2

Attack Vector

LOCAL

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:L/AC:L/Au:N/C:C/I:C/A:C

EPSS

0

Percentile

5.3%