CDRTools CDRecord Devname Format String Vulnerability

BID:7565

Info

CDRTools CDRecord Devname Format String Vulnerability

Bugtraq ID: 7565
Class: Input Validation Error
CVE: CVE-2003-0289
Remote: No
Local: Yes
Published: May 13 2003 12:00AM
Updated: Jul 11 2009 10:06PM
Credit: Discovery of this vulnerability has been credited to Stefano Di Paola <[email protected]>.
Vulnerable: CDRTools CDRecord 2.0
+ Mandriva Linux Mandrake 9.1 ppc
+ Mandriva Linux Mandrake 9.1
CDRTools CDRecord 1.11
+ MandrakeSoft Corporate Server 2.1
+ Mandriva Linux Mandrake 9.0
+ Mandriva Linux Mandrake 8.2 ppc
+ Mandriva Linux Mandrake 8.2
Not Vulnerable:

Discussion

CDRTools CDRecord Devname Format String Vulnerability

CDRecord has been reported prone to a format string vulnerability. The issue presents itself due to a programming error that occurs when calling a printf-like function.

It has been reported that by harnessing an unsupported feature of the CDRecord utility, an attacker may supply format string specifiers as the 'dev' argument passed to the vulnerable utility.

This may ultimately result in the execution of attacker-supplied code in the context of the CDRecord utility. It has been reported that CDRecord is installed setUID root on several distributions.

It should be noted that although this vulnerability has been reported to affect CDRecord version 2.0 previous versions might also be affected.

Exploit / POC

CDRTools CDRecord Devname Format String Vulnerability

The following proof of concept was supplied, additional exploit 'priv8cdr.pl' supplied by Priv8security.com:

$ ./cdrecord dev="AAAA|%x%x%x%x%x%x%x%x%x%x%x" int.c

Solution / Fix

CDRTools CDRecord Devname Format String Vulnerability

Solution:
Mandrake has released a security advisory (MDKSA-2003:058-1), updating a previous advisory. Users are advised to upgrade as soon as possible. Further information regarding how to obtain and apply fixes can be found in the attached advisory.

The vendor has released an update to address this issue:


CDRTools CDRecord 2.0

References

CDRTools CDRecord Devname Format String Vulnerability

References:

© CVE.report 2026

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. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report