Skip to content
XSS Disclosed report Beginner CVE-2021-22888

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.

solov9ev Follow

Originally disclosed on HackerOne

  • 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

_________________2021-02-07_22-49-17.png
_________________2021-02-07_22-49-17.png From the original on HackerOne

Rendered response from server:

_________________2021-02-07_22-52-58.png
_________________2021-02-07_22-52-58.png From the original on HackerOne

Impact

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

The original report as published on HackerOne, by solov9ev. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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.

More by solov9ev

View all

10 more disclosed reports, best first.

More from Revive Adserver

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.