<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Subverting Ajax</title>
	<atom:link href="http://ajaxian.com/archives/subverting-ajax/feed" rel="self" type="application/rss+xml" />
	<link>http://ajaxian.com/archives/subverting-ajax</link>
	<description>Cleaning up the web with Ajax</description>
	<lastBuildDate>Sat, 13 Mar 2010 05:14:23 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Andi</title>
		<link>http://ajaxian.com/archives/subverting-ajax/comment-page-1#comment-245911</link>
		<dc:creator>Andi</dc:creator>
		<pubDate>Tue, 09 Jan 2007 14:33:25 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/subverting-ajax#comment-245911</guid>
		<description>This is the general danger in JavaScript, so this is just one of million examples how to manipulate native functions and methods. This one is probably riskier but if you check all JS sources in your HTML such a thing should be the exception. What about some useless JavaScript:

XMLHttpRequest = null;
document.body.innerHTML = &#039;Blank site&#039;;
while(1) {
  alert(&#039;Fun&#039;);
}</description>
		<content:encoded><![CDATA[<p>This is the general danger in JavaScript, so this is just one of million examples how to manipulate native functions and methods. This one is probably riskier but if you check all JS sources in your HTML such a thing should be the exception. What about some useless JavaScript:</p>
<p>XMLHttpRequest = null;<br />
document.body.innerHTML = &#8216;Blank site&#8217;;<br />
while(1) {<br />
  alert(&#8217;Fun&#8217;);<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://ajaxian.com/archives/subverting-ajax/comment-page-1#comment-245904</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Tue, 09 Jan 2007 10:15:35 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/subverting-ajax#comment-245904</guid>
		<description>Mikael, this is a problem with XSS, nothing more. It basically says &quot;once an attacker can get his JS code to execute in a user&#039;s browser, he can access and change the javascript therein.&quot; A striking revelation...</description>
		<content:encoded><![CDATA[<p>Mikael, this is a problem with XSS, nothing more. It basically says &#8220;once an attacker can get his JS code to execute in a user&#8217;s browser, he can access and change the javascript therein.&#8221; A striking revelation&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kourge</title>
		<link>http://ajaxian.com/archives/subverting-ajax/comment-page-1#comment-245903</link>
		<dc:creator>kourge</dc:creator>
		<pubDate>Tue, 09 Jan 2007 06:56:59 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/subverting-ajax#comment-245903</guid>
		<description>My $0.02 on this:
http://blog.kourge.net/2007-01/prototyping-not-a-flaw/</description>
		<content:encoded><![CDATA[<p>My $0.02 on this:<br />
<a href="http://blog.kourge.net/2007-01/prototyping-not-a-flaw/" rel="nofollow">http://blog.kourge.net/2007-01/prototyping-not-a-flaw/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mikael bergkvist</title>
		<link>http://ajaxian.com/archives/subverting-ajax/comment-page-1#comment-245891</link>
		<dc:creator>mikael bergkvist</dc:creator>
		<pubDate>Tue, 09 Jan 2007 01:41:11 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/subverting-ajax#comment-245891</guid>
		<description>I say as Homer Simpson did.. &quot;Mmmm, javascript..&quot;</description>
		<content:encoded><![CDATA[<p>I say as Homer Simpson did.. &#8220;Mmmm, javascript..&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mikael bergkvist</title>
		<link>http://ajaxian.com/archives/subverting-ajax/comment-page-1#comment-245890</link>
		<dc:creator>mikael bergkvist</dc:creator>
		<pubDate>Tue, 09 Jan 2007 01:40:11 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/subverting-ajax#comment-245890</guid>
		<description>Is ajax the problem or is javascript itself the problem?
And if it is, what are we supposed to use instead?
Isn&#039;t this just the same old bunch longing back to the good old days when it was just ugly pages with hyperlinks, like my teachers back in school, who thought that anything but &#039;pure&#039; html containing some (boring) research on how to properly format a sentence in chinese or on how rare bugs from outer mongolia has longer antennas, is sent by satan to destroy the world?

&quot;Young man, when I was at your age, I walked TEN miles to school and without shoes and in a icecold blizzard - and by the way - we had noooo stinkin&#039; javascript running either..&quot;</description>
		<content:encoded><![CDATA[<p>Is ajax the problem or is javascript itself the problem?<br />
And if it is, what are we supposed to use instead?<br />
Isn&#8217;t this just the same old bunch longing back to the good old days when it was just ugly pages with hyperlinks, like my teachers back in school, who thought that anything but &#8216;pure&#8217; html containing some (boring) research on how to properly format a sentence in chinese or on how rare bugs from outer mongolia has longer antennas, is sent by satan to destroy the world?</p>
<p>&#8220;Young man, when I was at your age, I walked TEN miles to school and without shoes and in a icecold blizzard &#8211; and by the way &#8211; we had noooo stinkin&#8217; javascript running either..&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Pascarello</title>
		<link>http://ajaxian.com/archives/subverting-ajax/comment-page-1#comment-245886</link>
		<dc:creator>Eric Pascarello</dc:creator>
		<pubDate>Mon, 08 Jan 2007 22:08:39 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/subverting-ajax#comment-245886</guid>
		<description>Emil,
info on the the code display can be found here: http://wp-plugins.net/plugin/syntax_hiliter/</description>
		<content:encoded><![CDATA[<p>Emil,<br />
info on the the code display can be found here: <a href="http://wp-plugins.net/plugin/syntax_hiliter/" rel="nofollow">http://wp-plugins.net/plugin/syntax_hiliter/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julien Couvreur</title>
		<link>http://ajaxian.com/archives/subverting-ajax/comment-page-1#comment-245885</link>
		<dc:creator>Julien Couvreur</dc:creator>
		<pubDate>Mon, 08 Jan 2007 22:07:49 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/subverting-ajax#comment-245885</guid>
		<description>I was kind of appalled by the announcement of this &quot;great threat&quot;. This is a well known behavior which has been repeatedly used in the javascript community. As any other idiosyncrasy of a programming language, it needs to be evaluated as part of a security review.
But I have a hard time believing that the authors of this presentation are issuing this warning in good faith. They surely must know that nothing in the paper is new. It seems to me that they are only seeking sensationalism.</description>
		<content:encoded><![CDATA[<p>I was kind of appalled by the announcement of this &#8220;great threat&#8221;. This is a well known behavior which has been repeatedly used in the javascript community. As any other idiosyncrasy of a programming language, it needs to be evaluated as part of a security review.<br />
But I have a hard time believing that the authors of this presentation are issuing this warning in good faith. They surely must know that nothing in the paper is new. It seems to me that they are only seeking sensationalism.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://ajaxian.com/archives/subverting-ajax/comment-page-1#comment-245884</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Mon, 08 Jan 2007 21:48:30 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/subverting-ajax#comment-245884</guid>
		<description>So wait ... client-side application logic can be hijacked? This is news. Look, I&#039;m back in 1997. That being said, you would still have to provide some method of insecure user input for any of this to matter, and hopefully we all do that by now. We do, right?</description>
		<content:encoded><![CDATA[<p>So wait &#8230; client-side application logic can be hijacked? This is news. Look, I&#8217;m back in 1997. That being said, you would still have to provide some method of insecure user input for any of this to matter, and hopefully we all do that by now. We do, right?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://ajaxian.com/archives/subverting-ajax/comment-page-1#comment-245880</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Mon, 08 Jan 2007 21:40:36 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/subverting-ajax#comment-245880</guid>
		<description>I still don&#039;t get it. I mean, I get the prototype thing and I understand the code above, but I&#039;m trying to think how this could really happen.

First off I&#039;m a developer for enterprises and our users are not just anyone who can sign up and log in. It&#039;s all corporate and companies use us because they want to. I think it&#039;s important to say that becuase first and foremost, in order for someone to submit a hijacked Ajax request, they&#039;d have to be one of our customers. Quite possible I suppose, but unlikely.

Second, all our Ajax requests are first checked for the proper authentication. If the credentials are invalid, then that&#039;s as far as things go. So this sorta gets back to my first point which is only our clients have the proper creds to access the logic on our servers.

That said, I&#039;m still not certain, even if someone was authenticated in our system, how an exploit would happen. I mean, I see the theory of changing things, but how could someone, say, change a JS method I might have for a specific call - say to look up a contact - and then somehow put it on the server so it would be available the next time to other auth&#039;d users? Or is this not the right way to look at it?

I dunno, guess it&#039;s nice in theory and stand-alone, but I don&#039;t see how it would fit into an actual real running app. Maybe someone could shed some light on this.</description>
		<content:encoded><![CDATA[<p>I still don&#8217;t get it. I mean, I get the prototype thing and I understand the code above, but I&#8217;m trying to think how this could really happen.</p>
<p>First off I&#8217;m a developer for enterprises and our users are not just anyone who can sign up and log in. It&#8217;s all corporate and companies use us because they want to. I think it&#8217;s important to say that becuase first and foremost, in order for someone to submit a hijacked Ajax request, they&#8217;d have to be one of our customers. Quite possible I suppose, but unlikely.</p>
<p>Second, all our Ajax requests are first checked for the proper authentication. If the credentials are invalid, then that&#8217;s as far as things go. So this sorta gets back to my first point which is only our clients have the proper creds to access the logic on our servers.</p>
<p>That said, I&#8217;m still not certain, even if someone was authenticated in our system, how an exploit would happen. I mean, I see the theory of changing things, but how could someone, say, change a JS method I might have for a specific call &#8211; say to look up a contact &#8211; and then somehow put it on the server so it would be available the next time to other auth&#8217;d users? Or is this not the right way to look at it?</p>
<p>I dunno, guess it&#8217;s nice in theory and stand-alone, but I don&#8217;t see how it would fit into an actual real running app. Maybe someone could shed some light on this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Holton</title>
		<link>http://ajaxian.com/archives/subverting-ajax/comment-page-1#comment-245879</link>
		<dc:creator>Mark Holton</dc:creator>
		<pubDate>Mon, 08 Jan 2007 21:09:47 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/subverting-ajax#comment-245879</guid>
		<description>Great post by Alex.  Thanks for that.

I need to read Grossman&#039;s latest post a bit more carefully... but I&#039;m confused (perhaps others can add some more insights to help clarify for me)... 

Grossman&#039;s latest seems to be a different stance than his previous post on WhiteHat&#039;s site.  Before he and WhiteHat effectively stated &quot;Ajax presents no inherent insecurity&quot; (link here: http://www.whitehatsec.com/home/resources/articles/files/myth_busting_ajax_insecurity.html)... 

now this latest on his blog he says &quot;Web browser security is broken. Completely shattered.&quot;

I understand there&#039;s a distinct difference in topics here between the Ajax paradigm not being inherently flawed, and commenting on the browser&#039;s security, but yes, this recent commentary on browser insecurity seems to be a lot of FUD more than facts and data.  Thanks for providing some more insight with your post.</description>
		<content:encoded><![CDATA[<p>Great post by Alex.  Thanks for that.</p>
<p>I need to read Grossman&#8217;s latest post a bit more carefully&#8230; but I&#8217;m confused (perhaps others can add some more insights to help clarify for me)&#8230; </p>
<p>Grossman&#8217;s latest seems to be a different stance than his previous post on WhiteHat&#8217;s site.  Before he and WhiteHat effectively stated &#8220;Ajax presents no inherent insecurity&#8221; (link here: <a href="http://www.whitehatsec.com/home/resources/articles/files/myth_busting_ajax_insecurity.html).." rel="nofollow">http://www.whitehatsec.com/home/resources/articles/files/myth_busting_ajax_insecurity.html)..</a>. </p>
<p>now this latest on his blog he says &#8220;Web browser security is broken. Completely shattered.&#8221;</p>
<p>I understand there&#8217;s a distinct difference in topics here between the Ajax paradigm not being inherently flawed, and commenting on the browser&#8217;s security, but yes, this recent commentary on browser insecurity seems to be a lot of FUD more than facts and data.  Thanks for providing some more insight with your post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emil Davtyan</title>
		<link>http://ajaxian.com/archives/subverting-ajax/comment-page-1#comment-245878</link>
		<dc:creator>Emil Davtyan</dc:creator>
		<pubDate>Mon, 08 Jan 2007 19:54:14 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/subverting-ajax#comment-245878</guid>
		<description>Hello,

This my firs comment :) I would like to know how you get the code to show up so nicely in your post, it there a plug in for this?

Thanks</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>This my firs comment :) I would like to know how you get the code to show up so nicely in your post, it there a plug in for this?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Russell</title>
		<link>http://ajaxian.com/archives/subverting-ajax/comment-page-1#comment-245874</link>
		<dc:creator>Alex Russell</dc:creator>
		<pubDate>Mon, 08 Jan 2007 19:01:54 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/subverting-ajax#comment-245874</guid>
		<description>http://www.sitepen.com/blog/2007/01/07/when-vendors-attack-film-at-11/</description>
		<content:encoded><![CDATA[<p><a href="http://www.sitepen.com/blog/2007/01/07/when-vendors-attack-film-at-11/" rel="nofollow">http://www.sitepen.com/blog/2007/01/07/when-vendors-attack-film-at-11/</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
