Skip to content
XSS Disclosed report Beginner

Reflected XSS on Zones > Invocation Code

The 'Close text' parameter in the Invocation Code section is vulnerable to reflected cross-site scripting, allowing an attacker to execute arbitrary JavaScript in a victim's browser. The report notes this may be treated as self-XSS, but argues the sensitive location could enable attacks such as phishing or credential theft if a user follows a malicious guide.

pavanw3b Follow

Originally disclosed on HackerOne

  • Triaged in 2 months
  • Fixed in 3 months
  • Disclosed after 9 months

"Cricetinae" :)

This report is similar to my earlier report: #170156.

Short Description

The Close text parameter in Inventory > Zone > Invocation Code is vulnerable to Cross-Site Scripting vulnerability.

Steps to Reproduce

  1. Logon or Work as an agent.
  2. Navigate to Inventory > Zones > Invocation Code. Create Websites & Zones records if empty.
  3. Enter [Close]something'/><script>alert(1);</script><span class='1 for Close text.
  4. Note the javascript alert box triggered from the payload entered above.

Chrome's default XSS Protection blocks simple XSS payloads. Please use firefox for reproduction or disable Chrome's security.

Vulnerability Details

Cross-Site Scripting issue let's one to run a javascript of choice. It helps most of the client side risks including but not limited to phishing, temporary deface, browser key-logger and others. Exploitation frameworks like BeEF eases the offensive attack.

Attack Vector

Though this may be treated as a Self-XSS, the place where the issue is affecting is sensitive. If the user who is going to set up the Revive Adserver, follows an untrusted malicious guide which contains specially crafted XSS payload, can help in gaining access to the database by tricking him to enter the credential in attacker's site by redirecting or any other way.

###Test Environment Details Version: Latest as on Oct 28: revive-adserver-4.0.0 downloaded from official website Setup type: local Browser: Firefox 47.0 OS: Mac OS X

Cheers, Pavan

The original report as published on HackerOne, by pavanw3b. 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

Impact

An attacker could run arbitrary JavaScript in the context of the ad server, potentially leading to phishing, temporary defacement, or keylogging, though the report acknowledges this may be treated as self-XSS and Chrome's default XSS protection blocks simple payloads.

What the attacker needed

Access to the ad server as an agent; victim enters the payload themselves; use Firefox or disable Chrome XSS protection

How it was found

  1. Log in or work as an agent.
  2. Navigate to Inventory > Zones > Invocation Code and create records if needed.
  3. Enter a crafted payload containing a script tag in the Close text field.
  4. Observe the JavaScript alert box triggered by the payload.

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 a flaw where a website inserts user input into a page without properly cleaning it, so an attacker can make the site run their JavaScript. Here, the 'Close text' field in the ad server's zone settings reflects a script back to the browser, which then executes. The report says this is mostly self-XSS because the victim must enter the payload themselves, but it could still be used to trick someone into giving up credentials.

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 pavanw3b

View all

8 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.