<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200506-13">
  <title>webapp-config: Insecure temporary file handling</title>
  <synopsis>
    The webapp-config utility insecurely creates temporary files in a world
    writable directory, potentially allowing the execution of arbitrary
    commands.
  </synopsis>
  <product type="ebuild">webapp-config</product>
  <announced>2005-06-17</announced>
  <revised count="03">2007-12-30</revised>
  <bug>91785</bug>
  <access>local</access>
  <affected>
    <package name="app-admin/webapp-config" auto="yes" arch="*">
      <unaffected range="ge">1.11</unaffected>
      <vulnerable range="lt">1.11</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    webapp-config is a Gentoo Linux utility to help manage the installation
    of web-based applications.
    </p>
  </background>
  <description>
    <p>
    Eric Romang discovered webapp-config uses a predictable temporary
    filename while processing certain options, resulting in a race
    condition.
    </p>
  </description>
  <impact type="normal">
    <p>
    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.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All webapp-config users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=app-admin/webapp-config-1.11"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-1707">CVE-2005-1707</uri>
  </references>
  <metadata tag="requester" timestamp="2005-05-10T15:08:15Z">
    jaervosz
  </metadata>
  <metadata tag="submitter" timestamp="2005-05-10T15:49:46Z">
    taviso
  </metadata>
  <metadata tag="bugReady" timestamp="2005-06-17T08:32:12Z">
    koon
  </metadata>
</glsa>
