SolarWinds Orion NPM < 10.3.1 Multiple Vulnerabilities - Nessus

Medium   Plugin ID: 62118

This page contains detailed information about the SolarWinds Orion NPM < 10.3.1 Multiple Vulnerabilities Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 62118
Name: SolarWinds Orion NPM < 10.3.1 Multiple Vulnerabilities
Filename: solarwinds_orion_npm_10_3_1.nasl
Vulnerability Published: 2012-07-21
This Plugin Published: 2012-09-17
Last Modification Time: 2021-01-19
Plugin Version: 1.9
Plugin Type: remote
Plugin Family: CGI abuses
Dependencies: solarwinds_orion_npm_detect.nasl
Required KB Items [?]: installed_sw/SolarWinds Orion Core

Vulnerability Information


Severity: Medium
Vulnerability Published: 2012-07-21
Patch Published: 2012-08-01
CVE [?]: CVE-2012-2577, CVE-2012-2602
CPE [?]: cpe:/a:solarwinds:orion_network_performance_monitor

Synopsis

The remote web server hosts a web application that is affected by multiple vulnerabilities.

Description

The remote web server hosts a version of SolarWinds Orion NPM prior to 10.3.1. It is, therefore, affected by the following vulnerabilities :

- Multiple cross-site scripting vulnerabilities exist that allow arbitrary web scripts to be injected via the 'syslocation', 'syscontact', or 'sysName' fields of an 'snmpd.conf' file. (CVE-2012-2577)

- Multiple cross-site request forgery vulnerabilities exist that allow remote attackers to hijack the authentication of administrators for requests to create user accounts or modify their privileges via the 'CreateUserStepContainer' or 'ynAdminRights' actions to 'OrionAccount.aspx' or 'EditAccount.aspx' respectively. (CVE-2012-2602)

- An unspecified SQL injection vulnerability exists.

Solution

Upgrade to SolarWinds Orion NPM 10.3.1 or later.

Public Exploits


Target Network Port(s): 8787
Target Asset(s): Services/www
Exploit Available: True (Exploit-DB, GitHub)
Exploit Ease: No exploit is required

Here's the list of publicly known exploits and PoCs for verifying the SolarWinds Orion NPM < 10.3.1 Multiple Vulnerabilities vulnerability:

  1. Exploit-DB: exploits/windows/webapps/20011.js
    [EDB-20011: SolarWinds Orion Network Performance Monitor 10.2.2 - Multiple Vulnerabilities]
  2. GitHub: https://github.com/mishmashclone/sailay1996-offsec_WE
    [CVE-2012-2577]
  3. GitHub: https://github.com/sailay1996/offsec_WE
    [CVE-2012-2577]

Before running any exploit against any system, make sure you are authorized by the owner of the target system(s) to perform such activity. In any other case, this would be considered as an illegal activity.

WARNING: Beware of using unverified exploits from sources such as GitHub or Exploit-DB. These exploits and PoCs could contain malware. For more information, see how to use exploits safely.

Risk Information


CVSS V2 Vector [?]: AV:N/AC:M/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C
CVSS Base Score:6.8 (Medium)
Impact Subscore:6.4
Exploitability Subscore:8.6
CVSS Temporal Score:5.3 (Medium)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:5.3 (Medium)

Go back to menu.

Plugin Source


This is the solarwinds_orion_npm_10_3_1.nasl nessus plugin source code. This script is Copyright (C) 2014-2021 and is owned by Tenable, Inc. or an Affiliate thereof.

#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#

include('deprecated_nasl_level.inc');
include('compat.inc');

