summaryrefslogtreecommitdiff
blob: 3fba9c96032f6a304d3b52869115f101dd895875 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200609-10">
  <title>DokuWiki: Arbitrary command execution</title>
  <synopsis>
    Vulnerabilities in some accessory scripts of DokuWiki allow remote code
    execution.
  </synopsis>
  <product type="ebuild">dokuwiki</product>
  <announced>2006-09-14</announced>
  <revised count="01">2006-09-14</revised>
  <bug>146800</bug>
  <access>remote</access>
  <affected>
    <package name="www-apps/dokuwiki" auto="yes" arch="*">
      <unaffected range="ge">20060309d</unaffected>
      <vulnerable range="lt">20060309d</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    DokuWiki is a wiki targeted at developer teams, workgroups and small
    companies. It does not use a database backend.
    </p>
  </background>
  <description>
    <p>
    "rgod" discovered that DokuWiki doesn't sanitize the X-FORWARDED-FOR
    HTTP header, allowing the injection of arbitrary contents - such as PHP
    commands - into a file. Additionally, the accessory scripts installed
    in the "bin" DokuWiki directory are vulnerable to directory traversal
    attacks, allowing to copy and execute the previously injected code.
    </p>
  </description>
  <impact type="high">
    <p>
    A remote attacker may execute arbitrary PHP (and thus probably system)
    commands with the permissions of the user running the process serving
    DokuWiki pages.
    </p>
  </impact>
  <workaround>
    <p>
    Disable remote access to the "bin" subdirectory of the DokuWiki
    installation. Remove the directory if you don't use the scripts in
    there.
    </p>
  </workaround>
  <resolution>
    <p>
    All DokuWiki users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=www-apps/dokuwiki-20060309d"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-4674">CVE-2006-4674</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-4675">CVE-2006-4675</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-4679">CVE-2006-4679</uri>
  </references>
  <metadata tag="submitter" timestamp="2006-09-14T07:55:18Z">
    frilled
  </metadata>
  <metadata tag="bugReady" timestamp="2006-09-14T15:09:04Z">
    frilled
  </metadata>
</glsa>