Vulnerabilities > CVE-2006-2407 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in multiple products
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
Stack-based buffer overflow in (1) WeOnlyDo wodSSHServer ActiveX Component 1.2.7 and 1.3.3 DEMO, as used in other products including (2) FreeSSHd 1.0.9 and (3) freeFTPd 1.0.10, allows remote attackers to execute arbitrary code via a long key exchange algorithm string.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 1 | |
Application | 2 | |
Application | 1 |
Common Weakness Enumeration (CWE)
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
description freeSSHd <= 1.0.9 Key Exchange Algorithm Buffer Overflow Exploit. CVE-2006-2407. Remote exploit for windows platform id EDB-ID:1787 last seen 2016-01-31 modified 2006-05-15 published 2006-05-15 reporter Tauqeer Ahmad source https://www.exploit-db.com/download/1787/ title freeSSHd <= 1.0.9 Key Exchange Algorithm Buffer Overflow Exploit description FreeFTPd 1.0.10 Key Exchange Algorithm String Buffer Overflow. CVE-2006-2407. Remote exploit for windows platform id EDB-ID:16462 last seen 2016-02-01 modified 2010-05-09 published 2010-05-09 reporter metasploit source https://www.exploit-db.com/download/16462/ title FreeFTPd 1.0.10 Key Exchange Algorithm String Buffer Overflow description FreeSSHd 1.0.9 Key Exchange Algorithm String Buffer Overflow. CVE-2006-2407. Remote exploit for windows platform id EDB-ID:16461 last seen 2016-02-01 modified 2010-05-09 published 2010-05-09 reporter metasploit source https://www.exploit-db.com/download/16461/ title FreeSSHd 1.0.9 Key Exchange Algorithm String Buffer Overflow
Metasploit
description This module exploits a simple stack buffer overflow in FreeSSHd 1.0.9. This flaw is due to a buffer overflow error when handling a specially crafted key exchange algorithm string received from an SSH client. id MSF:EXPLOIT/WINDOWS/SSH/FREESSHD_KEY_EXCHANGE last seen 2020-06-12 modified 2017-07-24 published 2006-10-10 references https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-2407 reporter Rapid7 source https://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/windows/ssh/freesshd_key_exchange.rb title FreeSSHd 1.0.9 Key Exchange Algorithm String Buffer Overflow description This module exploits a simple stack buffer overflow in FreeFTPd 1.0.10 This flaw is due to a buffer overflow error when handling a specially crafted key exchange algorithm string received from an SSH client. This module is based on MC's freesshd_key_exchange exploit. id MSF:EXPLOIT/WINDOWS/SSH/FREEFTPD_KEY_EXCHANGE last seen 2020-05-22 modified 2017-07-24 published 2009-12-02 references https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-2407 reporter Rapid7 source https://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/windows/ssh/freeftpd_key_exchange.rb title FreeFTPd 1.0.10 Key Exchange Algorithm String Buffer Overflow
Nessus
NASL family | Gain a shell remotely |
NASL id | FREESSHD_KEY_EXCHANGE_OVERFLOW.NASL |
description | The remote host is using freeSSHd, a free SSH server for Windows. The version of freeSSHd installed on the remote host does not validate the key exchange strings sent by a SSH client. This can result in a buffer overflow and possibly a compromise of the host if an unauthenticated attacker sends a long key exchange string. |
last seen | 2020-06-01 |
modified | 2020-06-02 |
plugin id | 21580 |
published | 2006-05-22 |
reporter | This script is Copyright (C) 2006-2018 Ferdy Riphagen |
source | https://www.tenable.com/plugins/nessus/21580 |
title | freeSSHd Key Exchange Algorithm String Remote Overflow |
code |
|
Packetstorm
data source https://packetstormsecurity.com/files/download/83202/freeftpd_key_exchange.rb.txt id PACKETSTORM:83202 last seen 2016-12-05 published 2009-11-26 reporter riaf source https://packetstormsecurity.com/files/83202/FreeFTPd-1.0.10-Key-Exchange-Algorithm-String-Buffer-Overflow.html title FreeFTPd 1.0.10 Key Exchange Algorithm String Buffer Overflow data source https://packetstormsecurity.com/files/download/83007/freesshd_key_exchange.rb.txt id PACKETSTORM:83007 last seen 2016-12-05 published 2009-11-26 reporter MC source https://packetstormsecurity.com/files/83007/FreeSSHd-1.0.9-Key-Exchange-Algorithm-String-Buffer-Overflow.html title FreeSSHd 1.0.9 Key Exchange Algorithm String Buffer Overflow
Saint
bid | 17958 |
description | FreeSSHd key exchange buffer overflow |
id | shell_ssh_wod |
osvdb | 25463 |
title | freesshd |
type | remote |
References
- http://marc.info/?l=full-disclosure&m=114764338702488&w=2
- http://marc.info/?l=full-disclosure&m=114764338702488&w=2
- http://secunia.com/advisories/19845
- http://secunia.com/advisories/19845
- http://secunia.com/advisories/19846
- http://secunia.com/advisories/19846
- http://secunia.com/advisories/20136
- http://secunia.com/advisories/20136
- http://securityreason.com/securityalert/901
- http://securityreason.com/securityalert/901
- http://www.kb.cert.org/vuls/id/477960
- http://www.kb.cert.org/vuls/id/477960
- http://www.osvdb.org/25463
- http://www.osvdb.org/25463
- http://www.osvdb.org/25569
- http://www.osvdb.org/25569
- http://www.securityfocus.com/archive/1/434007/100/0/threaded
- http://www.securityfocus.com/archive/1/434007/100/0/threaded
- http://www.securityfocus.com/archive/1/434038/100/0/threaded
- http://www.securityfocus.com/archive/1/434038/100/0/threaded
- http://www.securityfocus.com/archive/1/434402/100/0/threaded
- http://www.securityfocus.com/archive/1/434402/100/0/threaded
- http://www.securityfocus.com/archive/1/434415/100/0/threaded
- http://www.securityfocus.com/archive/1/434415/100/0/threaded
- http://www.securityfocus.com/archive/1/434415/30/4920/threaded
- http://www.securityfocus.com/archive/1/434415/30/4920/threaded
- http://www.securityfocus.com/bid/17958
- http://www.securityfocus.com/bid/17958
- http://www.vupen.com/english/advisories/2006/1785
- http://www.vupen.com/english/advisories/2006/1785
- http://www.vupen.com/english/advisories/2006/1786
- http://www.vupen.com/english/advisories/2006/1786
- http://www.vupen.com/english/advisories/2006/1842
- http://www.vupen.com/english/advisories/2006/1842
- https://exchange.xforce.ibmcloud.com/vulnerabilities/26442
- https://exchange.xforce.ibmcloud.com/vulnerabilities/26442