if (description)
{
  script_id(62118);
  script_version("1.9");
  script_set_attribute(attribute:"plugin_modification_date", value:"2021/01/19");

  script_cve_id("CVE-2012-2577", "CVE-2012-2602");
  script_bugtraq_id(54624);
  script_xref(name:"CERT", value:"174119");
  script_xref(name:"EDB-ID", value:"20011");

  script_name(english:"SolarWinds Orion NPM < 10.3.1 Multiple Vulnerabilities");
  script_summary(english:"Checks the version of SolarWinds Orion NPM.");

  script_set_attribute(attribute:"synopsis", value:
"The remote web server hosts a web application that is affected by
multiple vulnerabilities.");
  script_set_attribute(attribute:"description", value:
"The remote web server hosts a version of SolarWinds Orion NPM prior to
10.3.1. It is, therefore, affected by the following vulnerabilities :

  - Multiple cross-site scripting vulnerabilities exist that
    allow arbitrary web scripts to be injected via the
    'syslocation', 'syscontact', or 'sysName' fields of an
    'snmpd.conf' file. (CVE-2012-2577)

  - Multiple cross-site request forgery vulnerabilities
    exist that allow remote attackers to hijack the
    authentication of administrators for requests to
    create user accounts or modify their privileges via
    the 'CreateUserStepContainer' or 'ynAdminRights'
    actions to 'OrionAccount.aspx' or 'EditAccount.aspx'
    respectively. (CVE-2012-2602)

  - An unspecified SQL injection vulnerability exists.");
  # http://www.solarwinds.com/documentation/Orion/docs/ReleaseNotes/releaseNotes.htm
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?ea627d5d");
  script_set_attribute(attribute:"solution", value:
"Upgrade to SolarWinds Orion NPM 10.3.1 or later.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P");
  script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");

  script_set_attribute(attribute:"exploitability_ease", value:"No exploit is required");
  script_set_attribute(attribute:"exploit_available", value:"true");
  script_cwe_id(20, 74, 79, 442, 629, 711, 712, 722, 725, 750, 751, 800, 801, 809, 811, 864, 900, 928, 931, 990);

  script_set_attribute(attribute:"vuln_publication_date", value:"2012/07/21");
  script_set_attribute(attribute:"patch_publication_date", value:"2012/08/01");
  script_set_attribute(attribute:"plugin_publication_date", value:"2012/09/17");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:solarwinds:orion_network_performance_monitor");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"CGI abuses");

  script_copyright(english:"This script is Copyright (C) 2014-2021 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("solarwinds_orion_npm_detect.nasl");
  script_require_keys("installed_sw/SolarWinds Orion Core");
  script_require_ports("Services/www", 8787);

  exit(0);
}

include("audit.inc");
include("global_settings.inc");
include("misc_func.inc");
include("http.inc");
include("install_func.inc");

port = get_http_port(default:8787);

app = "SolarWinds Orion Core";

get_install_count(app_name:app, exit_if_zero:TRUE);

install = get_single_install(
  app_name  : app,
  port      : port
);

appname = "SolarWinds Orion Network Performance Monitor";

dir = install['path'];
install_loc = build_url(port:port, qs:dir+"/Login.aspx");

version = install['NPM Version'];

if (isnull(version)) audit(AUDIT_UNKNOWN_WEB_APP_VER, appname, install_loc);

ver = split(version, sep:".", keep:FALSE);
for (i=0; i<max_index(ver); i++)
  ver[i] = int(ver[i]);

# Versions less than 10.3.1 are vulnerable
if (
  ver[0] < 10 ||
  (ver[0] == 10 && ver[1] < 3) ||
  (ver[0] == 10 && ver[1] == 3 && ver[2] < 1)
)
{
  set_kb_item(name:"www/"+port+"/XSS", value:TRUE);
  set_kb_item(name:"www/"+port+"/SQLInjection", value:TRUE);
  set_kb_item(name:"www/"+port+"/XSRF", value:TRUE);

  if (report_verbosity > 0)
  {
    report =
      '\n  URL               : ' +install_loc+
      '\n  Installed version : ' +version+
      '\n  Fixed version     : 10.3.1\n';
    security_warning(port:port, extra:report);
  }
  else security_warning(port);
}
else audit(AUDIT_WEB_APP_NOT_AFFECTED, appname, install_loc, version);

The latest version of this script can be found in these locations depending on your platform:

  • Linux / Unix:
    /opt/nessus/lib/nessus/plugins/solarwinds_orion_npm_10_3_1.nasl
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\solarwinds_orion_npm_10_3_1.nasl
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/solarwinds_orion_npm_10_3_1.nasl

Go back to menu.

How to Run


Here is how to run the SolarWinds Orion NPM < 10.3.1 Multiple Vulnerabilities as a standalone plugin via the Nessus web user interface (https://localhost:8834/):

  1. Click to start a New Scan.
  2. Select Advanced Scan.
  3. Navigate to the Plugins tab.
  4. On the top right corner click to Disable All plugins.
  5. On the left side table select CGI abuses plugin family.
  6. On the right side table select SolarWinds Orion NPM < 10.3.1 Multiple Vulnerabilities plugin ID 62118.
  7. Specify the target on the Settings tab and click to Save the scan.
  8. Run the scan.

Here are a few examples of how to run the plugin in the command line. Note that the examples below demonstrate the usage on the Linux / Unix platform.

Basic usage:

/opt/nessus/bin/nasl solarwinds_orion_npm_10_3_1.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a solarwinds_orion_npm_10_3_1.nasl -t <IP/HOST>

Run the plugin with trace script execution written to the console (useful for debugging):

/opt/nessus/bin/nasl -T - solarwinds_orion_npm_10_3_1.nasl -t <IP/HOST>

Run the plugin with using a state file for the target and updating it (useful for running multiple plugins on the target):

/opt/nessus/bin/nasl -K /tmp/state solarwinds_orion_npm_10_3_1.nasl -t <IP/HOST>

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: CERT | Computer Emergency Response Team: CWE | Common Weakness Enumeration:
  • CWE-20 (Weakness) Improper Input Validation
  • CWE-74 (Weakness) Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
  • CWE-79 (Weakness) Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
  • CWE-442 (Category) DEPRECATED: Web Problems
  • CWE-629 (View) Weaknesses in OWASP Top Ten (2007)
  • CWE-711 (View) Weaknesses in OWASP Top Ten (2004)
  • CWE-712 (Category) OWASP Top Ten 2007 Category A1 - Cross Site Scripting (XSS)
  • CWE-722 (Category) OWASP Top Ten 2004 Category A1 - Unvalidated Input
  • CWE-725 (Category) OWASP Top Ten 2004 Category A4 - Cross-Site Scripting (XSS) Flaws
  • CWE-750 (View) Weaknesses in the 2009 CWE/SANS Top 25 Most Dangerous Programming Errors
  • CWE-751 (Category) 2009 Top 25 - Insecure Interaction Between Components
  • CWE-800 (View) Weaknesses in the 2010 CWE/SANS Top 25 Most Dangerous Programming Errors
  • CWE-801 (Category) 2010 Top 25 - Insecure Interaction Between Components
  • CWE-809 (View) Weaknesses in OWASP Top Ten (2010)
  • CWE-811 (Category) OWASP Top Ten 2010 Category A2 - Cross-Site Scripting (XSS)
  • CWE-864 (Category) 2011 Top 25 - Insecure Interaction Between Components
  • CWE-900 (View) Weaknesses in the 2011 CWE/SANS Top 25 Most Dangerous Software Errors
  • CWE-928 (View) Weaknesses in OWASP Top Ten (2013)
  • CWE-931 (Category) OWASP Top Ten 2013 Category A3 - Cross-Site Scripting (XSS)
  • CWE-990 (Category) SFP Secondary Cluster: Tainted Input to Command
See also: Similar and related Nessus plugins:
  • 146309 - SolarWinds Orion Platform < 2019.4.2 Remote Code Execution
  • 146310 - SolarWinds Orion Platform < 2020.2.4 Multiple Vulnerabilities
  • 83817 - SolarWinds Orion Multiple SQLi Vulnerabilities
  • 155442 - SolarWinds Orion Platform 2020.2.0 < 2020.2.6 Multiple Vulnerabilities
  • 144622 - SolarWinds Orion Platform < 2019.4 HF6 / 2020.2 < 2020.2.1 HF2 Authentication Bypass (SUPERNOVA)
  • 87600 - SolarWinds Storage Manager AuthenticationFilter Script Upload RCE
  • 59116 - SolarWinds Storage Manager Server LoginServlet loginName Parameter SQL Injection
  • 124062 - SolarWinds DameWare Mini Remote Client Agent < 12.0.3 Stack Buffer Overflow
  • 130458 - SolarWinds Dameware Mini Remote Control Unauthenticated RCE
  • 86995 - SolarWinds DameWare Mini Remote Control < 12.0 Hotfix 2 SSLv3 Padding Oracle On Downgraded Legacy Encryption (POODLE)
  • 144449 - SolarWinds Orion Platform < 2020.2.1 HF2 Multiple Vulnerabilities
  • 91123 - SolarWinds Storage Resource Monitor Profiler < 6.2.3 Multiple Vulnerabilities (Logjam) (POODLE)
  • 86421 - SolarWinds Storage Resource Monitor < 6.2 ProcessFileUpload.jsp File Upload RCE
  • 47137 - SolarWinds TFTP Server < 10.4.0.13 DoS
  • 47138 - SolarWinds TFTP Server < 10.4.0.14 DoS
  • 154954 - SolarWinds Virtualization Manager <= 6.3.1 Privilege Escalation
  • 92040 - SolarWinds Virtualization Manager Java Object Deserialization RCE

Version


This page has been produced using Nessus Professional 10.1.2 (#68) LINUX, Plugin set 202205072148.
Plugin file solarwinds_orion_npm_10_3_1.nasl version 1.9. For more plugins, visit the Nessus Plugin Library.

Go back to menu.