Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ GLSA 200409-18 ] cdrtools: Local root vulnerability in cdrecord if set SUID root
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index News & Announcements
View previous topic :: View next topic  
Author Message
GLSA
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 3829
Location: Essen, Germany

PostPosted: Tue Sep 14, 2004 9:34 pm    Post subject: [ GLSA 200409-18 ] cdrtools: Local root vulnerability in cdr Reply with quote

Gentoo Linux Security Advisory

Title: cdrtools: Local root vulnerability in cdrecord if set SUID root (GLSA 200409-18)
Severity: high
Exploitable: local
Date: September 14, 2004
Bug(s): #63187
ID: 200409-18

Synopsis

cdrecord, if manually set SUID root, is vulnerable to a local root exploit allowing users to escalate privileges.

Background

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

Affected Packages

Package: app-cdr/cdrtools
Vulnerable: <= 2.01_alpha37
Unaffected: >= 2.01_alpha37-r1
Unaffected: >= 2.01_alpha28-r2 < 2.2
Architectures: All supported architectures


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 :
Code:
# chmod a-s /usr/bin/cdrecord


Resolution

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


References

CAN-2004-0806


Last edited by GLSA on Sun May 07, 2006 4:52 pm; edited 1 time in total
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index News & Announcements All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum