WWBN AVideo videoAddNew cross-site scripting (XSS) vulnerability
A stored cross-site scripting vulnerability exists in AVideo's video title handling, allowing an authenticated user to inject JavaScript that executes when other users view the video list. An attacker could use this to take over an administrator account.
Originally disclosed on Cisco Talos
A cross-site scripting (xss) vulnerability exists in the videoAddNew functionality of WWBN AVideo 11.6 and dev master commit 3f7c0364. 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 video title is stored without proper sanitisation and later inserted directly into HTML without escaping when rendering the video list.
Impact
An attacker could execute arbitrary JavaScript in the context of other users, potentially leading to administrator account takeover, though user interaction is required.
What the attacker needed
Authenticated user with video upload permissions; victim visits a page showing the video list
The fix
The vendor fixed the issue on July 7th 2022.
How it was found
- Log in as a user with video upload permissions.
- Send a POST request to objects/videoAddNew.json.php with a videoLink to import a video.
- Send another POST request to the same endpoint with an id and a title containing an XSS payload.
- Visit the video page (e.g., /video/135) to trigger the stored XSS.
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 displays user input without cleaning it, so an attacker can sneak in JavaScript code that runs in other people's browsers. Here, a user can set a video title containing code, and when anyone views the video list, that code runs. This could let an attacker steal login 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.