Lucene search
K

Memcached Denial of service vulnerability

🗓️ 23 Apr 2010 00:00:00Reported by Copyright (C) 2010 SecPodType 
openvas
 openvas
🔗 plugins.openvas.org👁 19 Views

Memcached Denial of service vulnerability. Successful exploitation allows attacker to cause a denial of service. The host is running Memcached and is prone to Denial of Service vulnerability

Related
Refs
Code
###############################################################################
# OpenVAS Vulnerability Test
# $Id: secpod_memcached_dos_vuln.nasl 5394 2017-02-22 09:22:42Z teissa $
#
# Memcached Denial of service vulnerability
#
# Authors:
# Sooraj KS <[email protected]>
#
# Copyright:
# Copyright (c) 2010 SecPod, http://www.secpod.com
#
# 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 attacker to cause a denial of service.
  Impact Level: Application";
tag_affected = "Memcached 1.4.2 and prior";
tag_insight = "The flaw is due to error in try_read_command() function that allows attacker
  to temporarily hang or potentially crash the server by sending an overly
  large number of bytes.";
tag_solution = "Upgrade to the latest version of Memcached 1.4.3 or later,
  For updates refer to http://memcached.org";
tag_summary = "The host is running Memcached and is prone to Denial of Service
  vulnerability.";

if(description)
{
  script_id(901103);
  script_version("$Revision: 5394 $");
  script_tag(name:"last_modification", value:"$Date: 2017-02-22 10:22:42 +0100 (Wed, 22 Feb 2017) $");
  script_tag(name:"creation_date", value:"2010-04-23 17:57:39 +0200 (Fri, 23 Apr 2010)");
  script_cve_id("CVE-2010-1152");
  script_tag(name:"cvss_base", value:"5.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:P");
  script_name("Memcached Denial of service vulnerability");
  script_xref(name : "URL" , value : "http://secunia.com/advisories/39306");
  script_xref(name : "URL" , value : "http://code.google.com/p/memcached/issues/detail?id=102");

  script_tag(name:"qod_type", value:"remote_banner");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2010 SecPod");
  script_family("Denial of Service");
  script_dependencies("gb_memcached_detect.nasl");
  script_require_keys("MemCached/Ver");
  script_tag(name : "impact" , value : tag_impact);
  script_tag(name : "affected" , value : tag_affected);
  script_tag(name : "insight" , value : tag_insight);
  script_tag(name : "solution" , value : tag_solution);
  script_tag(name : "summary" , value : tag_summary);
  exit(0);
}


include("version_func.inc");

memPort = 11211;
if(!get_port_state(memPort)){
  exit(0);
}

memVer = get_kb_item("MemCached/Ver");
if(memVer == NULL){
  exit(0);
}

## Grep for Memcached version prior to 1.4.3
if(version_is_less(version:memVer, test_version:"1.4.3")){
  security_message(memPort);
}

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