Revive Adserver · Report #1187820
Reflected XSS on /admin/stats.php
Validstatus
mediumseverity
12upvotes
3 Jun 2021disclosed
How it was found
Hi, Security Team!
Linked to the reports:
In the past reports, we have corrected Reflected XSS. But recently it turned out that with the parameter breakdown = affiliates, this vulnerability still works. (Fixed when parameter breakdown = history).
- Go to
http://revive-adserver.loc/admin/stats.php?entity=global&breakdown=affiliates&statsBreakdown=day%27%20onclick=alert(document.domain)%20accesskey=X%20 - For the payload to be executed, the user needs to press the access key combination for the hidden input field (for Firefox, Alt+Shift+X, see this for other browsers).
{F1292520}
{F1292519}
Impact
With this vulnerability, an attacker can for example steal users cookies or redirect users on malicious website.