SAP Solution Manager Missing Authentication (2890213) - Nessus

Critical   Plugin ID: 145532

This page contains detailed information about the SAP Solution Manager Missing Authentication (2890213) Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 145532
Name: SAP Solution Manager Missing Authentication (2890213)
Filename: sap_solution_manager_2890213.nasl
Vulnerability Published: 2020-03-10
This Plugin Published: 2021-01-28
Last Modification Time: 2022-01-21
Plugin Version: 1.7
Plugin Type: remote
Plugin Family: Misc.
Dependencies: sap_solution_manager_web_detect.nbin
Required KB Items [?]: installed_sw/SAP Solution Manager, Settings/ParanoidReport

Vulnerability Information


Severity: Critical
Vulnerability Published: 2020-03-10
Patch Published: 2020-03-10
CVE [?]: CVE-2020-6207
CPE [?]: cpe:/a:sap:netweaver_solution_manager

Synopsis

The remote SAP Solution Manager may be affected by a missing authentication vulnerability.

Description

The version of SAP Solution Manager SAP on the remote host may be affected by a missing authentication vulnerability in the End user Experience Monitoring (EEM) function due to a lack of authentication checks for a service. An unauthenticated, remote attacker can exploit this issue to compromise all SMDAgents connected to the Solution Manager.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Apply the appropriate patch according to the vendor advisory.

Public Exploits


Target Network Port(s): N/A
Target Asset(s): N/A
Exploit Available: True (Metasploit Framework, GitHub)
Exploit Ease: Exploits are available

Here's the list of publicly known exploits and PoCs for verifying the SAP Solution Manager Missing Authentication (2890213) vulnerability:

  1. Metasploit: auxiliary/admin/sap/cve_2020_6207_solman_rce
    [SAP Solution Manager remote unauthorized OS commands execution]
  2. Metasploit: exploit/multi/sap/cve_2020_6207_solman_rs
    [SAP Solution Manager remote unauthorized OS commands execution]
  3. GitHub: https://github.com/EdgeSecurityTeam/Vulnerability
    [CVE-2020-6207]
  4. GitHub: https://github.com/lmkalg/my_cves
    [CVE-2020-6207]
  5. GitHub: https://github.com/chipik/SAP_EEM_CVE-2020-6207
    [CVE-2020-6207: PoC for CVE-2020-6207 (Missing Authentication Check in SAP Solution Manager)]

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 Score Source [?]: CVE-2020-6207
CVSS V2 Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C/E:H/RL:OF/RC:C
CVSS Base Score:10.0 (High)
Impact Subscore:10.0
Exploitability Subscore:10.0
CVSS Temporal Score:8.7 (High)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:8.7 (High)
CVSS V3 Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H/RL:O/RC:C
CVSS Base Score:9.8 (Critical)
Impact Subscore:5.9
Exploitability Subscore:3.9
CVSS Temporal Score:9.4 (Critical)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:9.4 (Critical)

Go back to menu.

Plugin Source


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

##
# (C) Tenable Network Security, Inc.
##

include('compat.inc');

