Gentoo Logo

webapp-config: Insecure temporary file handling

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200506-13 / webapp-config
Release Date June 17, 2005
Latest Revision December 30, 2007: 03
Impact normal
Exploitable local
Package Vulnerable versions Unaffected versions Architecture(s)
app-admin/webapp-config < 1.11 >= 1.11 All supported architectures

Related bugreports: #91785

Synopsis

The webapp-config utility insecurely creates temporary files in a world writable directory, potentially allowing the execution of arbitrary commands.

2.  Impact Information

Background

webapp-config is a Gentoo Linux utility to help manage the installation of web-based applications.

Description

Eric Romang discovered webapp-config uses a predictable temporary filename while processing certain options, resulting in a race condition.

Impact

Successful exploitation of the race condition would allow an attacker to disrupt the operation of webapp-config, or execute arbitrary shell commands with the privileges of the user running webapp-config. A local attacker could use a symlink attack to create or overwrite files with the permissions of the user running webapp-config.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All webapp-config users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-admin/webapp-config-1.11"

4.  References



Print

Page updated June 17, 2005

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.