<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-5066603456638955842.post5420943264278436173..comments</id><updated>2009-08-18T00:08:53.268+01:00</updated><title type='text'>Comments on Connecting SOA to the Cloud: An old XML attack resurfaces, and is blocked</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.soatothecloud.com/feeds/5420943264278436173/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5066603456638955842/5420943264278436173/comments/default'/><link rel='alternate' type='text/html' href='http://www.soatothecloud.com/2009/08/old-xml-attack-resurfaces-and-is.html'/><author><name>Mark O'Neill</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='6' src='http://1.bp.blogspot.com/_nu5SNZshYes/SKI2NtQ6NVI/AAAAAAAAACA/Mkp8zxsGeTo/s1600-R/markemail.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5066603456638955842.post-3852582946644559400</id><published>2009-08-12T13:40:50.791+01:00</published><updated>2009-08-12T13:40:50.791+01:00</updated><title type='text'>Hi Ari,

Can you be more specific. You say &amp;quot;a...</title><content type='html'>Hi Ari,&lt;br /&gt;&lt;br /&gt;Can you be more specific. You say &amp;quot;as far as I know this is completely different from both recursions and external entities&amp;quot;. But the first reference on the CERT-FI article relates to recursion (&amp;quot;Avoid recursion when parsing simply nested DTD structures&amp;quot;).&lt;br /&gt;&lt;br /&gt;The other references in that CERT-FI article mention DTD-based vulnerabilities.&lt;br /&gt;&lt;br /&gt;DTD&amp;#39;s in general are bad news for security. That is why the SOAP Spec disallows DTD&amp;#39;s ((http://www.w3.org/TR/SOAP/ Section 3), why Microsoft created that &amp;quot;ProhibitDtd&amp;quot; option (http://support.microsoft.com/default.aspx?kbid=826231). I notice that you don&amp;#39;t list .NET&amp;#39;s parser as vulnerable - is that because you had &amp;quot;ProhibitDtd&amp;quot; enabled?&lt;br /&gt;&lt;br /&gt;If you can provide an example of an XML message which brings down a parser, I&amp;#39;d be happy to test it here to see how the message is blocked. Vordel&amp;#39;s standard XML Threat policy blocks DTD&amp;#39;s, as well as excessive nesting, excessive child attributes or element &amp;quot;width&amp;quot;, amongst other countermeasures like limiting memory usage for parsing.&lt;br /&gt;&lt;br /&gt;Without an actual example, it&amp;#39;s hard to really be specific though.&lt;br /&gt;&lt;br /&gt;Your article mentions code execution - were you able to smash the stack of an XML parser and manipulate the execution address to point to arbitrary code? If so, what parser, and can you provide an example?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5066603456638955842/5420943264278436173/comments/default/3852582946644559400'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5066603456638955842/5420943264278436173/comments/default/3852582946644559400'/><link rel='alternate' type='text/html' href='http://www.soatothecloud.com/2009/08/old-xml-attack-resurfaces-and-is.html?showComment=1250080850791#c3852582946644559400' title=''/><author><name>Mark O'Neill</name><uri>http://www.blogger.com/profile/03202416986720435011</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='6' src='http://1.bp.blogspot.com/_nu5SNZshYes/SKI2NtQ6NVI/AAAAAAAAACA/Mkp8zxsGeTo/s1600-R/markemail.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.soatothecloud.com/2009/08/old-xml-attack-resurfaces-and-is.html' ref='tag:blogger.com,1999:blog-5066603456638955842.post-5420943264278436173' source='http://www.blogger.com/feeds/5066603456638955842/posts/default/5420943264278436173' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1617845394'/></entry><entry><id>tag:blogger.com,1999:blog-5066603456638955842.post-4063721728827673249</id><published>2009-08-12T10:06:13.893+01:00</published><updated>2009-08-12T10:06:13.893+01:00</updated><title type='text'>Thanks Mark for the clarification.

