Vulnerabilities > CVE-2008-2161 - Buffer Errors vulnerability in Tftp Server SP 1.4/1.5

047910
CVSS 10.0 - CRITICAL
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
COMPLETE
Integrity impact
COMPLETE
Availability impact
COMPLETE
network
low complexity
microsoft
tftp
CWE-119
critical
exploit available
metasploit

Summary

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.

Vulnerable Configurations

Part Description Count
OS
Microsoft
1
Application
Tftp
2

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.

Exploit-Db

descriptionTFTP Server for Windows 1.4 ST Remote BSS Overflow Exploit. CVE-2008-2161. Remote exploit for windows platform
fileexploits/windows/remote/5563.pl
idEDB-ID:5563
last seen2016-01-31
modified2008-05-08
platformwindows
port69
published2008-05-08
reportertixxDZ
sourcehttps://www.exploit-db.com/download/5563/
titleTFTP Server for Windows 1.4 - ST Remote BSS Overflow Exploit
typeremote

Metasploit

descriptionThis module exploits a buffer overflow in OpenTFTP Server SP 1.4. The vulnerable condition triggers when the TFTP opcode is configured as an error packet, the TFTP service will then format the message using a sprintf() function, which causes an overflow, therefore allowing remote code execution under the context of SYSTEM. The offset (to EIP) is specific to how the TFTP was started (as a 'Stand Alone', or 'Service'). By default the target is set to 'Service' because that's the default configuration during OpenTFTP Server SP 1.4's installation.
idMSF:EXPLOIT/WINDOWS/TFTP/OPENTFTP_ERROR_CODE
last seen2020-06-14
modified2017-07-24
published2011-12-22
references
reporterRapid7
sourcehttps://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/windows/tftp/opentftp_error_code.rb
titleOpenTFTP SP 1.4 Error Packet Overflow

Packetstorm

data sourcehttps://packetstormsecurity.com/files/download/108142/opentftp_error_code.rb.txt
idPACKETSTORM:108142
last seen2016-12-05
published2011-12-24
reportertixxDZ
sourcehttps://packetstormsecurity.com/files/108142/OpenTFTP-SP-1.4-Error-Packet-Overflow.html
titleOpenTFTP SP 1.4 Error Packet Overflow

Saint

bid29111
descriptionTFTP Server error packet buffer overflow
idftp_tftpserverver
osvdb44904
titletftp_server_error_packet
typeremote