WWBN AVideo image403 cross-site scripting (XSS) vulnerability
The image403.php page in AVideo reflects the 403ErrorMsg request parameter into the HTML without sanitisation, allowing an attacker to inject JavaScript. An attacker could trick an authenticated user, including an administrator, into clicking a crafted link to execute arbitrary script in their browser.
Originally disclosed on Cisco Talos
A cross-site scripting (xss) vulnerability exists in the image403 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 application echoes the user-supplied 403ErrorMsg parameter directly into the HTML response without encoding or sanitisation.
Impact
An attacker could execute arbitrary JavaScript in an authenticated user's browser, potentially leading to administrator account takeover.
What the attacker needed
Victim clicks a crafted link; victim is authenticated (for worst-case impact)
The fix
The vendor confirms the issue was fixed on July 7th 2022.
How it was found
- Craft a URL to image403.php with a 403ErrorMsg parameter containing a script payload.
- Send the crafted request (e.g., via curl) to the vulnerable endpoint.
- The server reflects the unsanitised payload in the response, executing the script in the victim'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 when a website takes input from a user and puts it into a page without cleaning it, so an attacker can make the page run their own JavaScript. Here, the error page for '403 Forbidden' shows a message from the URL directly, so a link can contain a script that runs in the victim's browser. The attacker needs the victim to click a specially crafted link.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.