Lucene search
K

Attachmate Reflection FTP Client LIST Command Remote Heap Buffer Overflow Vulnerability

🗓️ 05 Jan 2011 00:00:00Reported by Copyright (C) 2012 Greenbone Networks GmbHType 
openvas
 openvas
🔗 plugins.openvas.org👁 15 Views

The Attachmate Reflection FTP Client is prone to a buffer overflow vulnerability due to a boundary error in the rftpcom.dll, allowing an attacker to execute arbitrary code remotely

Related
Refs
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2011-5012
25 Dec 201101:00
cve
Cvelist
CVE-2011-5012
25 Dec 201101:00
cvelist
NVD
CVE-2011-5012
25 Dec 201101:55
nvd
OpenVAS
Attachmate Reflection FTP Client LIST Command Remote Heap Buffer Overflow Vulnerability
5 Jan 201100:00
openvas
Prion
Heap overflow
25 Dec 201101:55
prion
###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_attachmate_reflection_ftp_client_bof_vuln.nasl 5367 2017-02-20 14:16:52Z cfi $
#
# Attachmate Reflection FTP Client LIST Command Remote Heap Buffer Overflow Vulnerability
#
# Authors:
# Rachana Shetty <[email protected]>
#
# Copyright:
# Copyright (c) 2012 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_solution = "Upgrade to the latest version or apply the fix,
  For updates refer to http://support.attachmate.com/techdocs/1708.html

  *****
  NOTE : Ignore this warning, if above mentioned patch is applied already.
  *****";

tag_impact = "Successful exploitation will allow attacker to execution of arbitrary code.
  Impact Level: Application";
tag_affected = "Attachmate Reflection 2008
  Attachmate Reflection 2011 R1 before 15.3.2.569
  Attachmate Reflection 2011 R2 before 15.4.1.327
  Attachmate Reflection 14.1 SP1 before 14.1.1.206
  Attachmate Reflection Windows Client 7.2 SP1 before hotfix 7.2.1186";
tag_insight = "The flaw is due to boundary error in the Reflection FTP client in
  rftpcom.dll, which fails to process filenames within a directory listing.";
tag_summary = "This host is installed with Attachmate Reflection FTP Client and
  is prone to buffer overflow vulnerability.";

if(description)
{
  script_id(802371);
  script_version("$Revision: 5367 $");
  script_cve_id("CVE-2011-5012");
  script_bugtraq_id(50691);
  script_tag(name:"cvss_base", value:"10.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
  script_tag(name:"last_modification", value:"$Date: 2017-02-20 15:16:52 +0100 (Mon, 20 Feb 2017) $");
  script_tag(name:"creation_date", value:"2011-01-05 16:57:58 +0530 (Wed, 05 Jan 2011)");
  script_name("Attachmate Reflection FTP Client LIST Command Remote Heap Buffer Overflow Vulnerability");

  script_xref(name : "URL" , value : "http://secunia.com/advisories/46879");
  script_xref(name : "URL" , value : "http://xforce.iss.net/xforce/xfdb/71330");
  script_xref(name : "URL" , value : "http://www.securitytracker.com/id?1026340");
  script_xref(name : "URL" , value : "http://www.exploit-db.com/exploits/18119/");
  script_xref(name : "URL" , value : "http://support.attachmate.com/techdocs/2288.html");
  script_xref(name : "URL" , value : "http://support.attachmate.com/techdocs/2502.html");
  script_xref(name : "URL" , value : "http://support.attachmate.com/techdocs/1708.html");

  script_tag(name:"qod_type", value:"registry");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2012 Greenbone Networks GmbH");
  script_family("Buffer overflow");
  script_dependencies("secpod_reg_enum.nasl");
  script_mandatory_keys("SMB/WindowsVersion");
  script_require_ports(139, 445);
  script_tag(name : "impact" , value : tag_impact);
  script_tag(name : "affected" , value : tag_affected);
  script_tag(name : "insight" , value : tag_insight);
  script_tag(name : "summary" , value : tag_summary);
  script_tag(name : "solution" , value : tag_solution);
  exit(0);
}


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

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

## Get version from Registry
key = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\";
if(!registry_key_exists(key:key)){
  exit(0);
}

foreach item (registry_enum_keys(key:key))
{
  refName = registry_get_sz(key:key + item, item:"DisplayName");
  if("Attachmate Reflection" >< refName)
  {
    refVer = registry_get_sz(key:key + item, item:"DisplayVersion");
    if(refVer != NULL)
    {
      ## Check for version's
      if(version_in_range(version:refVer, test_version:"15.3", test_version2:"15.3.569.0") ||
         version_in_range(version:refVer, test_version:"15.4", test_version2:"15.4.327.0)") ||
         version_in_range(version:refVer, test_version:"7.2", test_version2:"7.2.1163") ||
         version_in_range(version:refVer, test_version:"14.1", test_version2:"14.1.1173"))
      {
        security_message(0);
        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