Reflected XSS on /admin/campaign-zone-zones.php
A reflected cross-site scripting flaw existed in the admin campaign zone page, where the status parameter was echoed into the response without proper encoding. An attacker could execute arbitrary script in an administrator's browser, potentially stealing cookies or redirecting the victim.
- Triaged in 19 hours
- Fixed in 37 hours
- Disclosed after 37 days
I found a reflected XSS attack on /admin/campaign-zone-zones.php.
Revive-Adserver version is revive-adserver-5.1.1.
-
Go to
http://revive-adserver.loc/admin/campaign-zone-zones.php?_=&clientid=1&campaignid=1&status=available%22%3E%3Cimg%20src=1%20onerror=alert(document.domain)%3E&text= -
Malicious code executed

Rendered response from server:

Impact
With this vulnerability, an attacker can for example steal users cookies or redirect users on malicious website.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the status parameter was reflected into the HTML response without output encoding.
Impact
An attacker could steal users' cookies or redirect them to a malicious website.
What the attacker needed
Victim clicks a crafted link; victim is logged in to the admin panel
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Cross-site scripting (XSS) is when a website puts user-supplied text into a page without making it safe, so a browser runs it as code. Here the page took a value from the web address and placed it straight into the HTML, so a crafted link could run a script in the victim's browser. The attacker needs the victim to open a specially made link.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.