Gentoo Logo

C* music player: Insecure temporary file usage

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200909-08 / cmus
Release Date September 09, 2009
Latest Revision September 09, 2009: 01
Impact normal
Exploitable local
Package Vulnerable versions Unaffected versions Architecture(s)
media-sound/cmus < 2.2.0-r1 >= 2.2.0-r1 All supported architectures

Related bugreports: #250474

Synopsis

An insecure temporary file usage has been reported in the C* music player, allowing for symlink attacks.

2.  Impact Information

Background

The C* Music Player (cmus) is a modular and very configurable ncurses-based audio player.

Description

Dmitry E. Oboukhov reported that cmus-status-display does not handle the "/tmp/cmus-status" temporary file securely.

Impact

A local attacker could perform symlink attacks to overwrite arbitrary files with the privileges of the user running the application.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All C* music player users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-sound/cmus-2.2.0-r1"

4.  References



Print

Page updated September 09, 2009

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2014 Gentoo Foundation, Inc. Questions, Comments? Contact us.