Skip to content
XSS Advisory Beginner CVE-2023-47861

WWBN AVideo channelBody.php user name cross-site scripting (XSS) vulnerability

The user name field in AVideo's channel page is not properly sanitised, allowing an attacker to inject JavaScript through an attribute in an image tag. An attacker could execute arbitrary JavaScript in a victim's browser, potentially taking over an administrator account.

Claudio Bozzato Follow

Originally disclosed on Cisco Talos

Critical 9.0 View original

A cross-site scripting (xss) vulnerability exists in the channelBody.php user name functionality of WWBN AVideo 11.6 and dev master commit 15fed957fb. 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

Impact

An attacker could execute arbitrary JavaScript in a victim's browser and, in the worst case, take over an administrator account by tricking the administrator into visiting the attacker's channel.

What the attacker needed

A user account; victim visits attacker's channel page

How it was found

  1. Log in as a user and update the profile name to a value that breaks out of the image alt attribute and adds an onload handler.
  2. Send the profile update request to the userUpdate endpoint with the crafted name.
  3. Trick an administrator into visiting the attacker's channel page using the user id as the channelName parameter.
  4. The JavaScript in the onload handler executes in the administrator's 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 a flaw where a website shows user-supplied text without making it safe, so a malicious user can sneak in code that runs in other people's browsers. Here, the user name is placed inside an image tag, and by breaking out of the attribute an attacker can add an event handler that runs JavaScript when the image loads. Anyone who views the attacker's channel page runs that code.

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.