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.
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.
-
http://[ip]:8118/tickets/[ID]
-
POST
- /api/v1/tags/create
- Parameter : tag
- /api/v1/tags/create
- <iframe src="javascript:alert('Hello XSS by BYPAZS!')">
-
Trudesk version 1.2.6 (https://github.com/polonel/trudesk/releases/tag/v1.2.6)
-
Google Chrome Version 109.0.5414.119 (Official Build) (x86_64)
- Enter your username and password; the account must have some privileges such as user, support and admin privileges.
- Create a Tickets, enter information into the form provided and then click at create.
- Select the tickets that created and then click at edit tags.
- Enter the XSS payload in the Add Tags and Create Tag field.
- The XSS payload will run immediately.
Thapanarath Khempetch
- 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: