<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>237843</bug_id>
          <alias>CVE-2008-3195</alias>
          <creation_ts>2008-09-16 14:40 0000</creation_ts>
          <short_desc>www-apps/twiki &lt;4.2.3 config script command execution (CVE-2008-{3195,4112})</short_desc>
          <delta_ts>2008-09-21 14:48:44 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Security</product>
          <component>Vulnerabilities</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://www.kb.cert.org/vuls/id/362012</bug_file_loc>
          <status_whiteboard>~1 [noglsa]</status_whiteboard>
          
          <priority>P2</priority>
          <bug_severity>trivial</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>rbu@gentoo.org</reporter>
          <assigned_to>security@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>rbu@gentoo.org</who>
            <bug_when>2008-09-16 14:40:28 0000</bug_when>
            <thetext>US-CERT writes:
The TWiki wiki software fails to validate input passed to certain URLs. By accessing a URL containing the TWiki configuration script, an attacker may be able to read arbitrary files.

I. Description
TWiki is a wiki that is runs in the context of the Apache web server. TWiki is installed by configuring Apache, then accessing a configuration script from a web browser. Before executing the configuration script, the TWiki installation instructions provide a generator for Apache configuration directives that is designed to prevent unauthorized access to the script.

There is a command execution vulnerability in TWiki versions prior to 4.2.3. According to the TWiki download page, this issue can only be exploited if the configure script was not secured as described in step number 8 in the installation guide.

Public exploit code has been released that targets this vulnerability. TWiki servers typically use predictable URLs and vulnerable systems may be found by querying search engines.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rbu@gentoo.org</who>
            <bug_when>2008-09-17 19:39:31 0000</bug_when>
            <thetext>CVE-2008-4112 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2008-4112):
  Directory traversal vulnerability in bin/configure in TWiki before
  4.2.3, when a certain step in the installation guide is skipped,
  allows remote attackers to read arbitrary files via a query string
  containing a .. (dot dot) in the image variable.

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rbu@gentoo.org</who>
            <bug_when>2008-09-19 15:28:13 0000</bug_when>
            <thetext>CVE-2008-3195 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2008-3195):
  Directory traversal vulnerability in bin/configure in TWiki before
  4.2.3, when a certain step in the installation guide is skipped,
  allows remote attackers to read arbitrary files via a query string
  containing a .. (dot dot) in the image variable, and execute
  arbitrary files via unspecified vectors.

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wrobel@gentoo.org</who>
            <bug_when>2008-09-21 14:25:55 0000</bug_when>
            <thetext>Added twiki-4.2.3, removed vulnerable -4.1.2, -4.2.0, -4.2.2. Unstable on all arches. Webapps done.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>