Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2023-49976 PoC — Customer Support System 跨站脚本漏洞

Source
Associated Vulnerability
Title:Customer Support System 跨站脚本漏洞 (CVE-2023-49976)
Description:Customer Support System是oretnom23个人开发者的一个客户支持系统,可以帮助某个企业或公司在客户从他们那里购买产品后提供客户支持。 Customer Support System v1版本存在跨站脚本漏洞,该漏洞源于允许攻击者通过customer_support/index.php中的 subject参数注入精心设计的有效负载来执行任意 Web 脚本或 HTML。
Description
 Customer Support System 1.0 is vulnerable to stored XSS. A XSS vulnerability exists in version 1 of the Customer Support System. A malicious actor can insert JavaScript code through the "subject" field when editing/creating a ticket. 
Readme
# CVE-2023-49976
# Customer Support System 1.0 - (XSS) Cross-Site Scripting Vulnerability in the "subject" at "ticket_list"

**Description**: Customer Support System 1.0 is vulnerable to stored XSS. A XSS vulnerability exists in version 1 of the Customer Support System. A malicious actor can insert JavaScript code through the "subject" field when editing/creating a ticket. The code is executed whenever the page "/customer_support/index.php?page=ticket_list" is visited.  

**Vulnerable Product Version**: Customer Support System 1.0  
**CVE Author**: Geraldo Alcântara  
**Date**: 28/11/2023  
**Confirmed on**: 19/12/2023  
**CVE**: CVE-2023-49976  
**Tested on**: Windows  
### Steps to reproduce:  
1. Log in to the application.  
2. Visit the ticket creation/editing page.
3. Create/Edit a ticket and insert the malicious payload into the "subject" field/parameter.
4. Payload:
```
<dt/><b/><script>alert(document.domain)</script>
```     

Saving the ticket and injecting the payload.  

![xss01](https://github.com/geraldoalcantara/xss-ticket-Customer_Support_System/assets/152064551/0ed1719d-4683-4a49-9e36-c7afd9b3c6f1)   

Visiting the ticket listings page, successful execution of the attack.  
<div align="center">
  <img src="https://github.com/geraldoalcantara/xss-ticket-Customer_Support_System/assets/152064551/ef710f8a-f03d-4ae8-bd89-f02309940141" alt="xss03">
  <img src="https://github.com/geraldoalcantara/xss-ticket-Customer_Support_System/assets/152064551/67533fdd-14fc-4440-9187-37d002e13821" alt="xss03">
</div>

Discoverer(s)/Credits:  
Geraldo Alcântara  
File Snapshot

[4.0K] /data/pocs/3d5b0eac1a5e6fade2b7c1867ac0f595426897ab └── [1.6K] README.md 0 directories, 1 file
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.