Published May 21, 2007 | https://doi.org/10.59348/g5rvx-tmr98

Bypassing Same Origin Policy using Mash-Ups

Creators & Contributors

GNUCITIZEN has been going on about this for some time now, but the truly devastating impact of what he has been saying only actually hit me today when reading about his JavaScript interface to Johnny's Google Hacking Database.

The scenario is as follows. The interface contains NO SERVER SIDE SCRIPTS and no iframes or other such methods for loading offsite data but instead utilises the JSON data format to include remote script files. GC's example uses Dapper to perform the remote data retrieval in JSON format and then loads it into a script tag. For example:

	<script src="http://www.dapper.net/transform.php?dappName=GoogleHackingDatabaseCategoriesReader&amp;transformer=JSON&amp;

	extraArg_callbackFunctionWrapper=json_1179755998729&amp;applyToUrl=http%3A%2F%2Fjohnny.ihackstuff.com%2Fghdb.php" type="text/javascript"></script>

This loads the contents of the Google Hacking Database into a JavaScript object which can then be parsed. Essentially this is remote data retrieval entirely from JavaScript. If services like Dapper continue to develop (for example to allow access to an exact URL and return the output in JSON format) then the Same Origin Policy is history.

Bypassing Same Origin Policy using Mash-Ups was originally published by Martin Paul Eve at eve.gd: Martin Paul Eve on May 21, 2007.

Files

10.59348_g5rvx-tmr98.pdf

Files (112.6 kB)

Name Size Download all
md5:9d393eccfef2f9bf3c9200cf1b2c8ba3
112.6 kB Preview Download

Additional details

Description

GNUCITIZEN has been going on about this for some time now, but the truly devastating impact of what he has been saying only actually hit me today when reading about his JavaScript interface to Johnny's Google Hacking Database. The scenario is as follows. The interface contains NO SERVER SIDE SCRIPTS and no iframes or other such methods for loading offsite data but instead utilises the JSON data format to include remote script files.

Identifiers

Dates

Issued
2007-05-21T00:00:00Z
Updated
2007-05-21T12:23:44Z