cdrtools scsiopen.c file format string attack
| cdrtools-scsiopen-format-string (12007) |
Description:
cdrtools (formerly cdrecord) is vulnerable to a format string attack in the scsiopen.c file of the cdrecord program. The cdrecord program is installed setuid root on some Linux distributions. A local attacker could exploit this vulnerability by using the dev parameter to gain unauthorized root privileges and execute arbitrary code on the system.
Platforms Affected:
- Gentoo, Linux
- Jörg Schilling, cdrtools 2.0
- MandrakeSoft, Mandrake Linux 8.2
- MandrakeSoft, Mandrake Linux 8.2 PPC
- MandrakeSoft, Mandrake Linux 9.0
- MandrakeSoft, Mandrake Linux 9.1 PPC
- MandrakeSoft, Mandrake Linux 9.1
- MandrakeSoft, Mandrake Linux Corporate Server 2.1
Remedy:
Upgrade to the latest version of cdrtools (2.01a14 or later), available from the freshmeat.net Web site. See References.
For Mandrake Linux:
Upgrade to the latest cdrecord package, as listed below. Refer to MandrakeSoft Security Advisory MDKSA-2003:058-1 : cdrecord for more information. See References.
Mandrake Linux 8.2: 1.11-0.a31.1.3mdk or later
Mandrake Linux 9.0 and Corporate Server 2.1: 1.11-0.a32.3mdk or later
Mandrake Linux 9.1: 2.0-2.2mdk or later
For Gentoo Linux:
Upgrade to the latest cdrtools package (1.11.33-r1 or 2.01_alpha14 or later), as listed in Gentoo Linux Security Announcement 200305-06.1. See References.
For other distributions:
Contact your vendor for upgrade or patch information.
Consequences:
Gain Privileges
References:
- BugTraq Mailing List, 2003-05-13 20:52:01, Cdrecord_local_root_exploit. at http://marc.theaimsgroup.com/?l=bugtraq&m=105286031812533&w=2.
- BugTraq Mailing List, Tue May 13 2003 - 03:27:36 CDT , cdrtools2.0 Format String Vulnerability at http://archives.neohapsis.com/archives/bugtraq/2003-05/0144.html.
- Freshmeat.net Web site, Project details for cdrtools at http://freshmeat.net/projects/cdrecord/?topic_id=257%2C19%2C845%2C118%2C139.
- Gentoo Linux Security Announcement 200305-06, cdrtools privelige escalation at http://www.linuxsecurity.com/content/view/105010/104/.
- Gentoo Linux Security Announcement 200305-06.1, cdrtools privelige escalation at http://www.linuxsecurity.com/content/view/105010/104/.
- SecuriTeam Mailing List, Security Holes & Exploits 18 Jun 2003, Another Cdrecord Format String Vulnerability Exploit Released at http://www.securiteam.com/exploits/5ZP0C2AAAC.html.
- BID-7565: CDRTools CDRecord Devname Format String Vulnerability
- CVE-2003-0289: Format string vulnerability in scsiopen.c of the cdrecord program in cdrtools 2.0 allows local users to gain privileges via format string specifiers in the dev parameter.
- MDKSA-2003:058: Updated cdrecord packages fix local root compromise
- MDKSA-2003:058-1: Updated cdrecord packages fix local root compromise
Reported:
May 13, 2003
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.
For corrections or additions please email xforce@iss.net
