PT-2009-1001 · Simon Kelley+1 · Dnsmasq+1

Alberto Soliato Testa

+5

·

Published

2009-08-31

·

Updated

2017-09-19

·

CVE-2009-2957

CVSS v2.0

6.8

Medium

VectorAV:N/AC:M/Au:N/C:P/I:P/A:P
Name of the Vulnerable Software and Affected Versions dnsmasq versions prior to 2.50
Description The issue is related to a heap-based buffer overflow in the tftp request function in tftp.c, which might allow remote attackers to execute arbitrary code via a long filename in a TFTP packet, such as a read (RRQ) request. This can be exploited when the --enable-tftp option is used. The vulnerability can lead to disruption of confidentiality, integrity, and availability of protected information. Exploitation can be done remotely.
Recommendations For dnsmasq versions prior to 2.50, update to version 2.50 or later to resolve the issue. As a temporary workaround, consider disabling the tftp request function or the --enable-tftp option until a patch is available. Restrict access to the TFTP service to minimize the risk of exploitation.

Exploit

Fix

RCE

Buffer Overflow

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2015-00414
BDU:2015-06168
BDU:2015-08541
CVE-2009-2957
DSA-1876-1
RHSA-2009:1238
RHSA-2009_1238

Affected Products

Red Hat
Dnsmasq