Rapid7 Vulnerability & Exploit Database

AWStats configdir Remote Command Execution

Back to Search

AWStats configdir Remote Command Execution

Disclosed
01/15/2005
Created
05/30/2018

Description

This module exploits an arbitrary command execution vulnerability in the AWStats CGI script. iDEFENSE has confirmed that AWStats versions 6.1 and 6.2 are vulnerable.

Author(s)

  • Matteo Cantoni <goony@nothink.org>
  • hdm <x@hdm.io>

Platform

Unix

Architectures

cmd

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/unix/webapp/awstats_configdir_exec
msf exploit(awstats_configdir_exec) > show targets
    ...targets...
msf exploit(awstats_configdir_exec) > set TARGET < target-id >
msf exploit(awstats_configdir_exec) > show options
    ...show and set options...
msf exploit(awstats_configdir_exec) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;