Telerik UI for ASP.NET AJAX RadAsyncUpload Multiple Vulnerabilities - Nessus
Critical Plugin ID: 107096This page contains detailed information about the Telerik UI for ASP.NET AJAX RadAsyncUpload 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: 107096
Name: Telerik UI for ASP.NET AJAX RadAsyncUpload Multiple Vulnerabilities
Filename: telerik_ui_for_aspnet_ajax_CVE-2017-11317.nasl
Vulnerability Published: 2017-08-22
This Plugin Published: 2018-03-02
Last Modification Time: 2022-04-22
Plugin Version: 1.7
Plugin Type: local
Plugin Family: Windows
Dependencies:
telerik_ui_for_aspnet_ajax_installed.nbin
Required KB Items [?]: installed_sw/Telerik UI for ASP.NET AJAX
Vulnerability Information
Severity: Critical
Vulnerability Published: 2017-08-22
Patch Published: 2017-08-15
CVE [?]: CVE-2017-11317, CVE-2017-11357
CPE [?]: cpe:/a:telerik:ui_for_asp.net_ajax
Synopsis
A web application development suite installed on the remote Windows host is affected by multiple vulnerabilities.
Description
The version of Telerik UI for ASP.NET AJAX installed on the remote Windows host is affected by multiple vulnerabilities in Telerik.Web.UI.dll. An unauthenticated, remote attacker can exploit this, via specially crafted data, to execute arbitrary code.
Solution
Upgrade to Telerik UI for ASP.NET AJAX version R2 2017 SP2 (2017.2.711) or later.
Public Exploits
Target Network Port(s): 139, 445
Target Asset(s): N/A
Exploit Available: True (Exploit-DB, GitHub)
Exploit Ease: Exploits are available
Here's the list of publicly known exploits and PoCs for verifying the Telerik UI for ASP.NET AJAX RadAsyncUpload Multiple Vulnerabilities vulnerability:
- Exploit-DB: exploits/aspx/webapps/43874.py
[EDB-43874: Telerik UI for ASP.NET AJAX 2012.3.1308 < 2017.1.118 - Arbitrary File Upload] - GitHub: https://github.com/bao7uo/dp_crypto
[CVE-2017-11317] - GitHub: https://github.com/mcgyver5/scrap_telerik
[CVE-2017-11317] - GitHub: https://github.com/bao7uo/dp_crypto
[CVE-2017-11357] - GitHub: https://github.com/bao7uo/RAU_crypto
[CVE-2017-11317: Telerik UI for ASP.NET AJAX File upload and .NET deserialisation exploit ...] - GitHub: https://github.com/bao7uo/RAU_crypto
[CVE-2017-11357: Telerik UI for ASP.NET AJAX File upload and .NET deserialisation exploit ...]
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-2017-11357
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 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) |
STIG Risk Rating: High
Go back to menu.
Plugin Source
This is the telerik_ui_for_aspnet_ajax_CVE-2017-11317.nasl nessus plugin source code. This script is Copyright (C) 2018-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(107096);
script_version("1.7");
script_set_attribute(attribute:"plugin_modification_date", value:"2022/04/22");
script_cve_id("CVE-2017-11317", "CVE-2017-11357");
script_bugtraq_id(103171, 103173);
script_xref(name:"IAVA", value:"2018-A-0066-S");
script_xref(name:"CISA-KNOWN-EXPLOITED", value:"2022/05/02");
script_name(english:"Telerik UI for ASP.NET AJAX RadAsyncUpload Multiple Vulnerabilities");
script_set_attribute(attribute:"synopsis", value:
"A web application development suite installed on the remote Windows
host is affected by multiple vulnerabilities.");
script_set_attribute(attribute:"description", value:
"The version of Telerik UI for ASP.NET AJAX installed on the remote
Windows host is affected by multiple vulnerabilities in
Telerik.Web.UI.dll. An unauthenticated, remote attacker can exploit
this, via specially crafted data, to execute arbitrary code.");
# https://www.telerik.com/support/kb/aspnet-ajax/upload-%28async%29/details/insecure-direct-object-reference
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?77b0e65f");
# https://www.telerik.com/support/kb/aspnet-ajax/upload-(async)/details/unrestricted-file-upload
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?49cbdec3");
script_set_attribute(attribute:"solution", value:
"Upgrade to Telerik UI for ASP.NET AJAX version R2 2017 SP2
(2017.2.711) or later.");
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-2017-11357");
script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
script_set_attribute(attribute:"exploit_available", value:"true");
script_set_attribute(attribute:"vuln_publication_date", value:"2017/08/22");
script_set_attribute(attribute:"patch_publication_date", value:"2017/08/15");
script_set_attribute(attribute:"plugin_publication_date", value:"2018/03/02");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe", value:"cpe:/a:telerik:ui_for_asp.net_ajax");
script_set_attribute(attribute:"stig_severity", value:"I");
script_set_attribute(attribute:"thorough_tests", value:"true");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Windows");
script_copyright(english:"This script is Copyright (C) 2018-2022 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("telerik_ui_for_aspnet_ajax_installed.nbin");
script_require_keys("installed_sw/Telerik UI for ASP.NET AJAX");
script_require_ports(139, 445);
exit(0);
}
include("audit.inc");
include("global_settings.inc");
include("misc_func.inc");
include("install_func.inc");
include("smb_func.inc");
include("smb_hotfixes.inc");
function display_dword (dword, nox)
{
local_var tmp;
if (isnull(nox) || (nox == FALSE))
tmp = "0x";
else
tmp = "";
return "" + tmp + toupper(hexstr(raw_string(
(dword >>> 24) & 0xFF,
(dword >>> 16) & 0xFF,
(dword >>> 8) & 0xFF,
dword & 0xFF
)));
}
app_name = "Telerik UI for ASP.NET AJAX";
has_a_patch = FALSE;
install = get_single_install(app_name:app_name, exit_if_unknown_ver:TRUE);
version = install['version'];
path = install['path'];
web_ui_dll = install['web_ui_dll'];
# 2017.2.711 and later is patched
if (ver_compare(ver:version, fix:"2017.2.711.0", strict:FALSE) >= 0)
audit(AUDIT_INST_PATH_NOT_VULN, app_name, version, path);
# 2011.1.315 to 2017.2.621 have patches + mitigations available
if ((ver_compare(ver:version, fix:"2011.1.315.0", strict:FALSE) >= 0) &&
(ver_compare(ver:version, fix:"2017.2.621.9999", strict:FALSE) <= 0))
{
# check for "Telerik.Web.UI.Patch" in the File Description
# Connect to the appropriate share.
port = kb_smb_transport();
login = kb_smb_login();
pass = kb_smb_password();
domain = kb_smb_domain();
if (!smb_session_init())
audit(AUDIT_FN_FAIL, "smb_session_init");
share = ereg_replace(pattern:"^([A-Za-z]):.*", replace:"\1$", string:web_ui_dll);
dll = ereg_replace(pattern:"^[A-Za-z]:(.*)", replace:"\1", string:web_ui_dll);
rc = NetUseAdd(login:login, password:pass, domain:domain, share:share);
if (rc != 1)
{
NetUseDel();
audit(AUDIT_SHARE_FAIL, share);
}
fh = CreateFile(
file:dll,
desired_access:GENERIC_READ,
file_attributes:FILE_ATTRIBUTE_NORMAL,
share_mode:FILE_SHARE_READ,
create_disposition:OPEN_EXISTING
);
file_description = NULL;
if (!isnull(fh))
{
ret = GetFileVersionEx(handle:fh);
if (!isnull(ret)) children = ret['Children'];
if (!isnull(children))
{
varfileinfo = children['VarFileInfo'];
if (!isnull(varfileinfo))
{
translation =
(get_word (blob:varfileinfo['Translation'], pos:0) << 16) +
get_word (blob:varfileinfo['Translation'], pos:2);
translation = tolower(display_dword(dword:translation, nox:TRUE));
}
stringfileinfo = children['StringFileInfo'];
if (!isnull(stringfileinfo) && !isnull(translation))
{
data = stringfileinfo[translation];
if (!isnull(data)) file_description = data['FileDescription'];
else
{
data = stringfileinfo[toupper(translation)];
if (!isnull(data)) file_description = data['FileDescription'];
}
}
}
CloseFile(handle:fh);
}
NetUseDel();
if (empty_or_null(file_description))
exit(1, "Failed to get the file description of " + web_ui_dll + ".");
if (file_description == "Telerik.Web.UI.Patch")
has_a_patch = TRUE;
}
if (has_a_patch)
{
# if it has *a* patch, we can't be sure that it is the correct patch
# and we also can't tell if they have applied the mitigations to go
# with the patch, so if we're paranoid, we add a note to the report
# (done below) and if we're not paranoid, we audit out
if (report_paranoia < 2) audit(AUDIT_PARANOID);
}
port = get_kb_item("SMB/transport");
if (empty_or_null(port))
port = 445;
report = report_items_str(
report_items:make_array(
"Path", path,
"Installed version", version,
"Fixed version", "2017.2.711.0 or vendor supplied patch"
),
ordered_fields:make_list("Path", "Installed version", "Fixed version")
);
if (has_a_patch)
report += '\n\n' + "Although a patch has been applied, we aren't able to determine if this is the" +
'\n' + "correct patch for these vulnerabilities. As per the vendor advisory, you must" +
'\n' + "ensure that the patch you applied was downloaded after August 15th, 2017. You" +
'\n' + "must also ensure the appropriate mitigations (disable file uploads or disable" +
'\n' + "POST requests) have been applied as per the vendor advisory";
security_report_v4(port:port, severity:SECURITY_HOLE, extra:report);
The latest version of this script can be found in these locations depending on your platform:
- Linux / Unix:
/opt/nessus/lib/nessus/plugins/telerik_ui_for_aspnet_ajax_CVE-2017-11317.nasl
- Windows:
C:\ProgramData\Tenable\Nessus\nessus\plugins\telerik_ui_for_aspnet_ajax_CVE-2017-11317.nasl
- Mac OS X:
/Library/Nessus/run/lib/nessus/plugins/telerik_ui_for_aspnet_ajax_CVE-2017-11317.nasl
Go back to menu.
How to Run
Here is how to run the Telerik UI for ASP.NET AJAX RadAsyncUpload Multiple Vulnerabilities as a standalone plugin via the Nessus web user interface (https://localhost:8834/):
- Click to start a New Scan.
- Select Advanced Scan.
- Navigate to the Plugins tab.
- On the top right corner click to Disable All plugins.
- On the left side table select Windows plugin family.
- On the right side table select Telerik UI for ASP.NET AJAX RadAsyncUpload Multiple Vulnerabilities plugin ID 107096.
- Specify the target on the Settings tab and click to Save the scan.
- 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 telerik_ui_for_aspnet_ajax_CVE-2017-11317.nasl -t <IP/HOST>
Run the plugin with audit trail message on the console:
/opt/nessus/bin/nasl -a telerik_ui_for_aspnet_ajax_CVE-2017-11317.nasl -t <IP/HOST>
Run the plugin with trace script execution written to the console (useful for debugging):
/opt/nessus/bin/nasl -T - telerik_ui_for_aspnet_ajax_CVE-2017-11317.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 telerik_ui_for_aspnet_ajax_CVE-2017-11317.nasl -t <IP/HOST>
Go back to menu.
References
BID | SecurityFocus Bugtraq ID: IAVA | Information Assurance Vulnerability Alert:
- 2018-A-0066-S
- https://www.tenable.com/plugins/nessus/107096
- http://www.nessus.org/u?49cbdec3
- http://www.nessus.org/u?77b0e65f
- https://vulners.com/nessus/TELERIK_UI_FOR_ASPNET_AJAX_CVE-2017-11317.NASL
- 101159 - Telerik UI for ASP.NET AJAX Cryptographic Weakness
- 135970 - Telerik UI for ASP.NET AJAX RadAsyncUpload .NET Deserialization Vulnerability
- 158761 - Debian DSA-5096-1 : linux - security update
- 159815 - EulerOS 2.0 SP9 : kernel (EulerOS-SA-2022-1429)
- 157890 - openSUSE 15 Security Update : kernel (openSUSE-SU-2022:0363-1)
- 157938 - openSUSE 15 Security Update : kernel (openSUSE-SU-2022:0370-1)
- 159895 - QNAP QTS / QuTS hero Command Injection (QSA-21-05)
- 154986 - KB5007186: Windows 10 Version 2004 / Windows 10 Version 20H2 / Windows 10 Version 21H1 (November 2021)
- 154990 - KB5007192: Windows 10 Version 1607 and Windows Server 2016 Security Update (November 2021)
- 154994 - KB5007205: Windows 2022 Security Update (November 2021)
- 154993 - KB5007206: Windows 10 Version 1809 and Windows Server 2019 Security Update (November 2021)
- 154984 - KB5007233: Windows Server 2008 R2 Security Update (November 2021)
- 154995 - KB5007245: Windows Server 2012 Security Update (November 2021)
- 154983 - KB5007246: Windows Server 2008 Security Update (November 2021)
- 154996 - KB5007255: Windows Server 2012 R2 Security Update (November 2021)
- 157898 - SUSE SLES15 Security Update : kernel (SUSE-SU-2022:0363-1)
- 157897 - SUSE SLES15 Security Update : kernel (SUSE-SU-2022:0365-1)
- 157932 - SUSE SLED15 / SLES15 Security Update : kernel (SUSE-SU-2022:0370-1)
- 158225 - SUSE SLES15 Security Update : the Linux RT Kernel (SUSE-SU-2022:0543-1)
- 159150 - SUSE SLES15 Security Update : kernel (Live Patch 13 for SLE 15 SP3) (SUSE-SU-2022:0619-1)
- 159149 - SUSE SLES15 Security Update : kernel (Live Patch 10 for SLE 15 SP3) (SUSE-SU-2022:0660-1)
- 157350 - Ubuntu 18.04 LTS / 20.04 LTS : Linux kernel (GKE) vulnerabilities (USN-5266-1)
- 157463 - Ubuntu 20.04 LTS : Linux kernel (OEM) vulnerabilities (USN-5278-1)
- 158159 - Ubuntu 20.04 LTS : Linux kernel vulnerabilities (USN-5294-1)
- 158253 - Ubuntu 18.04 LTS / 20.04 LTS : Linux kernel vulnerabilities (USN-5294-2)
- 158249 - Ubuntu 16.04 LTS / 18.04 LTS : Linux kernel vulnerabilities (USN-5298-1)
Version
This page has been produced using Nessus Professional 10.1.2 (#68) LINUX, Plugin set 202205072148.
Plugin file telerik_ui_for_aspnet_ajax_CVE-2017-11317.nasl version 1.7. For more plugins, visit the Nessus Plugin Library.
Go back to menu.