Thekelleys dnsmasq up to 2.32 tftp.c tftp_request memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.6 | $0-$5k | 0.00 |
Summary
A vulnerability categorized as critical has been discovered in Thekelleys dnsmasq up to 2.32. This vulnerability affects the function tftp_request of the file tftp.c. Such manipulation leads to memory corruption.
This vulnerability is listed as CVE-2009-2957. In addition, an exploit is available.
It is advisable to upgrade the affected component.
Details
A vulnerability was found in Thekelleys dnsmasq up to 2.32 (Domain Name Software). It has been rated as critical. Affected by this issue is the function tftp_request of the file tftp.c. The manipulation with an unknown input leads to a memory corruption vulnerability. Using CWE to declare the problem leads to CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. Impacted is confidentiality, integrity, and availability. CVE summarizes:
Heap-based buffer overflow in the tftp_request function in tftp.c in dnsmasq before 2.50, when --enable-tftp is used, might allow remote attackers to execute arbitrary code via a long filename in a TFTP packet, as demonstrated by a read (aka RRQ) request.
The weakness was presented 09/02/2009 by Core Security (Website). The advisory is available at securityfocus.com. This vulnerability is handled as CVE-2009-2957. The attack may be launched remotely. No form of authentication is required for exploitation. Technical details as well as a public exploit are known.
A public exploit has been developed by Core Security and been published 1 weeks after the advisory. The exploit is available at exploit-db.com. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 67918 (Oracle Linux 5 : dnsmasq (ELSA-2009-1238)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Oracle Linux Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 155834 (Oracle Enterprise Linux Update for dnsmasq (ELSA-2009-1238)).
Upgrading to version 2.33 eliminates this vulnerability. Attack attempts may be identified with Snort ID 1941. Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 12125.
The vulnerability is also documented in the databases at X-Force (52973), Exploit-DB (9617), Tenable (67918), SecurityFocus (BID 36121†) and Vulnerability Center (SBV-23391†). See VDB-49779 for similar entry. If you want to get best quality of vulnerability data, you may have to visit VulDB.
Product
Type
Vendor
Name
Version
- 2.0
- 2.1
- 2.2
- 2.3
- 2.4
- 2.5
- 2.6
- 2.7
- 2.8
- 2.9
- 2.10
- 2.11
- 2.12
- 2.13
- 2.14
- 2.15
- 2.16
- 2.17
- 2.18
- 2.19
- 2.20
- 2.21
- 2.22
- 2.23
- 2.24
- 2.25
- 2.26
- 2.27
- 2.28
- 2.29
- 2.30
- 2.31
- 2.32
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 6.6
VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Memory corruptionCWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Author: Core Security
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 67918
Nessus Name: Oracle Linux 5 : dnsmasq (ELSA-2009-1238)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍
OpenVAS ID: 64819
OpenVAS Name: Debian Security Advisory DSA 1876-1 (dnsmasq)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Exploit Delay Time: 🔍
Upgrade: dnsmasq 2.33
Snort ID: 1941
Snort Message: PROTOCOL-TFTP GET filename overflow attempt
Snort Class: 🔍
TippingPoint: 🔍
McAfee IPS: 🔍
McAfee IPS Version: 🔍
SourceFire IPS: 🔍
Fortigate IPS: 🔍
Timeline
08/24/2009 🔍08/31/2009 🔍
08/31/2009 🔍
09/02/2009 🔍
09/02/2009 🔍
09/06/2009 🔍
09/09/2009 🔍
09/09/2009 🔍
07/12/2013 🔍
03/18/2015 🔍
09/28/2025 🔍
Sources
Advisory: securityfocus.com⛔Researcher: Core Security
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2009-2957 (🔍)
GCVE (CVE): GCVE-0-2009-2957
GCVE (VulDB): GCVE-100-49778
OVAL: 🔍
X-Force: 52973
SecurityFocus: 36121 - Dnsmasq TFTP Service Remote Heap Buffer Overflow Vulnerability
Vulnerability Center: 23391 - Dnsmasq <2.50 with --enable-tftp Used tftp.c Heap-Based Buffer Overflow Allows Remote Code Execution, High
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 03/18/2015 15:15Updated: 09/28/2025 05:10
Changes: 03/18/2015 15:15 (72), 02/13/2017 15:27 (19), 08/20/2021 20:11 (4), 08/20/2021 20:19 (1), 09/28/2025 05:10 (14)
Complete: 🔍
Cache ID: 216::103
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.