WWBN AVideo userLogin cancelUri parameter cross-site scripting (XSS) vulnerability
The userLogin page of AVideo echoes the cancelUri request parameter into an anchor's href attribute without proper sanitisation, so a crafted link can run arbitrary JavaScript in the victim's browser. An attacker could use this to act as the victim, including an administrator, if they are first logged out.
Originally disclosed on Cisco Talos
A cross-site scripting (xss) vulnerability exists in the userLogin cancelUri 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 cancelUri request parameter is validated only as a URL and then echoed directly into an HTML attribute without output encoding.
Impact
An attacker could execute arbitrary JavaScript in the victim's browser and perform actions such as compromising an administrator account, but the victim must be logged out first.
What the attacker needed
Victim is logged out of AVideo; victim clicks a crafted link
The fix
The parameter should be properly sanitised or encoded before being embedded into the page; the text notes a vendor patch release but does not describe it.
How it was found
- Log the victim out of AVideo by requesting the logoff endpoint.
- Send the victim to the userLogin page with a crafted cancelUri value.
- The page reflects the value into the cancel link and the script runs.
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 puts it straight into the page. Here the site put a link address into the page without cleaning it, so a link could carry hidden code that the browser runs. That code runs as the person who clicked, which is why an admin being tricked matters.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.