Unfortunately ...</title><content type='html'>Thanks Mark for the clarification.&lt;br /&gt;&lt;br /&gt;Unfortunately I cannot discuss the details (and neither probably will anyone else at this point because these parsers are everywhere and almost nobody is patched against these and similar issues) but as far as I know this is completely different from both recursions and external entities. There are hundreds of thousands of ways you can suck at DTD (and other XML element) parsing. ;)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5066603456638955842/5420943264278436173/comments/default/4063721728827673249'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5066603456638955842/5420943264278436173/comments/default/4063721728827673249'/><link rel='alternate' type='text/html' href='http://www.soatothecloud.com/2009/08/old-xml-attack-resurfaces-and-is.html?showComment=1250067973893#c4063721728827673249' title=''/><author><name>Ari Takanen</name><uri>http://www.blogger.com/profile/07915912631926433579</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_BCqXqss9sEI/SL5ddD3kxKI/AAAAAAAAAAQ/RK0TEWYuJDo/s1600-R/press_room_ari.png'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.soatothecloud.com/2009/08/old-xml-attack-resurfaces-and-is.html' ref='tag:blogger.com,1999:blog-5066603456638955842.post-5420943264278436173' source='http://www.blogger.com/feeds/5066603456638955842/posts/default/5420943264278436173' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1293946330'/></entry><entry><id>tag:blogger.com,1999:blog-5066603456638955842.post-2950680480810564292</id><published>2009-08-12T09:31:35.000+01:00</published><updated>2009-08-12T09:31:35.000+01:00</updated><title type='text'>Hi Ari,

