Lucene search
K

CentOS Update for openssh CESA-2009:1287 centos5 i386

🗓️ 09 Aug 2011 00:00:00Reported by Copyright (c) 2011 Greenbone Networks GmbHType 
openvas
 openvas
🔗 plugins.openvas.org👁 22 Views

CentOS Update for openssh CESA-2009:1287 centos5 i386. OpenSSH updated to mitigate man-in-the-middle attack, fix ssh client hang, and add SFTP server enhancements

Related
Refs
Code
###############################################################################
# OpenVAS Vulnerability Test
#
# CentOS Update for openssh CESA-2009:1287 centos5 i386
#
# Authors:
# System Generated Check
#
# Copyright:
# Copyright (c) 2011 Greenbone Networks GmbH, http://www.greenbone.net
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), 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.
###############################################################################

include("revisions-lib.inc");
tag_insight = "OpenSSH is OpenBSD's SSH (Secure Shell) protocol implementation. These
  packages include the core files necessary for both the OpenSSH client and
  server.

  A flaw was found in the SSH protocol. An attacker able to perform a
  man-in-the-middle attack may be able to obtain a portion of plain text from
  an arbitrary ciphertext block when a CBC mode cipher was used to encrypt
  SSH communication. This update helps mitigate this attack: OpenSSH clients
  and servers now prefer CTR mode ciphers to CBC mode, and the OpenSSH server
  now reads SSH packets up to their full possible length when corruption is
  detected, rather than reporting errors early, reducing the possibility of
  successful plain text recovery. (CVE-2008-5161)
  
  This update also fixes the following bug:
  
  * the ssh client hung when trying to close a session in which a background
  process still held tty file descriptors open. With this update, this
  so-called "hang on exit" error no longer occurs and the ssh client closes
  the session immediately. (BZ#454812)
  
  In addition, this update adds the following enhancements:
  
  * the SFTP server can now chroot users to various directories, including
  a user's home directory, after log in. A new configuration option --
  ChrootDirectory -- has been added to "/etc/ssh/sshd_config" for setting
  this up (the default is not to chroot users). Details regarding configuring
  this new option are in the sshd_config(5) manual page. (BZ#440240)
  
  * the executables which are part of the OpenSSH FIPS module which is being
  validated will check their integrity and report their FIPS mode status to
  the system log or to the terminal. (BZ#467268, BZ#492363)
  
  All OpenSSH users are advised to upgrade to these updated packages, which
  contain backported patches to resolve these issues and add these
  enhancements. After installing this update, the OpenSSH server daemon
  (sshd) will be restarted automatically.";
tag_solution = "Please Install the Updated Packages.";

tag_affected = "openssh on CentOS 5";


if(description)
{
  script_xref(name : "URL" , value : "http://lists.centos.org/pipermail/centos-announce/2009-September/016142.html");
  script_id(880802);
  script_version("$Revision: 6653 $");
  script_tag(name:"last_modification", value:"$Date: 2017-07-10 13:46:53 +0200 (Mon, 10 Jul 2017) $");
  script_tag(name:"creation_date", value:"2011-08-09 08:20:34 +0200 (Tue, 09 Aug 2011)");
  script_tag(name:"cvss_base", value:"2.6");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:H/Au:N/C:P/I:N/A:N");
  script_xref(name: "CESA", value: "2009:1287");
  script_cve_id("CVE-2008-5161");
  script_name("CentOS Update for openssh CESA-2009:1287 centos5 i386");

  script_summary("Check for the Version of openssh");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (c) 2011 Greenbone Networks GmbH");
  script_family("CentOS Local Security Checks");
  script_dependencies("gather-package-list.nasl");
  script_mandatory_keys("ssh/login/centos", "ssh/login/rpms");
  script_tag(name : "affected" , value : tag_affected);
  script_tag(name : "insight" , value : tag_insight);
  script_tag(name : "solution" , value : tag_solution);
  script_tag(name:"qod_type", value:"package");
  script_tag(name:"solution_type", value:"VendorFix");
  exit(0);
}


include("pkg-lib-rpm.inc");

release = get_kb_item("ssh/login/release");


res = "";
if(release == NULL){
  exit(0);
}

if(release == "CentOS5")
{

  if ((res = isrpmvuln(pkg:"openssh", rpm:"openssh~4.3p2~36.el5", rls:"CentOS5")) != NULL)
  {
    security_message(data:res);
    exit(0);
  }

  if ((res = isrpmvuln(pkg:"openssh-askpass", rpm:"openssh-askpass~4.3p2~36.el5", rls:"CentOS5")) != NULL)
  {
    security_message(data:res);
    exit(0);
  }

  if ((res = isrpmvuln(pkg:"openssh-clients", rpm:"openssh-clients~4.3p2~36.el5", rls:"CentOS5")) != NULL)
  {
    security_message(data:res);
    exit(0);
  }

  if ((res = isrpmvuln(pkg:"openssh-server", rpm:"openssh-server~4.3p2~36.el5", rls:"CentOS5")) != NULL)
  {
    security_message(data:res);
    exit(0);
  }

  if (__pkg_match) exit(99); # Not vulnerable.
  exit(0);
}

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

10 Jul 2017 00:00Current
7.1High risk
Vulners AI Score7.1
EPSS0.01854
22