CVE-2005-0116 in awstats

LogPulse has a published detection rule for this CVE: it raises a notable when someone tries to exploit it.

What the vulnerability is

AWStats 6.1, and other versions before 6.3, allows remote attackers to execute arbitrary commands via shell metacharacters in the configdir parameter to aswtats.pl.

Affected software: awstats

Scores

What LogPulse has for it

How to mitigate it

Upgrade AWStats to 6.6 or later and turn off web updates

Patch or upgrade. AWStats before 6.3 passes configdir to a Perl open call and 6.4 and 6.5 do the same with migrate when web updates are on, which runs shell commands. AWStats 6.6 fixes both; turning off AllowToUpdateStatsFromBrowser removes the migrate path.

Applies to: AWStats before 6.3 (configdir) and 6.4 to 6.5 with AllowToUpdateStatsFromBrowser enabled (migrate)

  1. Install the AWStats update from your distribution or AWStats 7.x from the project site.
  2. Set AllowToUpdateStatsFromBrowser=0 in each awstats.*.conf file.
  3. Restrict awstats.pl to admin networks or behind authentication.

Sources:

Source data: NIST NVD, CISA KEV and FIRST EPSS. LogPulse processes new CVEs every hour.

We build every detection with great care, but no two environments are the same. Log sources, parsing and configuration differ, so test a detection in your own environment before you rely on it.

Start free with LogPulse