Lucene search
K

Rsync Multiple Denial of Service Vulnerabilities (Windows)

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

Rsync Multiple Denial of Service Vulnerabilities (Windows). Vulnerable to denial of service due to memory corruption and directory handling errors. Upgrade to version 3.0.8 or later

Related
Refs
Code
###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_rsync_mult_dos_vuln.nasl 7019 2017-08-29 11:51:27Z teissa $
#
# Rsync Multiple Denial of Service Vulnerabilities (Windows)
#
# Authors:
# Madhuri D <[email protected]>
#
# 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.
###############################################################################

tag_impact = "Successful exploitation will allow remote attackers to crash an affected
  application or execute arbitrary code by tricking a user into connecting
  to a malicious rsync server and using the '--recursive' and '--delete'
  options without the '--owner' option.
  Impact Level: Application.";
tag_affected = "rsync version 3.x before 3.0.8";

tag_insight = "The flaws are due to
  - a memory corruption error when processing malformed file list data.
  - error while handling directory paths, '--backup-dir', filter/exclude lists.";
tag_solution = "Upgrade to rsync version 3.0.8 or later
  For updates refer to http://rsync.samba.org/";
tag_summary = "This host is installed with Rsync and is prone to multiple denial
  of service vulnerabilities.";

if(description)
{
  script_id(801772);
  script_version("$Revision: 7019 $");
  script_tag(name:"last_modification", value:"$Date: 2017-08-29 13:51:27 +0200 (Tue, 29 Aug 2017) $");
  script_tag(name:"creation_date", value:"2011-04-22 16:38:12 +0200 (Fri, 22 Apr 2011)");
  script_cve_id("CVE-2011-1097");
  script_tag(name:"cvss_base", value:"5.1");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:H/Au:N/C:P/I:P/A:P");
  script_name("Rsync Multiple Denial of Service Vulnerabilities (Windows)");
  script_xref(name : "URL" , value : "http://securitytracker.com/id?1025256");
  script_xref(name : "URL" , value : "http://www.vupen.com/english/advisories/2011/0792");

  script_tag(name:"qod_type", value:"registry");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (c) 2011 Greenbone Networks GmbH");
  script_family("Denial of Service");
  script_dependencies("secpod_reg_enum.nasl");
  script_mandatory_keys("SMB/WindowsVersion");
  script_tag(name : "insight" , value : tag_insight);
  script_tag(name : "solution" , value : tag_solution);
  script_tag(name : "summary" , value : tag_summary);
  script_tag(name : "impact" , value : tag_impact);
  script_tag(name : "affected" , value : tag_affected);
  exit(0);
}


include("smb_nt.inc");
include("version_func.inc");
include("secpod_smb_func.inc");

if(!get_kb_item("SMB/WindowsVersion")){
  exit(0);
}

key = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" +
       "\cwRsync";
if(!registry_key_exists(key:key)){
  exit(0);
}

## Check for rsync DisplayName
rsyncName = registry_get_sz(key:key, item:"DisplayName");
if("cwRsync" >< rsyncName)
{
  rsyncPath = registry_get_sz(key:key, item:"UninstallString");
  if(!isnull(rsyncPath))
  {
    rsyncPath = ereg_replace(pattern:'\"(.*)\"', replace:"\1", string:rsyncPath);
    rsyncVer = fetch_file_version(sysPath:rsyncPath);

    ## Get the Version for rsync
    if(rsyncVer != NULL)
    {
      ## Check for rsync version
      if(version_in_range(version:rsyncVer, test_version:"3.0", test_version2:"3.0.7")){
        security_message(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

29 Aug 2017 00:00Current
9.5High risk
Vulners AI Score9.5
EPSS0.02186
18