-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
The Web Application Hacker's Handbook
By :
The same-origin policy is designed to prevent code running on one domain from accessing content delivered from a different domain. This is why cross-site request forgery attacks are often described as “one-way” attacks. Although one domain may cause requests to a different domain, it may not easily read the responses from those requests to steal the user's data from a different domain.
In fact, various techniques can be used in some situations to capture all or part of a response from a different domain. These attacks typically exploit some aspect of the target application's functionality together with some feature of popular browsers to allow cross-domain data capture in a way that the same-origin policy is intended to prevent.
Many applications contain functionality that allows an attacker to inject some limited HTML into a response that is received by a different user in a way that falls short of...
Change the font size
Change margin width
Change background colour