summaryrefslogtreecommitdiff
blob: d07d0a5731e3d25f59d30966e340e9da7bb20459 (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
70
71
72
73
74
75
76
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200501-36">
  <title>AWStats: Remote code execution</title>
  <synopsis>
    AWStats fails to validate certain input, which could lead to the remote
    execution of arbitrary code or to the leak of information.
  </synopsis>
  <product type="ebuild">awstats</product>
  <announced>2005-01-25</announced>
  <revised count="04">2009-05-28</revised>
  <bug>77963</bug>
  <bug>81775</bug>
  <access>remote</access>
  <affected>
    <package name="www-misc/awstats" auto="yes" arch="*">
      <unaffected range="ge">6.3-r2</unaffected>
      <vulnerable range="lt">6.3-r2</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    AWStats is an advanced log file analyzer and statistics generator.
    </p>
  </background>
  <description>
    <p>
    When 'awstats.pl' is run as a CGI script, it fails to validate specific
    inputs which are used in a Perl open() function call. Furthermore, a
    user could read log file content even when plugin rawlog was not
    enabled.
    </p>
  </description>
  <impact type="high">
    <p>
    A remote attacker could supply AWStats malicious input, potentially
    allowing the execution of arbitrary code with the rights of the web
    server. He could also access raw log contents.
    </p>
  </impact>
  <workaround>
    <p>
    Making sure that AWStats does not run as a CGI script will avoid the
    issue, but we recommend that users upgrade to the latest version, which
    fixes these bugs.
    </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.3-r2"</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://awstats.sourceforge.net/docs/awstats_changelog.txt">AWStats ChangeLog</uri>
    <uri link="http://www.idefense.com/application/poi/display?id=185">iDEFENSE Advisory</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0116">CAN-2005-0116</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0362">CAN-2005-0362</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0363">CAN-2005-0363</uri>
  </references>
  <metadata tag="requester" timestamp="2005-01-18T13:51:20Z">
    koon
  </metadata>
  <metadata tag="submitter" timestamp="2005-01-22T01:15:21Z">
    lewk
  </metadata>
  <metadata tag="bugReady" timestamp="2005-01-25T18:48:59Z">
    jaervosz
  </metadata>
</glsa>