13002 : AWStats awstats.pl configdir Parameter Arbitrary Command Execution
Printer | http://osvdb.org/13002 | Email This | Edit Vulnerability

Views This Week

24

Views All Time

869

Info

Last Modified

4 months ago

Percent Complete

100%

Disclosure

Jan 01, 2005

Discovery

Unknown

Dates

Exploit

Jan 26, 2005

Solution

Unknown

Description

AWStats contains a flaw that may allow a malicious user to issue arbitray commands under the web server privileges. The issue is triggered when using the pipe character (|) and shell metacaracters in the 'configdir' variable of the awstats.pl script. Such input is not santitized before being passed to the perl 'open()' command to be executed.

Classification

Location: Remote/Network Access Required
Attack Type: Input Manipulation
Impact: Loss of Integrity
Exploit: Exploit Available
OSVDB: Web Related

Technical

The AWstats website announced that installations are safe from remote command execution if you set the variable '$!AllowToUpdateStatsFromBrowser' to '0' (off). However, subsequent testing indicates this does not fully mitigate the vulnerability.

Solution

Upgrade to version 6.3 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.

Products

Laurent Destailleur
Watch-list
AWStats
Watch-list
6.1

References

Tools & Filters

Nessus

16189 16427 18840

Snort

3813

Manual Testing Notes

Credit

  • iDEFENSE - idlabs-advisoriesBrand New Doo Dooidefense.com - iDEFENSE

Blogs

None found at this time

Comments

No Comments.

DONATE NOW!

User Status

Quick Searches

Advertisements

The database information may change without any notice. Use of the information constitutes acceptance for use in an AS IS condition, and there are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the copyright holder or distributor (OSVDB or OSF) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

© Copyright 2008 Open Source Vulnerability Database (OSVDB), All Rights Reserved.
Privacy Statement - Terms of Use