if (description)
{
  script_id(145532);
  script_version("1.7");
  script_set_attribute(attribute:"plugin_modification_date", value:"2022/01/21");

  script_cve_id("CVE-2020-6207");
  script_xref(name:"CISA-KNOWN-EXPLOITED", value:"2022/05/03");

  script_name(english:"SAP Solution Manager Missing Authentication (2890213)");

  script_set_attribute(attribute:"synopsis", value:
"The remote SAP Solution Manager may be affected by a missing authentication vulnerability.");
  script_set_attribute(attribute:"description", value:
"The version of SAP Solution Manager SAP on the remote host may be affected by a missing authentication vulnerability 
in the End user Experience Monitoring (EEM) function due to a lack of authentication checks for a service. An
unauthenticated, remote attacker can exploit this issue to compromise all SMDAgents connected to the Solution Manager.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version   
number.");
  script_set_attribute(attribute:"see_also", value:"https://launchpad.support.sap.com/#/notes/2890213");
  script_set_attribute(attribute:"see_also", value:"https://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=540935305");
  script_set_attribute(attribute:"solution", value:
"Apply the appropriate patch according to the vendor advisory.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
  script_set_cvss_temporal_vector("CVSS2#E:H/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:H/RL:O/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2020-6207");

  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");
  script_set_attribute(attribute:"metasploit_name", value:'SAP Solution Manager remote unauthorized OS commands execution');
  script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");

  script_set_attribute(attribute:"vuln_publication_date", value:"2020/03/10");
  script_set_attribute(attribute:"patch_publication_date", value:"2020/03/10");
  script_set_attribute(attribute:"plugin_publication_date", value:"2021/01/28");

  script_set_attribute(attribute:"potential_vulnerability", value:"true");
  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:sap:netweaver_solution_manager");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Misc.");

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

  script_dependencies("sap_solution_manager_web_detect.nbin");
  script_require_keys("Settings/ParanoidReport", "installed_sw/SAP Solution Manager");

  exit(0);
}

include('vcf.inc');
app_name = 'SAP Solution Manager';
app_info = vcf::get_app_info(app:app_name);

#  paranoid since we can't see the patch level
if (report_paranoia < 2) audit(AUDIT_PARANOID);

vcf::check_granularity(app_info:app_info, sig_segments:2);

if (app_info['version'] =~ "^7.2") {
  sps = app_info['SPS'];
  sps_fix = '12';
  if(!empty_or_null(sps) && ver_compare(ver:sps, fix:sps_fix) >= 0)
    audit(AUDIT_INST_VER_NOT_VULN, app_name, app_info['version'] + ' SP' + sps);
}

constraints = [{ 'min_version' : '7.2', 'fixed_version' : '7.3', 'fixed_display' : 'Refer to vendor advisory'}];

vcf::check_version_and_report(app_info:app_info, constraints:constraints, severity:SECURITY_HOLE);

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

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

Go back to menu.

How to Run


Here is how to run the SAP Solution Manager Missing Authentication (2890213) 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 Misc. plugin family.
  6. On the right side table select SAP Solution Manager Missing Authentication (2890213) plugin ID 145532.
  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 sap_solution_manager_2890213.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

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

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

/opt/nessus/bin/nasl -T - sap_solution_manager_2890213.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 sap_solution_manager_2890213.nasl -t <IP/HOST>

Go back to menu.

References


See also: Similar and related Nessus plugins:
  • 146272 - SAP BusinessObjects Business Intelligence Platform SSRF Vulnerability (direct check)
  • 40617 - SAP SAPgui MDrmSap ActiveX (mdrmsap.dll) Buffer Overflow
  • 72258 - SAP Host Agent SOAP Web Service Information Disclosure (SAP Note 1816536)
  • 62293 - SAP Host Control SOAP Web Service 'Database/Name' Command Execution (SAP Note 1341333)
  • 32194 - SAP MaxDB Multiple Vulnerabilities
  • 148400 - SAP NetWeaver AS Java Monitoring Directory Traversal (2234971)
  • 138506 - SAP NetWeaver AS Java Multiple Vulnerabilities
  • 139583 - SAP NetWeaver AS Java DoS (2941315)
  • 150787 - SAP NetWeaver AS JAVA Information Disclosure (3023299)
  • 150717 - SAP NetWeaver AS ABAP XSS (June 2021)
  • 151762 - SAP NetWeaver AS ABAP and ABAP Information Disclosure (3044754)
  • 150718 - SAP NetWeaver AS JAVA Missing XML Validation (3053066)
  • 157848 - SAP NetWeaver AS Desynchronization (ICMAD)
  • 145705 - SAP NetWeaver AS Java and AS ABAP Multiple Vulnerabilities (Jan 2021)
  • 154918 - SAP NetWeaver AS Java Directory Traversal Vulnerability (2547431)
  • 138762 - SAP NetWeaver : Authentication Bypass (CVE-2020-6287) (Direct Check)
  • 36073 - SAP GUI Moniker Creation Multiple Vulnerabilities
  • 29924 - SAP DB / MaxDB Cons Program Arbitrary Command Execution
  • 36163 - SAP GUI KWEdit ActiveX Control SaveDocumentAs() Insecure Method
  • 22309 - SAP DB / MaxDB WebDBM Client Database Name Remote Overflow
  • 25681 - SAP DB / MaxDB Web Server DBM_INTERN_TEST Event Buffer Overflow

Version


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

Go back to menu.