WWBN AVideo videosList page parameter cross-site scripting (XSS) vulnerability
The videosList page in AVideo embeds the page request parameter directly into an inline onclick handler without sanitisation, so a crafted link runs attacker-supplied JavaScript in the victim's browser. An attacker could use this to perform actions as the victim, including compromising an administrator account.
Originally disclosed on Cisco Talos
A cross-site scripting (xss) vulnerability exists in the videosList page parameter functionality of WWBN AVideo 14.4 and dev master commit 8a8954ff. A specially crafted HTTP request can lead to arbitrary Javascript execution.
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 page parameter is echoed into an inline JavaScript onclick handler without encoding or validation.
Impact
An attacker who gets a user, potentially an administrator, to open a crafted link could execute arbitrary JavaScript in that user's session and carry out actions on their behalf.
What the attacker needed
Victim clicks a crafted link; channelName parameter set
The fix
The page parameter should be validated as a number and safely encoded before being output into the page.
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.
A web page sometimes takes a value from the address bar and writes it straight into the page's code. Here the page number is placed inside a button's click handler, so a link can smuggle in extra JavaScript that runs when the page loads. That lets an attacker act as whoever opens the link, such as an admin.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.