Vulnerabilities > CVE-2001-0259 - Unspecified vulnerability in SSH

047910
CVSS 3.6 - LOW
Attack vector
LOCAL
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
PARTIAL
Integrity impact
PARTIAL
Availability impact
NONE
local
low complexity
ssh
nessus
exploit available

Summary

ssh-keygen in ssh 1.2.27 - 1.2.30 with Secure-RPC can allow local attackers to recover a SUN-DES-1 magic phrase generated by another user, which the attacker can use to decrypt that user's private key file.

Vulnerable Configurations

Part Description Count
Application
Ssh
4

Exploit-Db

descriptionSSH 1.2.x Secure-RPC Weak Encrypted Authentication Vulnerability. CVE-2001-0259. Local exploit for unix platform
idEDB-ID:20560
last seen2016-02-02
modified2001-01-16
published2001-01-16
reporterRichard Silverman
sourcehttps://www.exploit-db.com/download/20560/
titleSSH 1.2.x Secure-RPC Weak Encrypted Authentication Vulnerability

Nessus

NASL familyMisc.
NASL idSSH_KEYGEN.NASL
descriptionThe remote host is running a version of SSH Communications Security SSH comprised between versions 1.2.27 and 1.2.30. With Secure-RPC, this version can allow local attackers to recover a SUN-DES-1 magic phrase generated by another user, which the attacker can use to decrypt that user
last seen2020-06-01
modified2020-06-02
plugin id11340
published2003-03-10
reporterThis script is Copyright (C) 2003-2018 Xue Yong Zhi
sourcehttps://www.tenable.com/plugins/nessus/11340
titleSSH ssh-keygen with Secure-RPC SUN-DES-1 Phrase Recovery
code
#
# This script was written by Xue Yong Zhi<[email protected]>
#
# See the Nessus Scripts License for details
#

# Changes by Tenable:
# - Revised plugin title, family change (8/10/09)
# - Updated to use compat.inc (11/20/2009)


include("compat.inc");

if(description)
{
 script_id(11340);
 script_version ("1.16");
 script_cve_id("CVE-2001-0259");
 script_bugtraq_id(2222);
 
 script_name(english:"SSH ssh-keygen with Secure-RPC SUN-DES-1 Phrase Recovery");
 
 script_set_attribute(attribute:"synopsis", value:
"The remote SSH server might allow a local user to recover a SUN-DES-1
passphrase." );
 script_set_attribute(attribute:"description", value:
"The remote host is running a version of SSH Communications Security
SSH comprised between versions 1.2.27 and 1.2.30. 
 
With Secure-RPC, this version can allow local attackers to recover a
SUN-DES-1 magic phrase generated by another user, which the attacker
can use to decrypt that user's private key file." );
 script_set_attribute(attribute:"solution", value:
"Download and install the newest version of this software." );
 script_set_cvss_base_vector("CVSS2#AV:N/AC:H/Au:N/C:P/I:N/A:N");
 script_set_cvss_temporal_vector("CVSS2#E:POC/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:"plugin_publication_date", value: "2003/03/10");
 script_set_attribute(attribute:"vuln_publication_date", value: "2001/01/16");
 script_cvs_date("Date: 2018/08/22 16:49:14");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_end_attributes();

 
 script_summary(english:"Checks for the remote SSH version");
 script_category(ACT_GATHER_INFO);
 script_copyright(english:"This script is Copyright (C) 2003-2018 Xue Yong Zhi");
 script_family(english:"Misc.");
 script_dependencie("ssh_detect.nasl");
 script_require_ports("Services/ssh", 22);
 exit(0);
}

#
# The script code starts here
#

include("backport.inc");
port = get_kb_item("Services/ssh");
if(!port)port = 22;

banner = get_kb_item("SSH/banner/" + port );
if ( ! banner ) exit(0);

banner = get_backport_banner(banner:banner);

#Looking for SSH product version number  < 1.2.30
if(ereg(string:banner, pattern:"SSH-[0-9]\.[0-9]+-1\.2\.([1-2][0-9]|30)[^0-9]*$", icase:TRUE))security_note(port);