Lucene search
+L

Memcached < 1.4.33 Multiple RCE Vulnerabilities

🗓️ 02 Nov 2016 00:00:00Reported by Copyright (C) 2016 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 98 Views

Memcached < 1.4.33 RCE Vulnerabilities, integer overflow exploit

Related
Refs
Code
# SPDX-FileCopyrightText: 2016 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only

CPE = "cpe:/a:memcached:memcached";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.140042");
  script_version("2024-06-28T15:38:46+0000");
  script_cve_id("CVE-2016-8704", "CVE-2016-8705", "CVE-2016-8706");
  script_tag(name:"cvss_base", value:"7.5");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:P");
  script_tag(name:"last_modification", value:"2024-06-28 15:38:46 +0000 (Fri, 28 Jun 2024)");
  script_tag(name:"severity_vector", value:"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2018-01-05 02:31:00 +0000 (Fri, 05 Jan 2018)");
  script_tag(name:"creation_date", value:"2016-11-02 14:57:47 +0100 (Wed, 02 Nov 2016)");
  script_name("Memcached < 1.4.33 Multiple RCE Vulnerabilities");
  script_xref(name:"URL", value:"https://github.com/memcached/memcached/wiki/ReleaseNotes1433");
  script_xref(name:"URL", value:"http://blog.talosintel.com/2016/10/memcached-vulnerabilities.html");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2016 Greenbone AG");
  script_family("General");
  script_dependencies("gb_memcached_detect.nasl", "gb_memcached_detect_udp.nasl");
  script_mandatory_keys("memcached/detected");

  script_tag(name:"affected", value:"Memcached prior to 1.4.33.");

  script_tag(name:"insight", value:"These vulnerabilities manifest in various Memcached functions that are
  used in inserting, appending, prepending, or modifying key-value data pairs. Systems which also have
  Memcached compiled with support for SASL authentication are also vulnerable to a third flaw due to how
  Memcached handles SASL authentication commands.");

  script_tag(name:"solution", value:"Update to Memcached 1.4.33 or later.");

  script_tag(name:"summary", value:"Multiple integer overflow vulnerabilities exist within Memcached
  that could be exploited to achieve remote code execution (RCE) on the targeted system.");

  script_tag(name:"qod_type", value:"remote_banner_unreliable");
  script_tag(name:"solution_type", value:"VendorFix");

  exit(0);
}

include("version_func.inc");
include("host_details.inc");

if( ! port = get_app_port( cpe:CPE ) )
  exit( 0 );

if( ! infos = get_app_version_and_proto( cpe:CPE, port:port ) )
  exit( 0 );

vers = infos["version"];
proto = infos["proto"];

if( version_is_less( version:vers, test_version:"1.4.33" ) ) {
  report = report_fixed_ver( installed_version:vers, fixed_version:"1.4.33" );
  security_message( port:port, proto:proto, data:report );
  exit( 0 );
}

exit( 99 );

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

28 Jun 2024 00:00Current
9.7High risk
Vulners AI Score9.7
CVSS 27.5
CVSS 39.8
EPSS0.45703
98