exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

rt-sa-2005-006.txt

rt-sa-2005-006.txt
Posted Feb 25, 2005
Site tsyklon.informatik.rwth-aachen.de

The workaround provided to fix the AWStats flaw in versions 6.2 and below fails to properly block remote command execution.

tags | advisory, remote
advisories | CVE-2005-0116
SHA-256 | 72c3e8554fa95ac35e7f24b89eceed854f0e0efc3a0136c63397b076befd9009

rt-sa-2005-006.txt

Change Mirror Download
                Advisory: Awstats official workaround flaw

A group of students at our lab called RedTeam found a flaw in the
official workaround for the remote command
execution vulnerability in awstats discovered by iDefense.


Details
=======

Product: Awstats
Affected Version: <= 6.2
Immune Version: 6.3
OS affected: all
Security-Risk: high
Remote-Exploit: yes
Vendor-URL: http://awstats.sourceforge.net
Vendor-Status: informed
Advisory-URL:
http://tsyklon.informatik.rwth-aachen.de/redteam/advisories/rt-sa-2005
-006
Advisory-Status: public
CVE: GENERIC-MAP-NOMATCH

Introduction
============

iDefense found a remote command execution vulnerability in awstats <=
6.2, see CAN-2005-0116.

The official awstats website tells users that they are safe from remote
command execution if they set the variable
$!AllowToUpdateStatsFromBrowser to 0. This is not true, as the exploit
can still be triggered.

More Details
============

In awstats.pl the variable $configdir, which is used to exploit, can
still be set remotely. Setting $!AllowToUpdateStatsFromBrowser to 0
only removes the link to the button which can be used to trigger
updates. The variable can still be assigned per GET request.

Proof of Concept
================

http://path/to/awstats/awstats.pl?configdir=|cd%20/
tmp;%20touch%20evilfile;

Workaround
==========

Use the workaround provided by iDefense. See their advisory for the
original vulnerability.

Fix
===

Fixed in version 6.3.

Security Risk
=============

High, as arbitrary commands can be executed on the vulnerable system.

History
=======

2005-02-12 eldy@users.sourceforge.net informed
2005-02-12 CVE number requested
2005-02-14 issue does not qualify for a CVE number. posted.

RedTeam
=======

RedTeam is a penetration testing group working at the Laboratory for
Dependable Distributed Systems at RWTH-Aachen University. You can find
more Information on the RedTeam Project at
http://tsyklon.informatik.rwth-aachen.de/redteam/


--
Maximillian Dornseif, Dipl. Jur., CISSP
Laboratory for Dependable Distributed Systems, RWTH Aachen University
Tel. +49 241 80-21431 - http://md.hudora.de/
Login or Register to add favorites

File Archive:

March 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Mar 1st
    16 Files
  • 2
    Mar 2nd
    0 Files
  • 3
    Mar 3rd
    0 Files
  • 4
    Mar 4th
    32 Files
  • 5
    Mar 5th
    28 Files
  • 6
    Mar 6th
    42 Files
  • 7
    Mar 7th
    17 Files
  • 8
    Mar 8th
    13 Files
  • 9
    Mar 9th
    0 Files
  • 10
    Mar 10th
    0 Files
  • 11
    Mar 11th
    15 Files
  • 12
    Mar 12th
    19 Files
  • 13
    Mar 13th
    21 Files
  • 14
    Mar 14th
    38 Files
  • 15
    Mar 15th
    15 Files
  • 16
    Mar 16th
    0 Files
  • 17
    Mar 17th
    0 Files
  • 18
    Mar 18th
    10 Files
  • 19
    Mar 19th
    32 Files
  • 20
    Mar 20th
    46 Files
  • 21
    Mar 21st
    16 Files
  • 22
    Mar 22nd
    13 Files
  • 23
    Mar 23rd
    0 Files
  • 24
    Mar 24th
    0 Files
  • 25
    Mar 25th
    12 Files
  • 26
    Mar 26th
    31 Files
  • 27
    Mar 27th
    19 Files
  • 28
    Mar 28th
    0 Files
  • 29
    Mar 29th
    0 Files
  • 30
    Mar 30th
    0 Files
  • 31
    Mar 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close