Lucene search
+L

Roxen counter module

🗓️ 03 Nov 2005 00:00:00Reported by Copyright (C) 2000 Hendrik ScholzType 
openvas
 openvas
🔗 plugins.openvas.org👁 29 Views

Roxen Challenger webserver counter module vulnerabilit

Code
# SPDX-FileCopyrightText: 2000 Hendrik Scholz
# 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.10207");
  script_version("2025-04-11T05:40:28+0000");
  script_tag(name:"last_modification", value:"2025-04-11 05:40:28 +0000 (Fri, 11 Apr 2025)");
  script_tag(name:"creation_date", value:"2005-11-03 14:08:04 +0100 (Thu, 03 Nov 2005)");
  script_tag(name:"cvss_base", value:"5.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:P");
  script_name("Roxen counter module");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2000 Hendrik Scholz");
  script_family("Web application abuses");
  script_dependencies("gb_roxen_webserver_detect.nasl", "no404.nasl");
  script_require_ports("Services/www", 80);
  script_mandatory_keys("roxen/webserver/detected");

  script_tag(name:"solution", value:"Disable the counter-module. There might be a patch available in the future.");

  script_tag(name:"summary", value:"The Roxen Challenger webserver is running and the counter module is installed.

  Requesting large counter GIFs eats up CPU-time on the server. If the server does not support threads this will
  prevent the server from serving other clients.");

  script_tag(name:"solution_type", value:"Mitigation");
  script_tag(name:"qod_type", value:"remote_banner_unreliable");

  exit(0);
}

CPE = "cpe:/a:roxen:webserver";

include("host_details.inc");
include("http_func.inc");
include("http_404.inc");

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

if(!get_app_location(port:port, cpe:CPE, nofork:TRUE))
  exit(0);

host = http_host_name(dont_add_port:TRUE);

soc = http_open_socket(port);
if(!soc)
  exit(0);

no404 = http_get_no404_string(port:port, host:host);
no404 = tolower(no404);

url = string("/counter/1/n/n/0/3/5/0/a/123.gif");
data = http_get(item:url, port:port);

send(socket:soc, data:data);
line = recv_line(socket:soc, length:1024);
buf = http_recv(socket:soc);
buf = tolower(buf);
must_see = "image";
http_close_socket(soc);

if(no404 && no404 >< buf)
  exit(0);

if((" 200 " >< line) && (must_see >< buf)) {
  report = http_report_vuln_url(port:port, url:url);
  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