<?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.post7543838760117889964..comments</id><updated>2008-09-22T15:39:16.527+01:00</updated><title type='text'>Comments on Connecting SOA to the Cloud: SOAP Faults - Too much information</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.soatothecloud.com/feeds/7543838760117889964/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5066603456638955842/7543838760117889964/comments/default'/><link rel='alternate' type='text/html' href='http://www.soatothecloud.com/2008/09/soap-faults-too-much-information.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>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5066603456638955842.post-6975881673654232942</id><published>2008-09-22T15:39:00.000+01:00</published><updated>2008-09-22T15:39:00.000+01:00</updated><title type='text'>Hi Steve,&lt;br&gt;&lt;br&gt;Thanks for pointing that out. Bac...</title><content type='html'>Hi Steve,&lt;BR/&gt;&lt;BR/&gt;Thanks for pointing that out. Back when the vulnerability assessment was done (in early 2006), the information was being sent back. That may have been before the time of "development.system", or (more likely) perhaps they had just unthinkingly left it on because the system under scrutiny was an internal system. &lt;BR/&gt;&lt;BR/&gt;Having "no stack trace returned" as the default is great, because in those stack traces, we could see information like:&lt;BR/&gt;&lt;BR/&gt;Org.hibernate.exception.GenericJDBCException: could not insert: com.companyx.model2.x.integration,dto.LifeAssured]&lt;BR/&gt;&lt;BR/&gt;and, when we ran a SQL Injection attack, we saw:&lt;BR/&gt;&lt;BR/&gt;Java.sql.SQLException: setString can only process strings of less than 32766 characters &lt;BR/&gt;&lt;BR/&gt;I find these recommendations on the Apache site useful, and I often point people to them:&lt;BR/&gt;&lt;BR/&gt;http://ws.apache.org/axis/java/security.html#StopAxisServletListingServices&lt;BR/&gt;&lt;BR/&gt;But, I would argue that the "return WSDL" functionality should be under the "development.system" flag also (i.e. setting "axis.enableListQuery" to false). The recommendations above show how to turn off the service listing and "?WSDL" WSDL-download functionality, but it's not done by default. See also Anil John's post on this yesterday: &lt;BR/&gt;http://www.aniltj.com/blog/2008/09/21/InformationDisclosureThreatsAndWebServices.aspx &lt;BR/&gt;&lt;BR/&gt;cheers,&lt;BR/&gt;Mark</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5066603456638955842/7543838760117889964/comments/default/6975881673654232942'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5066603456638955842/7543838760117889964/comments/default/6975881673654232942'/><link rel='alternate' type='text/html' href='http://www.soatothecloud.com/2008/09/soap-faults-too-much-information.html?showComment=1222094340000#c6975881673654232942' 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/2008/09/soap-faults-too-much-information.html' ref='tag:blogger.com,1999:blog-5066603456638955842.post-7543838760117889964' source='http://www.blogger.com/feeds/5066603456638955842/posts/default/7543838760117889964' 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-704236809346892554</id><published>2008-09-22T09:28:00.000+01:00</published><updated>2008-09-22T09:28:00.000+01:00</updated><title type='text'>Apache Axis strips out the stack trace before send...</title><content type='html'>Apache Axis strips out the stack trace before sending a fault back over the wire, unless you explicitly set the "development.system" flag. By default: no stack trace. What it does do (and it is a feature which I must bear the blame for) is send the hostname of the failing system over. Because it is a lot easier to track down failures in a cluster if you can see which machine is failing. For better security we'd really need to have a remap table to assign false names to the hosts</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5066603456638955842/7543838760117889964/comments/default/704236809346892554'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5066603456638955842/7543838760117889964/comments/default/704236809346892554'/><link rel='alternate' type='text/html' href='http://www.soatothecloud.com/2008/09/soap-faults-too-much-information.html?showComment=1222072080000#c704236809346892554' title=''/><author><name>SteveL</name><uri>http://www.blogger.com/profile/07654931341335136008</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='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.soatothecloud.com/2008/09/soap-faults-too-much-information.html' ref='tag:blogger.com,1999:blog-5066603456638955842.post-7543838760117889964' source='http://www.blogger.com/feeds/5066603456638955842/posts/default/7543838760117889964' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-414720007'/></entry></feed>
