BIOS
ಠ‿ಠ
- Apr 25, 2012
- 906
- 247
The majority of Habbo retros I've looked at are vulnerable to a simple cross domain hijacking vulnerability due to Flash cross domain policy misconfigurations.
What does that mean?
Essentially if your users play multiple hotels, the other hotel can hijack their SSO token from your hotel, view or submit forms on any of your pages (i.e. housekeeping / account settings) authenticated as them in the background by simply visiting their site.
How do you know if you're vulnerable?
If your crossdomain.xml file looks like the following:
The fix?
At the very least, you should remove <allow-access-from domain="*" /> from your crossdomain.xml and replace it with config specific to your domain.
For example:
Lax but generally safe: <allow-access-from domain="*.habboon.pw" />
Strict: you can restrict it to a specific sub-domain, i.e. <allow-access-from domain="
This prevents other domains from reading your site via flash.
I won't be sharing the POC, don't ask.
More details on the topic can be found
What does that mean?
Essentially if your users play multiple hotels, the other hotel can hijack their SSO token from your hotel, view or submit forms on any of your pages (i.e. housekeeping / account settings) authenticated as them in the background by simply visiting their site.
You must be registered for see images attach
How do you know if you're vulnerable?
If your crossdomain.xml file looks like the following:
XML:
<cross-domain-policy>
<allow-access-from domain="*" />
</cross-domain-policy>
The fix?
At the very least, you should remove <allow-access-from domain="*" /> from your crossdomain.xml and replace it with config specific to your domain.
For example:
Lax but generally safe: <allow-access-from domain="*.habboon.pw" />
Strict: you can restrict it to a specific sub-domain, i.e. <allow-access-from domain="
You must be registered for see links
" />This prevents other domains from reading your site via flash.
I won't be sharing the POC, don't ask.
More details on the topic can be found
You must be registered for see links
.
Last edited: