https://polldaddy.com storage.swf XSS
A Flash file on polldaddy.com passed an unfiltered URL parameter into an ExternalInterface call, allowing script execution. An attacker could craft a link that runs JavaScript in the context of the polldaddy.com domain.
Originally disclosed on HackerOne
- Triaged in 3 days
- Fixed in 35 days
- Disclosed after 2 months
Hi,
I found a flash based XSS located here :
https://polldaddy.com/swf/storage.swf?onload=alert(1)
It happends in the ExternalInterface.Call Function, when a parameter is inserted unfiltered it will allow XSS, you can patch it by only allowing :
A-Z a-z 0-9
Best regards,
Olivier Beg
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 Flash file passed the onload parameter directly into ExternalInterface.Call without validating or restricting its characters.
Impact
An attacker could execute script in the polldaddy.com origin, though the report does not describe any further consequences.
What the attacker needed
Flash content is loaded
The fix
The parameter should be restricted to alphanumeric characters only.
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 Flash file is a small program that runs in the browser. It took a value from the web address and passed it to a browser function without checking it, so a crafted link could make the browser run attacker-supplied script on that site.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.