<?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"
	>
<channel>
	<title>Comments on: All Injection Attack Vectors</title>
	<atom:link href="http://www.elharo.com/blog/software-development/web-development/2007/02/04/all-injection-attack-vectors/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.elharo.com/blog/software-development/web-development/2007/02/04/all-injection-attack-vectors/</link>
	<description>Ranting and Raving</description>
	<pubDate>Mon, 06 Oct 2008 19:23:12 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: H M Boethius</title>
		<link>http://www.elharo.com/blog/software-development/web-development/2007/02/04/all-injection-attack-vectors/#comment-42670</link>
		<dc:creator>H M Boethius</dc:creator>
		<pubDate>Mon, 12 Feb 2007 02:00:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.elharo.com/blog/software-development/web-development/2007/02/04/all-injection-attack-vectors/#comment-42670</guid>
		<description>excuse me but what is this "injection attack"? Are you writing a book to define this meaning? Are you seeking dialogue to ascertain the popularity of this phrase? Is there anything novel about this phrase that is informative? Is there a point to this inventention? Are you teaching so that you may learn?

Let me see, now. What is your game, that you should write about a game? Taxonomy? Lepidoptary?</description>
		<content:encoded><![CDATA[<p>excuse me but what is this &#8220;injection attack&#8221;? Are you writing a book to define this meaning? Are you seeking dialogue to ascertain the popularity of this phrase? Is there anything novel about this phrase that is informative? Is there a point to this inventention? Are you teaching so that you may learn?</p>
<p>Let me see, now. What is your game, that you should write about a game? Taxonomy? Lepidoptary?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Orenchak</title>
		<link>http://www.elharo.com/blog/software-development/web-development/2007/02/04/all-injection-attack-vectors/#comment-42582</link>
		<dc:creator>James Orenchak</dc:creator>
		<pubDate>Sun, 11 Feb 2007 20:28:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.elharo.com/blog/software-development/web-development/2007/02/04/all-injection-attack-vectors/#comment-42582</guid>
		<description>If you really want to compile a list, you could add SSI ( Server side includes) injection, PHP injection, Shell injection, ASP injection, Include file injection, command injection and CRLF injection. Tommorow there my be a new web technology, followed the next day by a new type of injection targeted at that technology.

What Yan Ivnitskiy wrote over at http://isisblogs.poly.edu/2007/02/08/all-injection-attack-vectors/, especially the sentance "In reality, in all of these cases we are simply mixing the data with the control channel and assigning each variation a different name.", is true. 

I would suggest abandoning the idea of making a list of all injection attack vectors and simply saying that injection of malicious scripts, SQL statements, XML content and invalid data, usually through use of a form field that the attacker knows will be inserted into the application to cause a potential failure or denial of the service, requires input validation. Bye the way, implementing the security pattern named "Intercepting Validator Pattern" is an excellent way of validating input.</description>
		<content:encoded><![CDATA[<p>If you really want to compile a list, you could add SSI ( Server side includes) injection, PHP injection, Shell injection, ASP injection, Include file injection, command injection and CRLF injection. Tommorow there my be a new web technology, followed the next day by a new type of injection targeted at that technology.</p>
<p>What Yan Ivnitskiy wrote over at <a href="http://isisblogs.poly.edu/2007/02/08/all-injection-attack-vectors/" rel="nofollow">http://isisblogs.poly.edu/2007/02/08/all-injection-attack-vectors/</a>, especially the sentance &#8220;In reality, in all of these cases we are simply mixing the data with the control channel and assigning each variation a different name.&#8221;, is true. </p>
<p>I would suggest abandoning the idea of making a list of all injection attack vectors and simply saying that injection of malicious scripts, SQL statements, XML content and invalid data, usually through use of a form field that the attacker knows will be inserted into the application to cause a potential failure or denial of the service, requires input validation. Bye the way, implementing the security pattern named &#8220;Intercepting Validator Pattern&#8221; is an excellent way of validating input.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The Cafes &#187; My Next Book</title>
		<link>http://www.elharo.com/blog/software-development/web-development/2007/02/04/all-injection-attack-vectors/#comment-41989</link>
		<dc:creator>The Cafes &#187; My Next Book</dc:creator>
		<pubDate>Fri, 09 Feb 2007 19:59:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.elharo.com/blog/software-development/web-development/2007/02/04/all-injection-attack-vectors/#comment-41989</guid>
		<description>[...] With a little luck, the book should be on store shelves sometime this summer. I&#8217;ve already posted a number of questions that arose while writing it. I&#8217;m going to be posting a lot more over the next couple of months. I also plan to post many small excerpts from the book for your perusal and comment. I hope you&#8217;ll help out by commenting on, caviling, and correcting the draft pieces I&#8217;ll be posting here. [...]</description>
		<content:encoded><![CDATA[<p>[...] With a little luck, the book should be on store shelves sometime this summer. I&#8217;ve already posted a number of questions that arose while writing it. I&#8217;m going to be posting a lot more over the next couple of months. I also plan to post many small excerpts from the book for your perusal and comment. I hope you&#8217;ll help out by commenting on, caviling, and correcting the draft pieces I&#8217;ll be posting here. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: &#8220;All Injection Attack Vectors&#8221; at ISIS Blogs</title>
		<link>http://www.elharo.com/blog/software-development/web-development/2007/02/04/all-injection-attack-vectors/#comment-41476</link>
		<dc:creator>&#8220;All Injection Attack Vectors&#8221; at ISIS Blogs</dc:creator>
		<pubDate>Thu, 08 Feb 2007 04:59:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.elharo.com/blog/software-development/web-development/2007/02/04/all-injection-attack-vectors/#comment-41476</guid>
		<description>[...] Over at Mokka mit Schlag Elliotte Rusty Harold (he teaches Java/XML at Poly) is asking whether SQL is the only language with injection attack vector? What about XML/ XPath, JSON, etc. Is there a comprehensive attack-tree for injection attacks? See if you can answer some of these questions.   Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages. [...]</description>
		<content:encoded><![CDATA[<p>[...] Over at Mokka mit Schlag Elliotte Rusty Harold (he teaches Java/XML at Poly) is asking whether SQL is the only language with injection attack vector? What about XML/ XPath, JSON, etc. Is there a comprehensive attack-tree for injection attacks? See if you can answer some of these questions.   Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Cox</title>
		<link>http://www.elharo.com/blog/software-development/web-development/2007/02/04/all-injection-attack-vectors/#comment-40501</link>
		<dc:creator>Ryan Cox</dc:creator>
		<pubDate>Mon, 05 Feb 2007 02:01:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.elharo.com/blog/software-development/web-development/2007/02/04/all-injection-attack-vectors/#comment-40501</guid>
		<description>XML Entity Exploits : http://lists.xml.org/archives/xml-dev/200210/msg01735.html</description>
		<content:encoded><![CDATA[<p>XML Entity Exploits : <a href="http://lists.xml.org/archives/xml-dev/200210/msg01735.html" rel="nofollow">http://lists.xml.org/archives/xml-dev/200210/msg01735.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Cowan</title>
		<link>http://www.elharo.com/blog/software-development/web-development/2007/02/04/all-injection-attack-vectors/#comment-40390</link>
		<dc:creator>John Cowan</dc:creator>
		<pubDate>Sun, 04 Feb 2007 18:11:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.elharo.com/blog/software-development/web-development/2007/02/04/all-injection-attack-vectors/#comment-40390</guid>
		<description>Oops, 'u' and 'l' appear twice in the last paragraph.</description>
		<content:encoded><![CDATA[<p>Oops, &#8216;u&#8217; and &#8216;l&#8217; appear twice in the last paragraph.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Cowan</title>
		<link>http://www.elharo.com/blog/software-development/web-development/2007/02/04/all-injection-attack-vectors/#comment-40389</link>
		<dc:creator>John Cowan</dc:creator>
		<pubDate>Sun, 04 Feb 2007 18:06:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.elharo.com/blog/software-development/web-development/2007/02/04/all-injection-attack-vectors/#comment-40389</guid>
		<description>In fact, the parseJSON method in Javascript does use eval(), but it defangs the JSON by making sure it matches the following majestic regular expression first:

/^("(\\.&#124;[^"\\\n\r])*?"&#124;[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t])+?$/

Translated into English, that says that a JSON string is a non-empty sequence of tokens, where a token is either a string or a non-string character

Strings are a sequence of items surrounded by double-quote characters, where an item is either a backslash followed by any character, or a character that isn't a backslash, newline, or return.

Non-string characters, on the other hand, can only be one of the following: comma, colon, braces, brackets, digits, decimal point, minus, plus, the letters E, t, r, u, e, f, a, l, s, n, u, and l, space, tab, newline, and return.</description>
		<content:encoded><![CDATA[<p>In fact, the parseJSON method in Javascript does use eval(), but it defangs the JSON by making sure it matches the following majestic regular expression first:</p>
<p>/^(&#8221;(\\.|[^"\\\n\r])*?&#8221;|[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t])+?$/</p>
<p>Translated into English, that says that a JSON string is a non-empty sequence of tokens, where a token is either a string or a non-string character</p>
<p>Strings are a sequence of items surrounded by double-quote characters, where an item is either a backslash followed by any character, or a character that isn&#8217;t a backslash, newline, or return.</p>
<p>Non-string characters, on the other hand, can only be one of the following: comma, colon, braces, brackets, digits, decimal point, minus, plus, the letters E, t, r, u, e, f, a, l, s, n, u, and l, space, tab, newline, and return.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Bravenboer</title>
		<link>http://www.elharo.com/blog/software-development/web-development/2007/02/04/all-injection-attack-vectors/#comment-40387</link>
		<dc:creator>Martin Bravenboer</dc:creator>
		<pubDate>Sun, 04 Feb 2007 17:57:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.elharo.com/blog/software-development/web-development/2007/02/04/all-injection-attack-vectors/#comment-40387</guid>
		<description>Shell (executed from Perl for example), XML &#38; HTML (unescaped user input, XSS), and there are many other query languages out there, for example JDOQL, HQL, EJBQL, OQL.  

Virtually any program (written in any language) constructed dynamically from strings is vulnerable.

See also: http://en.wikipedia.org/wiki/Code_injection</description>
		<content:encoded><![CDATA[<p>Shell (executed from Perl for example), XML &amp; HTML (unescaped user input, XSS), and there are many other query languages out there, for example JDOQL, HQL, EJBQL, OQL.  </p>
<p>Virtually any program (written in any language) constructed dynamically from strings is vulnerable.</p>
<p>See also: <a href="http://en.wikipedia.org/wiki/Code_injection" rel="nofollow">http://en.wikipedia.org/wiki/Code_injection</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
