Lucene search
K

Xshell5 5.0 Build 1124 DLL Hijacking

🗓️ 17 Feb 2017 00:00:00Reported by Nassim AsrirType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 40 Views

Xshell5 Build 1124 DLL Hijacking vulnerability, enabling Arbitrary Code Execution from remote to local. Vendor is Netsarang, product supports SSH, SFTP, TELNET, RLOGIN and SERIA

Code
`[+] Title: Xshell5 - "api-ms-win-appmodel-runtime-l1-1-0" DLL Loading Arbitrary Code Execution.  
[+] Credits / Discovery: Nassim Asrir  
[+] Author Email: [email protected]  
[+] Author Company: Henceforth  
  
Vendor:  
===============  
https://www.netsarang.com/  
  
Product Version:  
===============  
  
5.0 Build 1124  
  
Download:  
===========  
  
https://www.netsarang.com/xshell_download.html  
  
About Product:  
===============  
  
Xshell is a powerful terminal emulator that supports SSH, SFTP, TELNET, RLOGIN and SERIAL. It delivers industry leading performance and feature sets that are not available in its free alternatives. Features that enterprise users will find useful include a tabbed environment, dynamic port forwarding, custom key mapping, user defined buttons, VB scripting, and UNICODE terminal for displaying 2 byte characters and international language support.  
  
Vulnerability Type:  
======================================  
  
DLL Loading Arbitrary Code Execution.  
  
  
  
CVE Reference:  
===============  
N/A  
  
  
Tested on:  
===============   
  
Windows 7 - Winxp  
  
  
Exploit/POC:  
============  
The Setup Launcher for Xshell5 is vulnerable to DLL Arbitrary Code Execution.  
  
1) Download the DLL from: https://mega.nz/#!OYQwxJSJ!Uwaq5N1_1hWlFtPQDgCgKRF2A9kiJvF3g6FmbZ1vM7s.  
  
2) Then copy the DLL to the Xshell5 setup directory.  
  
3) Launch the Setup Launcher then the command "calc" execute, and DONE.  
  
Network Access:  
===============  
  
Remote - Local  
  
  
  
Impact:  
=================  
  
An attacker can exploit this issue by enticing a legitimate user to use the vulnerable application to open a file from a network share location that contains a specially crafted Dynamic Link Library (DLL) file.  
`

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