Wyse Thin Client hagent.exe Unspecified Buffer Overflow - Nessus

Critical   Plugin ID: 40862

This page contains detailed information about the Wyse Thin Client hagent.exe Unspecified Buffer Overflow Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 40862
Name: Wyse Thin Client hagent.exe Unspecified Buffer Overflow
Filename: wyse_hagent.nbin
Vulnerability Published: 2009-07-10
This Plugin Published: 2009-09-02
Last Modification Time: 2022-02-14
Plugin Version: 1.55
Plugin Type: remote
Plugin Family: Gain a shell remotely
Dependencies: wyse_hagent_detect.nbin

Vulnerability Information


Severity: Critical
Vulnerability Published: 2009-07-10
Patch Published: 2009-07-10
CVE [?]: N/A
CPE [?]: N/A

Synopsis

Arbitrary code can be executed on the remote host.

Description

The version of the Wyse Thin Client HAgent service installed on the remote host is at risk of a remote buffer overflow attack.

An unauthenticated attacker can exploit this flaw by sending a specially crafted packet to the remote host. Successful exploitation would result in remote code execution with the privileges of the service itself.

Solution

Upgrade to the latest version of Wyse Device Manager (4.7.2) and apply the two security updates (HF 04072019009 and HF04072019709).

Public Exploits


Target Network Port(s): 80
Target Asset(s): Services/hagent
Exploit Available: True (Metasploit Framework)
Exploit Ease: Exploits are available

Here's the list of publicly known exploits and PoCs for verifying the Wyse Thin Client hagent.exe Unspecified Buffer Overflow vulnerability:

  1. Metasploit: exploit/multi/wyse/hagent_untrusted_hsdata
    [Wyse Rapport Hagent Fake Hserver 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 V2 Vector [?]: AV:N/AC:L/Au:N/C:C/I:C/A:C/E:POC/RL:OF/RC:C
CVSS Base Score:10.0 (High)
Impact Subscore:10.0
Exploitability Subscore:10.0
CVSS Temporal Score:7.8 (High)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:7.8 (High)

Go back to menu.

Plugin Source


The wyse_hagent.nbin Nessus plugin is distributed in a propriatory binary format and its source code is protected. This script is Copyright (C) 2009-2022 and is owned by Tenable, Inc. or an Affiliate thereof.

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

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

Go back to menu.

How to Run


Here is how to run the Wyse Thin Client hagent.exe Unspecified Buffer Overflow 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 Gain a shell remotely plugin family.
  6. On the right side table select Wyse Thin Client hagent.exe Unspecified Buffer Overflow plugin ID 40862.
  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 wyse_hagent.nbin -t <IP/HOST>

Run the plugin with audit trail message on the console:

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

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

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

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: Secunia Advisory: See also: Similar and related Nessus plugins:
  • 40333 - Wyse Device Manager Buffer Overflow
  • 55907 - HP iNode Management Center Buffer Overflow (HPSB3C02687) (remote check)
  • 69424 - HP LoadRunner < 11.52 SSL Connection Handling Stack Buffer Overflow RCE
  • 64394 - Portable SDK for UPnP Devices (libupnp) < 1.6.18 Multiple Stack-based Buffer Overflows RCE
  • 24327 - Mercury LoadRunner Agent server_ip_name Field Remote Buffer Overflow
  • 26067 - Mercury IMAP Server SEARCH Command Remote Buffer Overflow
  • 17326 - Sentinel License Manager lservnt Service Remote Buffer Overflow
  • 25935 - SIDVault < 2.0f LDAP Server Malformed Search Request Buffer Overflow
  • 57462 - FreeBSD 'telnetd' Daemon Remote Buffer Overflow
  • 54943 - IBM Tivoli Directory Server SASL Bind Request Buffer Overflow (uncredentialed check)
  • 57765 - Trend Micro Control Manager CmdProcessor.exe Remote Buffer Overflow (uncredentialed check)

Version


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

Go back to menu.