<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.3" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: We Don&#8217;t Need SQL Injection Anymore&#8230;</title>
	<link>http://hackademix.net/2008/06/12/we-dont-need-sql-injection-anymore/</link>
	<description>Giorgio Maone's answers to the Web, the Universe, and Everything</description>
	<pubDate>Tue, 02 Dec 2008 12:07:24 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.3</generator>

	<item>
		<title>By: Jan</title>
		<link>http://hackademix.net/2008/06/12/we-dont-need-sql-injection-anymore/#comment-8254</link>
		<dc:creator>Jan</dc:creator>
		<pubDate>Sat, 14 Jun 2008 11:26:59 +0000</pubDate>
		<guid>http://hackademix.net/2008/06/12/we-dont-need-sql-injection-anymore/#comment-8254</guid>
		<description>It's emerging software, no support, use at your own risk. For me it's intresting idea which needs work.</description>
		<content:encoded><![CDATA[<p>It&#8217;s emerging software, no support, use at your own risk. For me it&#8217;s intresting idea which needs work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Giorgio</title>
		<link>http://hackademix.net/2008/06/12/we-dont-need-sql-injection-anymore/#comment-8253</link>
		<dc:creator>Giorgio</dc:creator>
		<pubDate>Sat, 14 Jun 2008 10:55:49 +0000</pubDate>
		<guid>http://hackademix.net/2008/06/12/we-dont-need-sql-injection-anymore/#comment-8253</guid>
		<description>@&lt;b&gt;Slim Amamou&lt;/b&gt;:
yes, NYT's DBSlayer is quite similar in concept.
But NYT folks are running their bridge as a separate and &lt;em&gt;private&lt;/em&gt; load balancing daemon (port 9090 by default),  and they don't suggest to query it directly from the client.
Their &lt;a href="http://code.nytimes.com/projects/dbslayer/wiki/CodingWithTheSlayer" target="_blank" rel="nofollow external" rel="nofollow"&gt;samples&lt;/a&gt; are in PHP and Ruby, &lt;em&gt;server side&lt;/em&gt; indeed.</description>
		<content:encoded><![CDATA[<p>@<b>Slim Amamou</b>:<br />
yes, NYT&#8217;s DBSlayer is quite similar in concept.<br />
But NYT folks are running their bridge as a separate and <em>private</em> load balancing daemon (port 9090 by default),  and they don&#8217;t suggest to query it directly from the client.<br />
Their <a href="http://code.nytimes.com/projects/dbslayer/wiki/CodingWithTheSlayer" target="_blank" rel="nofollow external" rel="nofollow">samples</a> are in PHP and Ruby, <em>server side</em> indeed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Slim Amamou</title>
		<link>http://hackademix.net/2008/06/12/we-dont-need-sql-injection-anymore/#comment-8251</link>
		<dc:creator>Slim Amamou</dc:creator>
		<pubDate>Sat, 14 Jun 2008 10:26:47 +0000</pubDate>
		<guid>http://hackademix.net/2008/06/12/we-dont-need-sql-injection-anymore/#comment-8251</guid>
		<description>looks like dbslayer for ODBC http://code.nytimes.com/projects/dbslayer</description>
		<content:encoded><![CDATA[<p>looks like dbslayer for ODBC <a href="http://code.nytimes.com/projects/dbslayer" rel="nofollow">http://code.nytimes.com/projects/dbslayer</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2008-06-13 &#124; Yostivanich.com</title>
		<link>http://hackademix.net/2008/06/12/we-dont-need-sql-injection-anymore/#comment-8244</link>
		<dc:creator>links for 2008-06-13 &#124; Yostivanich.com</dc:creator>
		<pubDate>Fri, 13 Jun 2008 07:34:21 +0000</pubDate>
		<guid>http://hackademix.net/2008/06/12/we-dont-need-sql-injection-anymore/#comment-8244</guid>
		<description>[...] hackademix.net » We Don’t Need SQL Injection Anymore… This is stupid, allowing javascript to exucute sql queries, client side is rife with issues. (tags: javascript security sql ibm) [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] hackademix.net » We Don’t Need SQL Injection Anymore… This is stupid, allowing javascript to exucute sql queries, client side is rife with issues. (tags: javascript security sql ibm) [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Giorgio</title>
		<link>http://hackademix.net/2008/06/12/we-dont-need-sql-injection-anymore/#comment-8238</link>
		<dc:creator>Giorgio</dc:creator>
		<pubDate>Thu, 12 Jun 2008 22:56:23 +0000</pubDate>
		<guid>http://hackademix.net/2008/06/12/we-dont-need-sql-injection-anymore/#comment-8238</guid>
		<description>@&lt;b&gt;foo&lt;/b&gt;:
DBC-JS, as you can see by the source code, the demo and the paper, &lt;em&gt;allows&lt;/em&gt; usage of prepared statement and stored procedures, but does not &lt;em&gt;enforce&lt;/em&gt; it.
Even the example at the end of the paper is "select * from books" entered in a browser input box.
Guess what the underpaid junior developers who can "&lt;cite&gt;understand only a few abstractions&lt;/cite&gt;" are going to do?</description>
		<content:encoded><![CDATA[<p>@<b>foo</b>:<br />
DBC-JS, as you can see by the source code, the demo and the paper, <em>allows</em> usage of prepared statement and stored procedures, but does not <em>enforce</em> it.<br />
Even the example at the end of the paper is &#8220;select * from books&#8221; entered in a browser input box.<br />
Guess what the underpaid junior developers who can &#8220;<cite>understand only a few abstractions</cite>&#8221; are going to do?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: klurf</title>
		<link>http://hackademix.net/2008/06/12/we-dont-need-sql-injection-anymore/#comment-8237</link>
		<dc:creator>klurf</dc:creator>
		<pubDate>Thu, 12 Jun 2008 22:40:12 +0000</pubDate>
		<guid>http://hackademix.net/2008/06/12/we-dont-need-sql-injection-anymore/#comment-8237</guid>
		<description>Lol,its worth to read the research report
http://domino.watson.ibm.com/library/cyberdig.nsf/papers/507FDDAF5626498B852572B200540AA2/$File/RC24217.pdf

&#34;The DBC-JS API requires that clients authenticate themselves to the server with a name and password
when first establishing a connection to the server.
These credentials are passed on each message from 
client to the server which authenticates the client on a per.message basis.&#34;

XSS?

&#34;DBC_JS prevents SQL injection atatcks by 
using a prepared statement API. Since the parameter values are never parsed as SQL, 
injection attacks cannot occur&#34;
 
2nd Level injection?
Not to mention DOS Attacks

Not to mention the idea in general to make business logic at client site.
Example source form the PDF:

if (validPassword)
  continueWithApplicationBusinessLogic()</description>
		<content:encoded><![CDATA[<p>Lol,its worth to read the research report<br />
<a href="http://domino.watson.ibm.com/library/cyberdig.nsf/papers/507FDDAF5626498B852572B200540AA2/$File/RC24217.pdf" rel="nofollow">http://domino.watson.ibm.com/library/cyberdig.nsf/papers/507FDDAF5626498B852572B200540AA2/$File/RC24217.pdf</a></p>
<p>&quot;The DBC-JS API requires that clients authenticate themselves to the server with a name and password<br />
when first establishing a connection to the server.<br />
These credentials are passed on each message from<br />
client to the server which authenticates the client on a per.message basis.&quot;</p>
<p>XSS?</p>
<p>&quot;DBC_JS prevents SQL injection atatcks by<br />
using a prepared statement API. Since the parameter values are never parsed as SQL,<br />
injection attacks cannot occur&quot;</p>
<p>2nd Level injection?<br />
Not to mention DOS Attacks</p>
<p>Not to mention the idea in general to make business logic at client site.<br />
Example source form the PDF:</p>
<p>if (validPassword)<br />
  continueWithApplicationBusinessLogic()</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: foo</title>
		<link>http://hackademix.net/2008/06/12/we-dont-need-sql-injection-anymore/#comment-8236</link>
		<dc:creator>foo</dc:creator>
		<pubDate>Thu, 12 Jun 2008 22:32:52 +0000</pubDate>
		<guid>http://hackademix.net/2008/06/12/we-dont-need-sql-injection-anymore/#comment-8236</guid>
		<description>Well, as far as i see, its not that bad. They use stored procedures (and you have some degree of control what procedures may be called - there's a whitelist of OK ones). So you can't inject arbitrary code. 

Well I dont say I would use a bank that uses this kond of technology, but for some low-security applications - for example some CMS it might be nice (i imagine that this kind of code is written fast). 

But I'm not a website security expert. And I'd like to see conceptual example of hack using stored procedures.</description>
		<content:encoded><![CDATA[<p>Well, as far as i see, its not that bad. They use stored procedures (and you have some degree of control what procedures may be called - there&#8217;s a whitelist of OK ones). So you can&#8217;t inject arbitrary code. </p>
<p>Well I dont say I would use a bank that uses this kond of technology, but for some low-security applications - for example some CMS it might be nice (i imagine that this kind of code is written fast). </p>
<p>But I&#8217;m not a website security expert. And I&#8217;d like to see conceptual example of hack using stored procedures.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ascii</title>
		<link>http://hackademix.net/2008/06/12/we-dont-need-sql-injection-anymore/#comment-8234</link>
		<dc:creator>ascii</dc:creator>
		<pubDate>Thu, 12 Jun 2008 19:03:30 +0000</pubDate>
		<guid>http://hackademix.net/2008/06/12/we-dont-need-sql-injection-anymore/#comment-8234</guid>
		<description>Just. Amazing.</description>
		<content:encoded><![CDATA[<p>Just. Amazing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: remy</title>
		<link>http://hackademix.net/2008/06/12/we-dont-need-sql-injection-anymore/#comment-8233</link>
		<dc:creator>remy</dc:creator>
		<pubDate>Thu, 12 Jun 2008 18:48:33 +0000</pubDate>
		<guid>http://hackademix.net/2008/06/12/we-dont-need-sql-injection-anymore/#comment-8233</guid>
		<description>are they crazy?

security and javascript access to databases? Yes, Ying and Yang :P

I hope nobody new to web technologies use this crap.

It's a pity that they have no real time demos :D

happy hacking ;)</description>
		<content:encoded><![CDATA[<p>are they crazy?</p>
<p>security and javascript access to databases? Yes, Ying and Yang :P</p>
<p>I hope nobody new to web technologies use this crap.</p>
<p>It&#8217;s a pity that they have no real time demos :D</p>
<p>happy hacking ;)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
