| Reporter | Title | Published | Views | Family All 78 |
|---|---|---|---|---|
| OpenSSH < 3.0.2 UseLogin Environment Variable Local Command Execution | 20 Aug 200400:00 | – | nessus | |
| Debian DSA-091-1 : ssh - influencing login | 29 Sep 200400:00 | – | nessus | |
| Mandrake Linux Security Advisory : openssh (MDKSA-2001:092) | 31 Jul 200400:00 | – | nessus | |
| OpenSSH < 3.0.2 Multiple Vulnerabilities | 10 Dec 200100:00 | – | nessus | |
| SunSSH < 1.1.1 / 1.3 CBC Plaintext Disclosure | 29 Aug 201100:00 | – | nessus | |
| CVE-2001-0872 | 25 Jun 200204:00 | – | cve | |
| CVE-2001-0872 | 25 Jun 200204:00 | – | cvelist | |
| EUVD-2001-0855 | 7 Oct 202500:30 | – | euvd | |
| CVE-2001-0872 | 21 Dec 200105:00 | – | nvd | |
| OpenSSH < 3.0.2 'UseLogin Environment Variables' RCE Vulnerability | 3 Nov 200500:00 | – | openvas |
# OpenVAS Vulnerability Test
# $Id: openssh_uselogin_environment.nasl 6056 2017-05-02 09:02:50Z teissa $
# Description: OpenSSH UseLogin Environment Variables
#
# Authors:
# EMAZE Networks S.p.A.
# Script audit and contributions from Carmichael Security <http://www.carmichaelsecurity.com>
# Erik Anderson <[email protected]>
# Added BugtraqID
# changes by rd: description, static report
#
# Copyright:
# Copyright (C) 2001 EMAZE Networks S.p.A.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2,
# as published by the Free Software Foundation
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
tag_summary = "You are running a version of OpenSSH which is older than 3.0.2.
Versions prior than 3.0.2 are vulnerable to an environment
variables export that can allow a local user to execute
command with root privileges.
This problem affect only versions prior than 3.0.2, and when
the UseLogin feature is enabled (usually disabled by default)";
tag_solution = "Upgrade to OpenSSH 3.0.2 or apply the patch for prior
versions. (Available at: ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH)";
if(description)
{
script_id(10823);
script_version("$Revision: 6056 $");
script_tag(name:"last_modification", value:"$Date: 2017-05-02 11:02:50 +0200 (Tue, 02 May 2017) $");
script_tag(name:"creation_date", value:"2005-11-03 14:08:04 +0100 (Thu, 03 Nov 2005)");
script_bugtraq_id(3614);
script_xref(name:"IAVA", value:"2001-t-0017");
script_cve_id("CVE-2001-0872");
script_tag(name:"cvss_base", value:"7.2");
script_tag(name:"cvss_base_vector", value:"AV:L/AC:L/Au:N/C:C/I:C/A:C");
name = "OpenSSH UseLogin Environment Variables";
script_name(name);
summary = "Checks for the remote SSH version";
script_category(ACT_GATHER_INFO);
script_tag(name:"qod_type", value:"remote_banner_unreliable");
script_copyright("This script is copyright (C) 2001 by EMAZE Networks S.p.A.");
family = "Gain a shell remotely";
script_family(family);
script_dependencies("ssh_detect.nasl");
script_require_ports("Services/ssh", 22);
script_tag(name : "solution" , value : tag_solution);
script_tag(name : "summary" , value : tag_summary);
exit(0);
}
#
# The script code starts here
#
port = get_kb_item("Services/ssh");
if(!port) port = 22;
banner = get_kb_item("SSH/banner/" + port);
if ( ! banner ) exit(0);
if(ereg(pattern:"ssh-.*-openssh[-_](1\..*|2\..*|3\.0.[0-1]).*" , string:tolower(banner)))
{
security_message(port);
}
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