Simplenote Silverlight cross-domain policy misconfiguration
The Simplenote application publishes a Silverlight cross-domain policy that permits access from any domain. An attacker could host malicious content on any domain and, if a logged-in user visits it, potentially gain full access to the application in that user's security context.
- Disclosed after 33 days
The Simplenote application publishes a Silverlight cross-domain policy which allows access from any domain.
<allow-from http-request-headers="*">
<domain uri="http://*"/>
<domain uri="https://*"/>
</allow-from>
Allowing access from all domains means that any domain can perform two-way interaction with this application. This policy is likely to present a significant security risk.
If a user is logged in to the application, and visits a domain allowed by the policy (any domain, in this case), then any malicious content running on that domain can potentially gain full access to the application within the security context of the logged in user.
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 cross-domain policy file uses wildcards for both HTTP and HTTPS domains, allowing any origin to make two-way requests.
Impact
If a logged-in user visits a malicious domain, content there could potentially gain full access to the application within the user's security context.
What the attacker needed
Victim is logged in; victim visits a malicious domain
The fix
The policy should be restricted to specific trusted domains rather than allowing all domains.
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 cross-domain policy is a file that tells a browser plugin, here Silverlight, which other websites are allowed to talk to this site. Simplenote's file says every website is allowed, so a malicious page could quietly act as the logged-in user. This is like leaving your front door open to anyone who knocks.
What is CSRF?
Another site makes a signed-in user's browser perform an action they did not intend.