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

medium Nessus Plugin ID 21588

Synopsis

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

Description

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.

Solution

Update the affected awstats package.

Plugin Details

Severity: Medium

ID: 21588

File Name: ubuntu_USN-285-1.nasl

Version: 1.16

Type: local

Agent: unix

Published: 5/23/2006

Updated: 1/19/2021

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.0

CVSS v2

Risk Factor: Medium

Base Score: 5.1

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

Vulnerability Information

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

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: 5/23/2006

Vulnerability Publication Date: 5/5/2006

Exploitable With

Core Impact

Metasploit (AWStats migrate Remote Command Execution)

Reference Information

CVE: CVE-2006-2237

USN: 285-1