WWBN AVideo functiongetOpenGraph videoName cross-site scripting (XSS) vulnerability
The videoName parameter in functiongetOpenGraph.php is not sanitised and is echoed into an HTML comment, allowing reflected cross-site scripting. An attacker could trick a user into visiting a crafted link to execute arbitrary JavaScript, potentially taking over an administrator account.
Originally disclosed on Cisco Talos
A cross-site scripting (xss) vulnerability exists in the functiongetOpenGraph videoName functionality of WWBN AVideo 11.6 and dev master commit 3c6bb3ff. 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 application echoes the user-supplied videoName parameter directly into an HTML comment without sanitisation or encoding.
Impact
An attacker could execute arbitrary JavaScript in a victim's browser, potentially leading to administrator account takeover.
What the attacker needed
Victim clicks a crafted link; no authentication required
The fix
The vulnerability was fixed by the vendor in a patch released on 2023-12-15.
How it was found
- Craft a URL to functiongetOpenGraph.php with a videoName parameter that closes the HTML comment and injects a script tag.
- Send the crafted URL to a victim, such as an administrator, and convince them to click it.
- The victim's browser executes the injected JavaScript.
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 on a page without cleaning it, so an attacker can make the page run their own JavaScript. Here, the videoName value from the URL is placed inside an HTML comment, but an attacker can close the comment and add a script tag. If an administrator clicks a malicious link, the script runs in their browser and can steal their session.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.