GAMSoft TelSrv 1.4/1.5 Username Overflow DoS - Nessus
High Plugin ID: 10474This page contains detailed information about the GAMSoft TelSrv 1.4/1.5 Username Overflow DoS Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.
Plugin Overview
ID: 10474
Name: GAMSoft TelSrv 1.4/1.5 Username Overflow DoS
Filename: TelSrv_DoS.nasl
Vulnerability Published: 2000-07-17
This Plugin Published: 2000-07-17
Last Modification Time: 2018-06-27
Plugin Version: 1.32
Plugin Type: remote
Plugin Family: Windows
Dependencies:
telnetserver_detect_type_nd_version.nasl
Required KB Items [?]: Settings/ParanoidReport
Vulnerability Information
Severity: High
Vulnerability Published: 2000-07-17
Patch Published: N/A
CVE [?]: CVE-2000-0665
CPE [?]: N/A
Synopsis
The remote telnet server has a buffer overflow vulnerability.
Description
It is possible to crash the remote telnet server by sending a username that is 4550 characters or longer. A remote attacker could exploit this to crash the service, or potentially execute arbitrary code.
Solution
There is no known solution at this time.
Public Exploits
Target Network Port(s): 23
Target Asset(s): Services/telnet
Exploit Available: True (Metasploit Framework, Exploit-DB)
Exploit Ease: Exploits are available
Here's the list of publicly known exploits and PoCs for verifying the GAMSoft TelSrv 1.4/1.5 Username Overflow DoS vulnerability:
- Metasploit: exploit/windows/telnet/gamsoft_telsrv_username
[GAMSoft TelSrv 1.5 Username Buffer Overflow] - Exploit-DB: exploits/windows/remote/16816.rb
[EDB-16816: GAMSoft TelSrv 1.5 - 'Username' Remote Buffer Overflow (Metasploit)]
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:P/I:P/A:P/E:F/RL:U/RC:C
CVSS Base Score: | 7.5 (High) |
Impact Subscore: | 6.4 |
Exploitability Subscore: | 10.0 |
CVSS Temporal Score: | 7.1 (High) |
CVSS Environmental Score: | NA (None) |
Modified Impact Subscore: | NA |
Overall CVSS Score: | 7.1 (High) |
Go back to menu.
Plugin Source
This is the TelSrv_DoS.nasl nessus plugin source code. This script is Copyright (C) 2000-2018 Prizm <[email protected]
#
# This script was written by Prizm <[email protected]>
#
# See the Nessus Scripts License for details
#
# Changes by Tenable:
# - description changed somehow [RD]
# - handles the fact that the shareware may not be registered [RD]
# - revised plugin title (6/16/09)
# - changed family (6/28/09)
include("compat.inc");
if (description)
{
script_id(10474);
script_version("1.32");
script_cvs_date("Date: 2018/06/27 18:42:27");
script_cve_id("CVE-2000-0665");
script_bugtraq_id(1478);
script_name(english:"GAMSoft TelSrv 1.4/1.5 Username Overflow DoS");
script_summary(english:"Crash GAMSoft TelSrv telnet server.");
script_set_attribute(attribute:"synopsis", value:"The remote telnet server has a buffer overflow vulnerability.");
script_set_attribute(attribute:"description", value:
"It is possible to crash the remote telnet server by sending a username
that is 4550 characters or longer. A remote attacker could exploit
this to crash the service, or potentially execute arbitrary code.");
#https://web.archive.org/web/20000819132410/http://archives.neohapsis.com/archives/ntbugtraq/2000-q3/0031.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?2999867b");
script_set_attribute(attribute:"solution", value:"There is no known solution at this time.");
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:F/RL:U/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:'GAMSoft TelSrv 1.5 Username Buffer Overflow');
script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
script_set_attribute(attribute:"vuln_publication_date", value:"2000/07/17");
script_set_attribute(attribute:"plugin_publication_date", value:"2000/07/17");
script_set_attribute(attribute:"potential_vulnerability", value:"true");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_end_attributes();
script_category(ACT_DENIAL);
script_copyright(english:"This script is Copyright (C) 2000-2018 Prizm <[email protected]");
script_family(english:"Windows");
script_dependencie("telnetserver_detect_type_nd_version.nasl");
script_require_keys("Settings/ParanoidReport");
script_require_ports("Services/telnet", 23);
exit(0);
}
include("audit.inc");
include("global_settings.inc");
include("misc_func.inc");
include("telnet_func.inc");
if (report_paranoia < 2) audit(AUDIT_PARANOID);
port = get_service(svc:"telnet", default: 23, exit_on_fail: 1);
soc = open_sock_tcp(port);
if (! soc) exit(1);
r = telnet_negotiate(socket:soc);
r2 = recv(socket:soc, length:4096);
r = r + r2;
if(r)
{
r = recv(socket:soc, length:8192);
if("5 second delay" >< r)sleep(5);
r = recv(socket:soc, length:8192);
req = string(crap(4550), "\r\n");
send(socket:soc, data:req);
close(soc);
sleep(1);
soc2 = open_sock_tcp(port);
if(!soc2)
{
if (service_is_dead(port: port, exit: 0) <= 0)
exit(1, "Could not reconnect to port "+port+".");
security_hole(port);
}
else {
r = telnet_negotiate(socket:soc2);
r2 = recv(socket:soc2, length:4096);
r = r + r2;
close(soc2);
if(!r)security_hole(port);
}
}
The latest version of this script can be found in these locations depending on your platform:
- Linux / Unix:
/opt/nessus/lib/nessus/plugins/TelSrv_DoS.nasl
- Windows:
C:\ProgramData\Tenable\Nessus\nessus\plugins\TelSrv_DoS.nasl
- Mac OS X:
/Library/Nessus/run/lib/nessus/plugins/TelSrv_DoS.nasl
Go back to menu.
How to Run
Here is how to run the GAMSoft TelSrv 1.4/1.5 Username Overflow DoS 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 GAMSoft TelSrv 1.4/1.5 Username Overflow DoS plugin ID 10474.
- 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 TelSrv_DoS.nasl -t <IP/HOST>
Run the plugin with audit trail message on the console:
/opt/nessus/bin/nasl -a TelSrv_DoS.nasl -t <IP/HOST>
Run the plugin with trace script execution written to the console (useful for debugging):
/opt/nessus/bin/nasl -T - TelSrv_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 TelSrv_DoS.nasl -t <IP/HOST>
Go back to menu.
References
BID | SecurityFocus Bugtraq ID: See also:
- https://www.tenable.com/plugins/nessus/10474
- http://www.nessus.org/u?2999867b
- https://vulners.com/nessus/TELSRV_DOS.NASL
- 10026 - BFTelnet Username Handling Remote Overflow DoS
- 105154 - PuTTY < 0.67 PSCP Server Header Handling Stack Buffer Overflow
- 11705 - LeapFTP < 2.7.4.x PASV Reply Remote Overflow
- 122033 - Apache OpenOffice < 4.1.6 Virtual Table Arithmetic Overflow
- 124062 - SolarWinds DameWare Mini Remote Client Agent < 12.0.3 Stack Buffer Overflow
- 145534 - Python Buffer Overflow (CVE-2021-3177)
- 15771 - Ipswitch IMail IMAP Service DELETE Command Remote Overflow
- 15822 - SecureCRT SSH-1 Protocol Version String Remote Overflow
- 17254 - RealPlayer Multiple Remote Overflows (2005-03-01)
- 18041 - CA BrightStor ARCserve Backup Universal Agent Remote Overflow (QO66526)
- 18551 - VERITAS Backup Exec Agent for Windows CONNECT_CLIENT_AUTH Remote Overflow
- 19193 - MailEnable IMAP STATUS Command Remote Overflow
- 19387 - CA BrightStor ARCserve Backup Agent for Windows Long String Overflow
- 19553 - DameWare Mini Remote Control Pre-Authentication Remote Overflow
- 19554 - DameWare Mini Remote Control Pre-Authentication Username Remote Overflow
- 19783 - MailEnable IMAP Server W3C Logging Overflow
- 20826 - Winamp < 5.13 Playlist Handling Multiple Overflows
- 21141 - Rhapsody SWF File Handling Buffer Overflow
Version
This page has been produced using Nessus Professional 10.1.2 (#68) LINUX, Plugin set 202205072148.
Plugin file TelSrv_DoS.nasl version 1.32. For more plugins, visit the Nessus Plugin Library.
Go back to menu.