blob: d4ecdd3b46b3c50286fff458ff2e3f9e231d4771 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<glsa id="200508-07">
<title>AWStats: Arbitrary code execution using malicious Referrer information</title>
AWStats fails to validate certain log input, which could lead to the
execution of arbitrary Perl code during the generation of the statistics.
<product type="ebuild">awstats</product>
<announced>August 16, 2005</announced>
<revised>May 28, 2009: 02</revised>
<package name="www-misc/awstats" auto="yes" arch="*">
<unaffected range="ge">6.5</unaffected>
<vulnerable range="lt">6.5</vulnerable>
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.
When using a URLPlugin, AWStats fails to sanitize Referrer URL
data before using them in a Perl eval() routine.
<impact type="high">
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
Disable all URLPlugins in the AWStats configuration.
All AWStats users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose &quot;&gt;=www-misc/awstats-6.5&quot;</code>
Note: Users with the vhosts USE flag set should manually use
webapp-config to finalize the update.
<uri link="">CAN-2005-1527</uri>
<uri link=";type=vulnerabilities">iDEFENSE Advisory</uri>
<metadata tag="submitter" timestamp="Fri, 12 Aug 2005 17:33:30 +0000">
<metadata tag="bugReady" timestamp="Sat, 13 Aug 2005 08:56:51 +0000">