Heap-based buffer overflow in MaraDNS - CVE-2011-0520

 

Heap-based buffer overflow in MaraDNS - CVE-2011-0520

Published: January 28, 2011 / Updated: August 11, 2020


Vulnerability identifier: #VU45403
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2011-0520
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Sam Trenholme
Affected software:
MaraDNS

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in The compress_add_dlabel_points function in dns/Compress.c in MaraDNS 1.4.03, 1.4.05, and probably other versions. A remote attacker can use a long DNS hostname with a large number of labels to trigger heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


How to mitigate CVE-2011-0520

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

Sources