summaryrefslogtreecommitdiff
blob: bf2510583d5593ad0a9f9ae4215f857793ae5696 (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
69
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200508-07">
  <title>AWStats: Arbitrary code execution using malicious Referrer information</title>
  <synopsis>
    AWStats fails to validate certain log input, which could lead to the
    execution of arbitrary Perl code during the generation of the statistics.
  </synopsis>
  <product type="ebuild">awstats</product>
  <announced>2005-08-16</announced>
  <revised count="02">2009-05-28</revised>
  <bug>102145</bug>
  <access>remote</access>
  <affected>
    <package name="www-misc/awstats" auto="yes" arch="*">
      <unaffected range="ge">6.5</unaffected>
      <vulnerable range="lt">6.5</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    AWStats is an advanced log file analyzer and statistics generator.
    In HTTP reports it parses Referrer information in order to display the
    most common Referrer values that caused users to visit the website.
    </p>
  </background>
  <description>
    <p>
    When using a URLPlugin, AWStats fails to sanitize Referrer URL
    data before using them in a Perl eval() routine.
    </p>
  </description>
  <impact type="high">
    <p>
    A remote attacker can include arbitrary Referrer information in a
    HTTP request to a web server, therefore injecting tainted data in the
    log files. When AWStats is run on this log file, this can result in the
    execution of arbitrary Perl code with the rights of the user running
    AWStats.
    </p>
  </impact>
  <workaround>
    <p>
    Disable all URLPlugins in the AWStats configuration.
    </p>
  </workaround>
  <resolution>
    <p>
    All AWStats users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=www-misc/awstats-6.5"</code>
    <p>
    Note: Users with the vhosts USE flag set should manually use
    webapp-config to finalize the update.
    </p>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-1527">CAN-2005-1527</uri>
    <uri link="http://www.idefense.com/application/poi/display?id=290&amp;type=vulnerabilities">iDEFENSE Advisory</uri>
  </references>
  <metadata tag="submitter" timestamp="2005-08-12T17:33:30Z">
    koon
  </metadata>
  <metadata tag="bugReady" timestamp="2005-08-13T08:56:51Z">
    koon
  </metadata>
</glsa>