<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200501-41">
  <title>TikiWiki: Arbitrary command execution</title>
  <synopsis>
    A bug in TikiWiki allows certain users to upload and execute malicious PHP
    scripts.
  </synopsis>
  <product type="ebuild">tikiwiki</product>
  <announced>2005-01-30</announced>
  <revised count="02">2006-05-22</revised>
  <bug>78944</bug>
  <access>remote</access>
  <affected>
    <package name="www-apps/tikiwiki" auto="yes" arch="*">
      <unaffected range="ge">1.8.5</unaffected>
      <vulnerable range="lt">1.8.5</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    TikiWiki is a web-based groupware and content management system (CMS),
    using PHP, ADOdb and Smarty.
    </p>
  </background>
  <description>
    <p>
    TikiWiki does not validate files uploaded to the "temp" directory.
    </p>
  </description>
  <impact type="high">
    <p>
    A malicious user could run arbitrary commands on the server by
    uploading and calling a PHP script.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All TikiWiki users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=www-apps/tikiwiki-1.8.5"</code>
  </resolution>
  <references>
    <uri link="http://tikiwiki.org/art102">TikiWiki Advisory</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-0200">CVE-2005-0200</uri>
  </references>
  <metadata tag="submitter" timestamp="2005-01-28T00:00:37Z">
    DerCorny
  </metadata>
  <metadata tag="bugReady" timestamp="2005-01-29T17:00:21Z">
    vorlon078
  </metadata>
</glsa>
