Unreal Engine Secure Query Remote Overflow - Nessus
Critical Plugin ID: 12285This page contains detailed information about the Unreal Engine Secure Query Remote Overflow Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.
Plugin Overview
ID: 12285
Name: Unreal Engine Secure Query Remote Overflow
Filename: unreal_dos.nasl
Vulnerability Published: 2004-06-19
This Plugin Published: 2004-06-22
Last Modification Time: 2018-08-06
Plugin Version: 1.18
Plugin Type: remote
Plugin Family: Gain a shell remotely
Dependencies: None
Vulnerability Information
Severity: Critical
Vulnerability Published: 2004-06-19
Patch Published: N/A
CVE [?]: CVE-2004-0608
CPE [?]: N/A
Synopsis
The remote host has an application that may arbitrary code execution on the remote system.
Description
The remote host was running a game server with the Unreal Engine on it. The game server is vulnerable to a remote attack which allows for arbitrary code execution.
Note that Nessus disabled this service while testing for this flaw.
Solution
Epic has released a patch for this issue.
Public Exploits
Target Network Port(s): N/A
Target Asset(s): N/A
Exploit Available: True (Metasploit Framework, Exploit-DB, Immunity Canvas)
Exploit Ease: Exploits are available
Here's the list of publicly known exploits and PoCs for verifying the Unreal Engine Secure Query Remote Overflow vulnerability:
- Metasploit: exploit/windows/games/ut2004_secure
[Unreal Tournament 2004 "secure" Overflow (Win32)] - Metasploit: exploit/linux/games/ut2004_secure
[Unreal Tournament 2004 "secure" Overflow (Linux)] - Exploit-DB: exploits/linux/remote/10032.rb
[EDB-10032: Unreal Tournament 2004 - 'Secure' Remote Overflow (Metasploit)] - Exploit-DB: exploits/windows/remote/16693.rb
[EDB-16693: Unreal Tournament 2004 (Windows) - 'secure' Remote Overflow (Metasploit)] - Exploit-DB: exploits/linux/remote/16848.rb
[EDB-16848: Unreal Tournament 2004 (Linux) - 'secure' Remote Overflow (Metasploit)] - Immunity Canvas: CANVAS
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 V2 Vector [?]: AV:N/AC:L/Au:N/C:C/I:C/A:C/E:F/RL:OF/RC:C
CVSS Base Score: | 10.0 (High) |
Impact Subscore: | 10.0 |
Exploitability Subscore: | 10.0 |
CVSS Temporal Score: | 8.3 (High) |
CVSS Environmental Score: | NA (None) |
Modified Impact Subscore: | NA |
Overall CVSS Score: | 8.3 (High) |
Go back to menu.
Plugin Source
This is the unreal_dos.nasl nessus plugin source code. This script is Copyright (C) 2004-2018 Tenable Network Security, Inc.
#
# (C) Tenable Network Security, Inc.
#
include("compat.inc");
if (description)
{
script_id(12285);
script_version("1.18");
script_cvs_date("Date: 2018/08/06 14:03:14");
script_cve_id("CVE-2004-0608");
script_bugtraq_id(10570);
script_name(english:"Unreal Engine Secure Query Remote Overflow");
script_summary(english:"Crashes the remote Unreal Engine Game Server");
script_set_attribute(attribute:"synopsis", value:
"The remote host has an application that may arbitrary code execution on
the remote system.");
script_set_attribute(attribute:"description", value:
"The remote host was running a game server with the Unreal Engine on it.
The game server is vulnerable to a remote attack which allows for
arbitrary code execution.
Note that Nessus disabled this service while testing for this flaw.");
script_set_attribute(attribute:"solution", value:"Epic has released a patch for this issue.");
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:F/RL:OF/RC:C");
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:'Unreal Tournament 2004 "secure" Overflow (Win32)');
script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
script_set_attribute(attribute:"exploit_framework_canvas", value:"true");
script_set_attribute(attribute:"canvas_package", value:'CANVAS');
script_set_attribute(attribute:"vuln_publication_date", value:"2004/06/19");
script_set_attribute(attribute:"plugin_publication_date", value:"2004/06/22");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_end_attributes();
script_category(ACT_DESTRUCTIVE_ATTACK);
script_copyright(english:"This script is Copyright (C) 2004-2018 Tenable Network Security, Inc.");
script_family(english:"Gain a shell remotely");
exit(0);
}
include("audit.inc");
port = 7777;
if (!get_udp_port_state(port)) audit(AUDIT_PORT_CLOSED, port, "UDP");
soc = open_sock_udp(port);
if (!soc) audit(AUDIT_SOCK_FAIL, port, "UDP");
init = string("\\status\\");
malpacket = string("\\secure\\", crap(data:"a", length:1024) );
send(socket:soc, data:init);
r = recv(socket:soc, length:128);
if (r)
{
send(socket:soc, data:malpacket);
r = recv(socket:soc, length:128);
if (! r)
{
security_hole(port:port, proto:"udp");
exit(0);
}
}
The latest version of this script can be found in these locations depending on your platform:
- Linux / Unix:
/opt/nessus/lib/nessus/plugins/unreal_dos.nasl
- Windows:
C:\ProgramData\Tenable\Nessus\nessus\plugins\unreal_dos.nasl
- Mac OS X:
/Library/Nessus/run/lib/nessus/plugins/unreal_dos.nasl
Go back to menu.
How to Run
Here is how to run the Unreal Engine Secure Query Remote Overflow 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 Gain a shell remotely plugin family.
- On the right side table select Unreal Engine Secure Query Remote Overflow plugin ID 12285.
- 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 unreal_dos.nasl -t <IP/HOST>
Run the plugin with audit trail message on the console:
/opt/nessus/bin/nasl -a unreal_dos.nasl -t <IP/HOST>
Run the plugin with trace script execution written to the console (useful for debugging):
/opt/nessus/bin/nasl -T - unreal_dos.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 unreal_dos.nasl -t <IP/HOST>
Go back to menu.
References
BID | SecurityFocus Bugtraq ID: See also: Similar and related Nessus plugins:
- 14547 - GLSA-200407-14 : Unreal Tournament 2003/2004: Buffer overflow in 'secure' queries
- 46882 - UnrealIRCd Backdoor Detection
Version
This page has been produced using Nessus Professional 10.1.2 (#68) LINUX, Plugin set 202205072148.
Plugin file unreal_dos.nasl version 1.18. For more plugins, visit the Nessus Plugin Library.
Go back to menu.