Lucene search
+L

AWStats awstats.pl XSS Vulnerability (Dec 2008)

🗓️ 09 Dec 2008 00:00:00Reported by Copyright (C) 2008 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 2751 Views

AWStats XSS Vulnerability (Dec 2008) due to unsanitized query_string parameter in awstats.p

Related
Refs
Code
ReporterTitlePublishedViews
Family
cve
CVE
CVE-2008-5080
3 Dec 200818:00
cve
cvelist
Cvelist
CVE-2008-5080
3 Dec 200818:00
cvelist
debiancve
Debian CVE
CVE-2008-5080
3 Dec 200818:00
debiancve
euvd
EUVD
EUVD-2008-5059
7 Oct 202500:30
euvd
fedora
Fedora
[SECURITY] Fedora 9 Update: awstats-6.8-3.fc9
8 Dec 200813:06
fedora
fedora
Fedora
[SECURITY] Fedora 8 Update: awstats-6.8-3.fc8
8 Dec 200813:03
fedora
fedora
Fedora
[SECURITY] Fedora 10 Update: awstats-6.8-3.fc10
8 Dec 200813:04
fedora
nessus
Tenable Nessus
Fedora 8 : awstats-6.8-3.fc8 (2008-10938)
9 Dec 200800:00
nessus
nessus
Tenable Nessus
Fedora 10 : awstats-6.8-3.fc10 (2008-10950)
23 Apr 200900:00
nessus
nessus
Tenable Nessus
Fedora 9 : awstats-6.8-3.fc9 (2008-10962)
9 Dec 200800:00
nessus
Rows per page
# SPDX-FileCopyrightText: 2008 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

CPE = "cpe:/a:awstats:awstats";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.800151");
  script_version("2025-09-09T14:09:45+0000");
  script_tag(name:"last_modification", value:"2025-09-09 14:09:45 +0000 (Tue, 09 Sep 2025)");
  script_tag(name:"creation_date", value:"2008-12-09 13:27:23 +0100 (Tue, 09 Dec 2008)");
  script_tag(name:"cvss_base", value:"4.3");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:N/I:P/A:N");
  script_cve_id("CVE-2008-5080");

  script_name("AWStats awstats.pl XSS Vulnerability (Dec 2008)");

  script_xref(name:"URL", value:"https://bugzilla.redhat.com/show_bug.cgi?id=474396");
  script_xref(name:"URL", value:"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=495432");
  script_xref(name:"URL", value:"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=495432#21");

  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2008 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("gb_awstats_http_detect.nasl");
  script_mandatory_keys("awstats/detected");

  script_tag(name:"affected", value:"AWStats 6.8 and earlier.");

  script_tag(name:"insight", value:"The flaw is due to query_string parameter in awstats.pl which is not
  properly sanitized before being returned to the user.");

  script_tag(name:"summary", value:"AWStats is prone to a cross-site scripting (XSS) vulnerability.");

  script_tag(name:"solution", value:"Update to the latest version.");

  script_tag(name:"impact", value:"Successful attack could lead to execution of arbitrary HTML and script code
  in the context of an affected site.");

  script_tag(name:"solution_type", value:"VendorFix");
  script_tag(name:"qod_type", value:"remote_app");

  exit(0);
}

include("host_details.inc");
include("version_func.inc");

if (!port = get_app_port(cpe: CPE))
  exit(0);

if (!version = get_app_version(cpe: CPE, port: port))
  exit(0);

if (version_is_less_equal(version: version, test_version: "6.8")) {
  report = report_fixed_ver(installed_version: version, fixed_version: "See advisory");
  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

09 Sep 2025 00:00Current
5.7Medium risk
Vulners AI Score5.7
CVSS 24.3
EPSS0.01089
2751