Kentico CMS 9.x / 10.x < 10.0.52 / 11.x < 11.0.48 / 12.x < 12.0.15 RCE - Nessus

Critical   Plugin ID: 141214

This page contains detailed information about the Kentico CMS 9.x / 10.x < 10.0.52 / 11.x < 11.0.48 / 12.x < 12.0.15 RCE Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 141214
Name: Kentico CMS 9.x / 10.x < 10.0.52 / 11.x < 11.0.48 / 12.x < 12.0.15 RCE
Filename: kentico_12_0_15.nasl
Vulnerability Published: 2019-03-26
This Plugin Published: 2020-10-07
Last Modification Time: 2022-03-28
Plugin Version: 1.3
Plugin Type: local
Plugin Family: Windows
Dependencies: kentico_cms_win_installed.nbin
Required KB Items [?]: installed_sw/Kentico CMS

Vulnerability Information


Severity: Critical
Vulnerability Published: 2019-03-26
Patch Published: 2019-03-26
CVE [?]: CVE-2019-10068
CPE [?]: cpe:/a:kentico:kentico_cms

Synopsis

A web content management system on the remote host is affected by a remote code execution vulnerability.

Description

According to its self-reported version number, the version of Kentico CMS on the remote host is 9.x, 10.x prior to 10.0.52, 11.x prior to 11.0.48, or 12.x prior to 12.0.15. It is, therefore, affected by a remote code execution vulnerability. Due to a failure to validate security headers, it is possible for a specially crafted request to the staging service to bypass the initial authentication and proceed to deserialize user-controlled .NET object input. This deserialization then can be used to execute arbitrary code on the server where the Kentico instance is hosted.

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

Solution

Apply the hotfix applicable to your current version or upgrade to the latest available stable version.

Public Exploits


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

Here's the list of publicly known exploits and PoCs for verifying the Kentico CMS 9.x / 10.x < 10.0.52 / 11.x < 11.0.48 / 12.x < 12.0.15 RCE vulnerability:

  1. Metasploit: exploit/windows/http/kentico_staging_syncserver
    [Kentico CMS Staging SyncServer Unserialize Remote Command Execution]

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.

Risk Information


CVSS Score Source [?]: CVE-2019-10068
CVSS V2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P/E:H/RL:OF/RC:C
CVSS Base Score:7.5 (High)
Impact Subscore:6.4
Exploitability Subscore:10.0
CVSS Temporal Score:6.5 (Medium)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:6.5 (Medium)
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 kentico_12_0_15.nasl nessus plugin source code. This script is Copyright (C) 2020-2022 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(141214);
  script_version("1.3");
  script_set_attribute(attribute:"plugin_modification_date", value:"2022/03/28");

  script_cve_id("CVE-2019-10068");
  script_xref(name:"CISA-KNOWN-EXPLOITED", value:"2022/04/15");

  script_name(english:"Kentico CMS 9.x / 10.x < 10.0.52 / 11.x < 11.0.48 / 12.x < 12.0.15 RCE");

  script_set_attribute(attribute:"synopsis", value:
"A web content management system on the remote host is affected by a remote code execution vulnerability.");
  script_set_attribute(attribute:"description", value:
"According to its self-reported version number, the version of Kentico CMS on the remote host is 9.x, 10.x prior to
10.0.52, 11.x prior to 11.0.48, or 12.x prior to 12.0.15. It is, therefore, affected by a remote code execution
vulnerability. Due to a failure to validate security headers, it is possible for a specially crafted request to the
staging service to bypass the initial authentication and proceed to deserialize user-controlled .NET object input. This
deserialization then can be used to execute arbitrary code on the server where the Kentico instance is hosted.

Note that Nessus has not attempted to exploit this issue but has instead relied only on the application's self-reported
version number.");
  # https://packetstormsecurity.com/files/157588/Kentico-CMS-12.0.14-Remote-Command-Execution.html
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?c68b9e0a");
  script_set_attribute(attribute:"see_also", value:"https://devnet.kentico.com/download/hotfixes");
  script_set_attribute(attribute:"solution", value:
"Apply the hotfix applicable to your current version or upgrade to the latest available stable version.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
  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-2019-10068");

  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:'Kentico CMS Staging SyncServer Unserialize Remote Command Execution');
  script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");

  script_set_attribute(attribute:"vuln_publication_date", value:"2019/03/26");
  script_set_attribute(attribute:"patch_publication_date", value:"2019/03/26");
  script_set_attribute(attribute:"plugin_publication_date", value:"2020/10/07");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:kentico:kentico_cms");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Windows");

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

  script_dependencies("kentico_cms_win_installed.nbin");
  script_require_keys("installed_sw/Kentico CMS");

  exit(0);
}

include('vcf.inc');

app_info = vcf::get_app_info(app:'Kentico CMS');

