Lucene search
+L

Monitorix HTTP Server < 3.3.1 RCE Vulnerability - Active Check

🗓️ 12 Dec 2013 00:00:00Reported by Copyright (C) 2013 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 28 Views

Monitorix HTTP Server < 3.3.1 RCE Vulnerability - Active Chec

Related
Refs
Code
ReporterTitlePublishedViews
Family
cve
CVE
CVE-2013-7070
31 Dec 201919:57
cve
cve
CVE
CVE-2013-7071
31 Dec 201919:57
cve
cvelist
Cvelist
CVE-2013-7070
31 Dec 201919:57
cvelist
cvelist
Cvelist
CVE-2013-7071
31 Dec 201919:57
cvelist
euvd
EUVD
EUVD-2013-6866
7 Oct 202500:30
euvd
euvd
EUVD
EUVD-2013-6867
7 Oct 202500:30
euvd
fedora
Fedora
[SECURITY] Fedora 19 Update: monitorix-3.4.0-1.fc19
13 Dec 201305:01
fedora
fedora
Fedora
[SECURITY] Fedora 20 Update: monitorix-3.4.0-1.fc20
14 Dec 201302:50
fedora
nessus
Tenable Nessus
Fedora 20 : monitorix-3.4.0-1.fc20 (2013-22649)
14 Dec 201300:00
nessus
nessus
Tenable Nessus
Fedora 19 : monitorix-3.4.0-1.fc19 (2013-22677)
13 Dec 201300:00
nessus
Rows per page
# SPDX-FileCopyrightText: 2013 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.103855");
  script_version("2024-01-25T05:06:22+0000");
  script_tag(name:"cvss_base", value:"10.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
  script_name("Monitorix HTTP Server < 3.3.1 RCE Vulnerability - Active Check");
  script_tag(name:"last_modification", value:"2024-01-25 05:06:22 +0000 (Thu, 25 Jan 2024)");
  script_tag(name:"creation_date", value:"2013-12-12 14:22:20 +0100 (Thu, 12 Dec 2013)");
  script_category(ACT_ATTACK);
  script_family("Web application abuses");
  script_copyright("Copyright (C) 2013 Greenbone AG");
  script_dependencies("gb_get_http_banner.nasl", "no404.nasl", "webmirror.nasl", "DDI_Directory_Scanner.nasl");
  script_mandatory_keys("Monitorix/banner");
  script_require_ports("Services/www", 8080);

  # nb: This is NOT CVE-2013-7070 or CVE-2013-7071 (both are XSS flaws)...
  script_xref(name:"URL", value:"http://www.monitorix.org/news.html#N331");
  script_xref(name:"URL", value:"https://web.archive.org/web/20210122021643/https://www.securityfocus.com/bid/63913/");
  script_xref(name:"URL", value:"https://github.com/mikaku/Monitorix/issues/30");

  script_tag(name:"summary", value:"Monitorix HTTP Server is prone to a remote code execution (RCE)
  vulnerability.");

  script_tag(name:"vuldetect", value:"Sends a special crafted HTTP GET request and checks the
  response.");

  script_tag(name:"insight", value:"The handle_request() routine did not properly perform input
  sanitization which led into a number of security vulnerabilities.");

  script_tag(name:"impact", value:"Successful exploit will result in the execution of arbitrary
  commands in the context of the affected server.");

  script_tag(name:"affected", value:"Monitorix HTTP Server prior to version 3.3.1.");

  script_tag(name:"solution", value:"Update to version 3.3.1 or later.");

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

  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:8080 );
banner = http_get_remote_headers( port:port );
if( ! banner || banner !~ "Monitorix" )
  exit( 0 );

foreach dir( make_list_unique( "/", http_cgi_dirs( port:port ) ) ) {

  if( dir == "/" )
    dir = "";

  url = dir + "/|id|";
  if( ret = http_vuln_check( port:port, url:url, pattern:"uid=[0-9]+.*gid=[0-9]+.*" ) ) {
    report = 'It was possible to execute the "id" command on the remote host.\n\n' +
             'By requesting the URL "' + url + '" we received the following response:' +
             '\n\n' + ret + '\n';
    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