[39204] in bugtraq

home help back first fref pref prev next nref lref last post

[ GLSA 200506-13 ] webapp-config: Insecure temporary file handling

daemon@ATHENA.MIT.EDU (Sune Kloppenborg Jeppesen)
Fri Jun 17 11:41:52 2005

From: Sune Kloppenborg Jeppesen <jaervosz@gentoo.org>
To: gentoo-announce@gentoo.org
Date: Fri, 17 Jun 2005 15:55:19 +0200
Cc: bugtraq@securityfocus.com, full-disclosure@lists.grok.org.uk,
        security-alerts@linuxsecurity.com
MIME-Version: 1.0
Content-Type: multipart/signed;
  boundary="nextPart1729870.lBtcqA6HR2";
  protocol="application/pgp-signature";
  micalg=pgp-sha1
Content-Transfer-Encoding: 7bit
Message-Id: <200506171555.24011.jaervosz@gentoo.org>

--nextPart1729870.lBtcqA6HR2
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200506-13
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: webapp-config: Insecure temporary file handling
      Date: June 17, 2005
      Bugs: #91785, #88831
        ID: 200506-13

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

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

Background
==========

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

Affected packages
=================

    -------------------------------------------------------------------
     Package                /  Vulnerable  /                Unaffected
    -------------------------------------------------------------------
  1  net-www/webapp-config       < 1.11                        >= 1.11

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.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

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

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=net-www/webapp-config-1.11"

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200506-13.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2005 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.0

--nextPart1729870.lBtcqA6HR2
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBCstZLzKC5hMHO6rkRAtsSAJ9Yc8yWFQomERAheHf3CiQ75xUR9QCcD3GP
CGWDgxNVbvGE6y6Pm43H31c=
=enAa
-----END PGP SIGNATURE-----

--nextPart1729870.lBtcqA6HR2--

home help back first fref pref prev next nref lref last post