J-Security Center

Title: CDRDAO Home Directory Configuration File Symbolic Link Vulnerability

Severity: HIGH

Description:

CDRDAO is a freely available, open source CD recording software package available for the Unix and Linux Operating Systems. It is maintained by Andreas Mueller.

A problem with the software package could make it possible for local users to gain elevated privileges. The problem is in the creation of files by root.

When CDRDAO executes, it can be made to save the executing configuration to a file in the executing user's home directory. This file is typically saved as $HOME/.cdrdao. It is also reported that when CDRAO is run with the "unlock -save" arguments, the CDRDAO utility will create the aforementioned file.

When CDRDAO saves its configuration to the .cdrdao file in a user's home directory, the file is saved with root ownership. Additionally, CDRDAO does not check for the previous existence of this file. Since the CDRDAO executable is typically installed setuid root, it is possible for a user to create this file as a symbolic link, which could result in the overwriting of root-owned files, or potentially allow the user execute commands as root.

This problem could make it possible for a local user to corrupt root-owned files, or potentially gain elevated privileges, including administrative access.

Affected Products:

  • CDRDAO CDRDAO 1.1.4
  • CDRDAO CDRDAO 1.1.5
  • CDRDAO CDRDAO 1.1.9

References:

Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.