What steps will reproduce the problem?
- Run an instance of beef on beef-domain.com
- Create a hook page on pwned-domain.com and browse there with IE or Chrome
- Since the domains are different, and the beef hook is attempting to retrieve information from said different domain using XMLHTTPRequest, it triggers same origin policy on IE and Chrome. Also the init script fails in firefox.
Browser Errors:
Chrome:
XMLHttpRequest cannot load http://beef-domain/init. Origin http://pwned-domain is not allowed by Access-Control-Allow-Origin.
IE:
Access Denied Error
Google Code Issue: http://code.google.com/p/beef/issues/detail?id=197
What steps will reproduce the problem?
Browser Errors:
Chrome:
XMLHttpRequest cannot load http://beef-domain/init. Origin http://pwned-domain is not allowed by Access-Control-Allow-Origin.
IE:
Access Denied Error
Google Code Issue: http://code.google.com/p/beef/issues/detail?id=197