GLSA-200409-18 : cdrtools: Local root vulnerability in cdrecord if set SUID root
High Nessus Plugin ID 14746
SynopsisThe remote Gentoo host is missing one or more security-related patches.
DescriptionThe 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.
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.
As a workaround, you could remove the SUID rights from your cdrecord utility :
# chmod a-s /usr/bin/cdrecord
SolutionAll 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'