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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2023-26982 PoC — Chris Brame Trudesk 跨站脚本漏洞

Source
Associated Vulnerability
Title:Chris Brame Trudesk 跨站脚本漏洞 (CVE-2023-26982)
Description:Chris Brame Trudesk是美国Chris Brame公司的一个开源帮助台/票务解决方案。 Trudesk 1.2.6版本存在安全漏洞,该漏洞源于通过Add Tags参数发现包含存储型跨站脚本 (XSS) 漏洞。
Description
Trudesk v1.2.6 was discovered to contain a stored cross-site scripting (XSS) vulnerability via the Add Tags parameter under the Create Ticket function.
Readme
# CVE-2023-26982

### Vulnerability Explanation:
Trudesk v1.2.6 was discovered to contain a stored cross-site scripting (XSS) vulnerability via the Add Tags parameter under the Create Ticket function.

### Attack Vectors:
The attacker must create some ticket and then edit tags in the ticket and insert the XSS payload at the Add Tags input, Create Tag in order to exploit the stored XSS. The XSS payload will be launched immediately after save.

### Affected: 
- http://[ip]:8118/tickets/[ID]

- POST 
  - /api/v1/tags/create
    - Parameter : tag

### Payload :
- <iframe src="javascript:alert('Hello XSS by BYPAZS!')">

### Tested on: 
1. Trudesk version 1.2.6 (https://github.com/polonel/trudesk/releases/tag/v1.2.6)

2. Google Chrome Version 109.0.5414.119 (Official Build) (x86_64)

### Steps to attack:
1. Enter your username and password; the account must have some privileges such as user, support and admin privileges.
2. Create a Tickets, enter information into the form provided and then click at create.
3. Select the tickets that created and then click at edit tags.
4. Enter the XSS payload in the Add Tags and Create Tag field.
5. The XSS payload will run immediately.

### Discoverer:
:shipit: Thapanarath Khempetch

### Disclosure Timeline:
- 2023–02–15: Vulnerability discovered.
- 2023–02–15: Vulnerability reported to the MITRE corporation.
- 2023–03–29: CVE has been reserved.
- 2023–03–29: Public disclosure of the vulnerability.

Reference:

1. 

2.

3. https://github.com/polonel/trudesk/releases/tag/v1.2.6

4. https://trudesk.io/ 
File Snapshot

[4.0K] /data/pocs/240dbef2b78c089345e39c2e9c1706f5ffa7a7f0 └── [1.5K] 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.