AzuraCast/AzuraCast vulnerable to cross-site scripting
A user with an existing AzuraCast account could set their display name to include malicious JavaScript, which would then run in the site header menu. If an administrator used the 'Log In As' feature to impersonate that user, the script could exfiltrate data.
azuracast/azuracast
Originally disclosed on huntr
AzuraCast/AzuraCast prior to version 0.18.0 is vulnerable to stored cross-site scripting. An issue was identified where a user who already had an AzuraCast account could update their display name to inject malicious JavaScript into the header menu of the site. In a majority of cases, this menu is only visible to the current logged-in user (pages like the Administer Users page are unaffected by this vulnerability), but if a higher-privileged administrator uses the Log In As feature to masquerade as a user, then the JavaScript injection could exfiltrate certain data. Anonymous members of the public cannot exploit this vulnerability in an AzuraCast installation, so it is primarily of concern for multi-tenant installations (i.e. resellers).
From the GitHub Advisory Database (GHSA-q55c-hmpf-6h2g, CC BY 4.0).
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
Likely the application did not properly sanitise or escape user-supplied display names before rendering them in the header menu.
Impact
The injected script could exfiltrate certain data when a higher-privileged administrator used the 'Log In As' feature, but anonymous users cannot exploit it and the menu is usually only visible to the logged-in user.
What the attacker needed
An existing AzuraCast account; admin uses 'Log In As' on the attacker
The fix
It was fixed in version 0.18.0.
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.
Stored cross-site scripting (XSS) happens when a website saves something a user typed, like a display name, and later shows it to someone else without making it safe. Here, a user could put JavaScript code in their display name, and when an administrator viewed the site as that user, the code would run in the administrator's browser and could steal information.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.