# Exploit Title: ICOGenie 1.0 - Stored XSS
# Exploit Author: CraCkEr
# Date: 12/07/2023
# Vendor: Bug Finder
# Vendor Homepage: https://bugfinder.net/
# Software Link: https://bugfinder.net/product/icogenie-advanced-token-offering-script/21
# Tested on: Windows 10 Pro
# Impact: Manipulate the content of the site


## Description

Allow Attacker to inject malicious code into website, give ability to steal sensitive
information, manipulate data, and launch additional attacks.



Path: /icogenie/user/ticket/create

POST parameter 'message' is vulnerable to XSS

-----------------------------------------------------------
POST /icogenie/user/ticket/create HTTP/2

Content-Disposition: form-data; name="message"

<script>alert(1)</script>
-----------------------------------------------------------



## Steps to Reproduce:


1. Login as (Normal User)
2. Go to [Support Ticket] on this Path: https://website/icogenie/user/ticket
3. Click on [Create Ticket] on this Path: https://website/icogenie/user/ticket/create
4. Enter Any Subject
5. Inject your XSS Payload in [Message Box]
6. Click on [Submit]

7. When ADMIN visit [SUPPORT TICKETS] on this Path: https://website/icogenie/admin/tickets and Open the [New Pending Ticket]
8. XSS Will Fire and Executed on his Browser



[-] Done