Ubuntu 5.04 / 5.10 : awstats vulnerability (USN-285-1)

Medium Nessus Plugin ID 21588


The remote Ubuntu host is missing a security-related patch.


AWStats did not properly sanitize the 'migrate' CGI parameter. If the update of the stats via web front-end is allowed, a remote attacker could execute arbitrary commands on the server with the privileges of the AWStats server.

This does not affect AWStats installations which only build static pages.

Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.


Update the affected awstats package.

Plugin Details

Severity: Medium

ID: 21588

File Name: ubuntu_USN-285-1.nasl

Version: $Revision: 1.13 $

Type: local

Agent: unix

Published: 2006/05/23

Modified: 2016/05/26

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 5.1

Vector: CVSS2#AV:N/AC:H/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:canonical:ubuntu_linux:awstats, cpe:/o:canonical:ubuntu_linux:5.04, cpe:/o:canonical:ubuntu_linux:5.10

Required KB Items: Host/cpu, Host/Ubuntu, Host/Ubuntu/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2006/05/23

Vulnerability Publication Date: 2006/05/05

Exploitable With

Core Impact

Metasploit (AWStats migrate Remote Command Execution)

Reference Information

CVE: CVE-2006-2237

OSVDB: 25284

USN: 285-1