Skip to content
XSS Advisory Beginner CVE-2022-32770CVE-2022-32772CVE-2022-32771

WWBN AVideo footer alerts cross-site scripting (XSS) vulnerability

The footer alerts functionality in AVideo does not properly sanitise the msg, success, and toast parameters, allowing an attacker to inject JavaScript. An attacker could trick an authenticated user into clicking a crafted link to execute arbitrary JavaScript, potentially taking over an administrator account.

Claudio Bozzato Follow

Originally disclosed on Cisco Talos

Critical 9.6 View original

A cross-site scripting (xss) vulnerability exists in the footer alerts functionality of WWBN AVideo 11.6 and dev master commit 3f7c0364. A specially-crafted HTTP request can lead to arbitrary Javascript execution.

Claudio Bozzato, on Cisco Talos

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

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

The application only replaces double quotes in the msg, success, and toast parameters but does not prevent closing the script tag, allowing injection of arbitrary JavaScript.

Impact

An attacker could execute arbitrary JavaScript in the context of an authenticated user, potentially leading to account takeover, including administrator accounts.

What the attacker needed

Victim clicks a crafted link; victim is authenticated

The fix

The vendor fixed the issues on July 7th 2022.

How it was found

  1. Craft a URL with a malicious payload in the msg parameter that closes the script tag and opens a new one.
  2. Send the crafted URL to an authenticated user.
  3. The user clicks the link, and the injected JavaScript executes in their browser.

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 takes input from a user and puts it into a page without cleaning it, so an attacker can make the page run their own JavaScript. Here, the msg, success, and toast parameters are placed into a script tag without proper cleaning, so an attacker can break out of the script and run any code. This could let them steal cookies or perform actions as the victim.

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 Claudio Bozzato

View all

185 more disclosed reports, best first.

More from Cisco Talos

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.