Vobcopy: Insecure temporary file creation

Security Team  Contact Address

Updated March 05, 2008

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200803-11 / vobcopy
Release Date March 05, 2008
Latest Revision March 05, 2008: 01
Impact normal
Exploitable local
Package Vulnerable versions Unaffected versions Architecture(s)
media-video/vobcopy < 1.1.0 >= 1.1.0 All supported architectures

Related bugreports: #197578

Synopsis

Vobcopy uses temporary files in an insecure manner, allowing for a symlink attack.

2.  Impact Information

Background

Vobcopy is a tool for decrypting and copying DVD .vob files to a hard disk.

Description

Joey Hess reported that vobcopy appends data to the file "/tmp/vobcopy.bla" in an insecure manner.

Impact

A local attacker could exploit this vulnerability to conduct symlink attacks and append data to arbitrary files with the privileges of the user running Vobcopy.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All Vobcopy users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-video/vobcopy-1.1.0"

4.  References