Skip to content

Use of XMLHTTPRequest by the beef hook triggers same origin policy in IE and Chrome #215

@passbe

Description

@passbe

What steps will reproduce the problem?

  1. Run an instance of beef on beef-domain.com
  2. Create a hook page on pwned-domain.com and browse there with IE or Chrome
  3. 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions