CVE-2008-2161

TFTP Server SP 1.4 and 1.5 - Remote Code Execution via Long TFTP Error Packet

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2008-2161. PoCs published by tixxDZ, tixxDZ, steponequit, including Metasploit module exploits/windows/tftp/opentftp_error_code.

AI-analyzed exploit summary This exploit targets a buffer overflow vulnerability in TFTPServer SP v1.4 by sending a maliciously crafted TFTP Error Packet. It overwrites the .bss section and patches the IAT to execute shellcode, achieving remote code execution.

Description

Buffer overflow in TFTP Server SP 1.4 and 1.5 on Windows, and possibly other versions, allows remote attackers to execute arbitrary code via a long TFTP error packet. NOTE: some of these details are obtained from third party information.

Exploits (2)

exploitdb WORKING POC VERIFIED
by tixxDZ · perlremotewindows
https://www.exploit-db.com/exploits/5563

This exploit targets a buffer overflow vulnerability in TFTPServer SP v1.4 by sending a maliciously crafted TFTP Error Packet. It overwrites the .bss section and patches the IAT to execute shellcode, achieving remote code execution.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: TFTPServer SP v1.4
No auth needed
Prerequisites: Network access to the target · TFTPServer SP v1.4 running on Windows
devstral-2 · analyzed Feb 16, 2026 Full analysis →
metasploit WORKING POC NORMAL
by tixxDZ, steponequit · rubypocwin
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/tftp/opentftp_error_code.rb

This Metasploit module exploits a buffer overflow in OpenTFTP Server SP 1.4 via a malformed TFTP error packet, leading to remote code execution under SYSTEM privileges. The exploit leverages a sprintf() vulnerability triggered by a crafted opcode (0x0005) to overwrite critical memory addresses.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: OpenTFTP Server SP 1.4
No auth needed
Prerequisites: Network access to UDP port 69 · OpenTFTP Server SP 1.4 running as a service or standalone
devstral-2 · analyzed Feb 19, 2026 Full analysis →

References (5)

Core 5
Core References
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/30147
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/42298
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/29111
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2008/1468/references
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/5563

Scores

EPSS 0.6528
EPSS Percentile 99.2%

Details

CWE
CWE-119
Status published
Products (2)
tftp/tftp_server_sp 1.4
tftp/tftp_server_sp 1.5
Published May 12, 2008
Tracked Since Feb 18, 2026