Cross-site scripting in Webmin - CVE-2017-9313
Published: July 3, 2017
Webmin
Detailed vulnerability description
Vulnerability allows a remote attacker to perform Cross-site scripting attacks.
An input validation error exists when processing user-supplied input passed via "referers" HTTP GET parameter to "/webmin/change_referers.cgi" script. A remote authenticated attacker can trick the victim to follow a specially specially crafted link and execute arbitrary HTML and script code in victim's browser in security context of vulnerable website.
Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.
Exploitation example:
https://[host]:10000/webmin/change_referers.cgi?referer=0&referers=<script>alert('xss')</script>