summaryrefslogtreecommitdiff
blob: bee8cf4151ad75cf0870175a4e744e2a40ed5f00 (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"?>
<?xml-stylesheet href="/xsl/glsa.xsl" type="text/xsl"?>
<?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">

<glsa id="200606-16">
  <title>DokuWiki: PHP code injection</title>
  <synopsis>
    A flaw in DokuWiki's spell checker allows for the execution of arbitrary
    PHP commands, even without proper authentication.
  </synopsis>
  <product type="ebuild">DokuWiki</product>
  <announced>June 14, 2006</announced>
  <revised>June 14, 2006: 01</revised>
  <bug>135623</bug>
  <access>remote</access>
  <affected>
    <package name="www-apps/dokuwiki" auto="yes" arch="*">
      <unaffected range="ge">20060309-r1</unaffected>
      <vulnerable range="lt">20060309-r1</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    DokuWiki is a simple to use wiki targeted at developer teams,
    workgroups and small companies.
    </p>
  </background>
  <description>
    <p>
    Stefan Esser discovered that the DokuWiki spell checker fails to
    properly sanitize PHP's "complex curly syntax".
    </p>
  </description>
  <impact type="high">
    <p>
    A unauthenticated remote attacker may execute arbitrary PHP commands -
    and thus possibly arbitrary system commands - with the permissions of
    the user running the webserver that serves DokuWiki pages.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All DokuWiki users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose &quot;&gt;=www-apps/dokuwiki-20060309-r1&quot;</code>
  </resolution>
  <references>
    <uri link="http://www.hardened-php.net/advisory_042006.119.html">Hardened-PHP advisory</uri>
    <uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-2878">CVE-2006-2878</uri>
  </references>
  <metadata tag="requester" timestamp="Sun, 11 Jun 2006 22:03:16 +0000">
    falco
  </metadata>
  <metadata tag="submitter" timestamp="Mon, 12 Jun 2006 18:33:06 +0000">
    frilled
  </metadata>
  <metadata tag="bugReady" timestamp="Tue, 13 Jun 2006 21:28:32 +0000">
    falco
  </metadata>
</glsa>