The reason why this announcement is assoc...</title><content type='html'>Hi Ari,&lt;br /&gt;&lt;br /&gt;The reason why this announcement is associated with DTD-based attacks is that the CERT-FI release about it (http://www.cert.fi/en/reports/2009/vulnerability2009085.html) references a couple of DTD-based advisories like this apache revision posting: &lt;br /&gt;&lt;br /&gt;&amp;quot;Avoid recursion when parsing simply nested DTD structures. &lt;br /&gt;This issue is referenced in the following document: CVE-2009-1885 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2009-1885). &lt;br /&gt;Thanks to Jukka Taimisto, Tero Rontti and Rauli Kaksonen from the CROSS project at Codenomicon Ltd. and CERT-FI for bringing this issue to our attention.&amp;quot;&lt;br /&gt;http://svn.apache.org/viewvc?view=rev&amp;amp;revision=781488&lt;br /&gt;&lt;br /&gt;Also the CERT-FI announcement references this Red Hat posting:&lt;br /&gt;&lt;br /&gt;&amp;quot;libxml is a library for parsing and manipulating XML files. A Document Type&lt;br /&gt;Definition (DTD) defines the legal syntax (and also which elements can be&lt;br /&gt;used) for certain types of files, such as XML files.&lt;br /&gt;&lt;br /&gt;A stack overflow flaw was found in the way libxml processes the root XML&lt;br /&gt;document element definition in a DTD. A remote attacker could provide a&lt;br /&gt;specially-crafted XML file, which once opened by a local, unsuspecting&lt;br /&gt;user, would lead to denial of service (application crash). (CVE-2009-2414)&amp;quot;&lt;br /&gt;https://rhn.redhat.com/errata/RHSA-2009-1206.html&lt;br /&gt;&lt;br /&gt;That&amp;#39;s why this announcement is associated with DTD-based attacks.&lt;br /&gt;&lt;br /&gt;I took a look at your link to the announcement on your corporate site again, but it&amp;#39;s short on specifics (like examples of messages which will bring down particular parsers, names and versions of particular parsers, etc). The only concrete info is the CERT-FI article which references the DTD attacks. It would be helpful to provide some more detail. &lt;br /&gt;&lt;br /&gt;By the way, I do agree that the XML parsers used in XML-processing applications have vulnerabilities, (e.g. External Entity attacks). I&amp;#39;ve seen these myself - it is frightening how vulnerable many XML apps are to these. It is good to highlight people to this fact.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5066603456638955842/5420943264278436173/comments/default/2950680480810564292'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5066603456638955842/5420943264278436173/comments/default/2950680480810564292'/><link rel='alternate' type='text/html' href='http://www.soatothecloud.com/2009/08/old-xml-attack-resurfaces-and-is.html?showComment=1250065895000#c2950680480810564292' title=''/><author><name>Mark O'Neill</name><uri>http://www.blogger.com/profile/03202416986720435011</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='6' src='http://1.bp.blogspot.com/_nu5SNZshYes/SKI2NtQ6NVI/AAAAAAAAACA/Mkp8zxsGeTo/s1600-R/markemail.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.soatothecloud.com/2009/08/old-xml-attack-resurfaces-and-is.html' ref='tag:blogger.com,1999:blog-5066603456638955842.post-5420943264278436173' source='http://www.blogger.com/feeds/5066603456638955842/posts/default/5420943264278436173' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1617845394'/></entry><entry><id>tag:blogger.com,1999:blog-5066603456638955842.post-7930847778619193275</id><published>2009-08-12T06:01:59.736+01:00</published><updated>2009-08-12T06:01:59.736+01:00</updated><title type='text'>Oh and Hi Mark! 

If you write a nice new writeup ...</title><content type='html'>Oh and Hi Mark! &lt;br /&gt;&lt;br /&gt;If you write a nice new writeup of the 2002 flaw, we are happy to link to it from our &lt;a href="http://www.codenomicon.com/labs/xml/" rel="nofollow"&gt;XML resource here&lt;/a&gt;. I have seen that several people have already confused this set of problems with the 2002 flaw already.&lt;br /&gt;&lt;br /&gt;Sorry for the typo in Vordel product name. ;)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5066603456638955842/5420943264278436173/comments/default/7930847778619193275'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5066603456638955842/5420943264278436173/comments/default/7930847778619193275'/><link rel='alternate' type='text/html' href='http://www.soatothecloud.com/2009/08/old-xml-attack-resurfaces-and-is.html?showComment=1250053319736#c7930847778619193275' title=''/><author><name>Ari Takanen</name><uri>http://www.blogger.com/profile/07915912631926433579</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_BCqXqss9sEI/SL5ddD3kxKI/AAAAAAAAAAQ/RK0TEWYuJDo/s1600-R/press_room_ari.png'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.soatothecloud.com/2009/08/old-xml-attack-resurfaces-and-is.html' ref='tag:blogger.com,1999:blog-5066603456638955842.post-5420943264278436173' source='http://www.blogger.com/feeds/5066603456638955842/posts/default/5420943264278436173' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1293946330'/></entry><entry><id>tag:blogger.com,1999:blog-5066603456638955842.post-8616756361905930002</id><published>2009-08-12T05:52:36.883+01:00</published><updated>2009-08-12T05:52:36.883+01:00</updated><title type='text'>Sorry, this has nothing to do with the 2002 attack...</title><content type='html'>Sorry, this has nothing to do with the 2002 attack. And as far as I know, the Vortel test solution does not catch any of the several flaws in question.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5066603456638955842/5420943264278436173/comments/default/8616756361905930002'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5066603456638955842/5420943264278436173/comments/default/8616756361905930002'/><link rel='alternate' type='text/html' href='http://www.soatothecloud.com/2009/08/old-xml-attack-resurfaces-and-is.html?showComment=1250052756883#c8616756361905930002' title=''/><author><name>Ari Takanen</name><uri>http://www.blogger.com/profile/07915912631926433579</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_BCqXqss9sEI/SL5ddD3kxKI/AAAAAAAAAAQ/RK0TEWYuJDo/s1600-R/press_room_ari.png'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.soatothecloud.com/2009/08/old-xml-attack-resurfaces-and-is.html' ref='tag:blogger.com,1999:blog-5066603456638955842.post-5420943264278436173' source='http://www.blogger.com/feeds/5066603456638955842/posts/default/5420943264278436173' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1293946330'/></entry></feed>