constraints = [
  { 'min_version' : '9.0', 'fixed_version' : '10.0.7039.22786', 'fixed_display' : '10.0.7039.22786 (Hotfix 10.0.52)' },
  { 'min_version' : '11.0', 'fixed_version' : '11.0.7032.18332', 'fixed_display' : '11.0.7032.18332 (Hotfix 11.0.48)'},
  { 'min_version' : '12.0', 'fixed_version' : '12.0.7020.30680', 'fixed_display' : '12.0.7020.30680 (Hotfix 12.0.15)' }
];

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/kentico_12_0_15.nasl
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\kentico_12_0_15.nasl
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/kentico_12_0_15.nasl

Go back to menu.

How to Run


Here is how to run the Kentico CMS 9.x / 10.x < 10.0.52 / 11.x < 11.0.48 / 12.x < 12.0.15 RCE 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 Windows plugin family.
  6. On the right side table select Kentico CMS 9.x / 10.x < 10.0.52 / 11.x < 11.0.48 / 12.x < 12.0.15 RCE plugin ID 141214.
  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 kentico_12_0_15.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

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

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

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

Go back to menu.

References


See also: Similar and related Nessus plugins:
  • 141212 - Kentico CMS < 12.0.50 XSS
  • 131732 - PHP 7.4.x < 7.4.0 Multiple Vulnerabilities.
  • 131820 - EulerOS 2.0 SP5 : php (EulerOS-SA-2019-2546)
  • 132184 - EulerOS 2.0 SP3 : php (EulerOS-SA-2019-2649)
  • 132812 - EulerOS Virtualization for ARM 64 3.0.5.0 : php (EulerOS-SA-2020-1058)
  • 133087 - NewStart CGSL CORE 5.05 / MAIN 5.05 : php Vulnerability (NS-SA-2020-0001)
  • 133326 - Debian DSA-4611-1 : opensmtpd - security update
  • 133327 - FreeBSD : OpenSMTPd -- critical LPE / RCE vulnerability (08f5c27d-4326-11ea-af8b-00155d0a0200)
  • 133446 - RHEL 8 : php:7.2 (RHSA-2020:0322)
  • 133522 - Ubuntu 18.04 LTS / 19.10 : OpenSMTPD vulnerability (USN-4268-1)
  • 133531 - macOS 10.15.x < 10.15.3 / 10.14.x < 10.14.6 / 10.13.x < 10.13.6
  • 133717 - OpenSMTPD Critical LPE / RCE (CVE-2020-7247)
  • 134199 - SUSE SLES12 Security Update : php5 (SUSE-SU-2020:0522-1)
  • 134323 - NewStart CGSL MAIN 4.05 : php Vulnerability (NS-SA-2020-0018)
  • 136744 - PHP Remote Code Execution Vulnerability (CVE-2019-11043).
  • 137880 - Palo Alto Networks PAN-OS 8.0.x < 8.1.15 / 8.1.x < 8.1.15 / 9.0.x < 9.0.9 / 9.1.x < 9.1.3 Authentication Bypass in SAML Authentication (CVE-2020-2021)
  • 137966 - EulerOS Virtualization 3.0.6.0 : php (EulerOS-SA-2020-1747)
  • 138155 - RHEL 7 : php (RHSA-2020:2835)
  • 142462 - Selligent Message Studio Struts Code Execution (CVE-2013-2251)
  • 144531 - Virtuozzo 6 : php / php-bcmath / php-cli / php-common / php-dba / etc (VZLSA-2019-3287)
  • 145659 - CentOS 8 : php:7.2 (CESA-2019:3735)
  • 145689 - CentOS 8 : php:7.3 (CESA-2019:3736)
  • 150565 - SUSE SLES11 Security Update : tomcat6 (SUSE-SU-2021:14705-1)
  • 152986 - Tenable SecurityCenter < 5.19.0 Multiple Vulnerabilities (TNS-2021-14)
  • 156614 - ShareFile < 5.11.20 RCE (CVE-2021-22941)
  • 157426 - KB5010403: Windows Server 2008 Security Update (February 2022)
  • 157427 - KB5010422: Windows Server 2008 R2 Security Update (February 2022)
  • 157428 - KB5010345: Windows 10 version 1909 Security Update (February 2022)
  • 157429 - KB5010342: Windows 10 Version 20H2 / Windows 10 Version 21H1 / Windows 10 Version 21H2 Security Update (February 2022)
  • 157431 - KB5010395: Windows Server 2012 R2 Security Update (February 2022)
  • 157432 - KB5010351: Windows 10 version 1809 / Windows Server 2019 Security Update (February 2022)
  • 157435 - KB5010358: Windows 10 LTS 1507 Security Update (February 2022)
  • 157436 - KB5010359: Windows 10 Version 1607 and Windows Server 2016 Security Update (February 2022)
  • 157437 - KB5010386: Windows Server 11 Security Update (February 2022)
  • 157440 - KB5010354: Windows Server 2022 Security Update (February 2022)

Version


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

Go back to menu.