<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: fixing JForum XSS error in PM module with quotes	</title>
	<atom:link href="https://www.selikoff.net/2014/05/24/fixing-jforum-xss-error-in-pm-module-with-quotes/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.selikoff.net/2014/05/24/fixing-jforum-xss-error-in-pm-module-with-quotes/</link>
	<description>Java/J2EE Software Development and Technology Discussion Blog</description>
	<lastBuildDate>Sun, 28 Sep 2014 14:13:20 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>
	<item>
		<title>
		By: fixing clickjacking and brute force login for jforum &#124; Down Home Country Coding With Scott Selikoff and Jeanne Boyarsky		</title>
		<link>https://www.selikoff.net/2014/05/24/fixing-jforum-xss-error-in-pm-module-with-quotes/comment-page-1/#comment-126518</link>

		<dc:creator><![CDATA[fixing clickjacking and brute force login for jforum &#124; Down Home Country Coding With Scott Selikoff and Jeanne Boyarsky]]></dc:creator>
		<pubDate>Sun, 28 Sep 2014 14:13:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.selikoff.net/?p=5210#comment-126518</guid>

					<description><![CDATA[[&#8230;] blogging about some of the security fixes we&#8217;ve made in the CodeRanch fork of JForum such as XSS with quotes and CSRF. Today it is time to write about Clickjacking and preventing brute force [&#8230;]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] blogging about some of the security fixes we&#8217;ve made in the CodeRanch fork of JForum such as XSS with quotes and CSRF. Today it is time to write about Clickjacking and preventing brute force [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jeanne Boyarsky		</title>
		<link>https://www.selikoff.net/2014/05/24/fixing-jforum-xss-error-in-pm-module-with-quotes/comment-page-1/#comment-100917</link>

		<dc:creator><![CDATA[Jeanne Boyarsky]]></dc:creator>
		<pubDate>Sun, 07 Sep 2014 23:58:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.selikoff.net/?p=5210#comment-100917</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.selikoff.net/2014/05/24/fixing-jforum-xss-error-in-pm-module-with-quotes/comment-page-1/#comment-95649&quot;&gt;Dan&lt;/a&gt;.

Dan,
Approach #1 does escape properly. (It&#039;s escaping all HTML, not just the quotes.) The problem is that we need to render HTML code so it doesn&#039;t display quotes/bold/etc properly.

For approach #2, you need to change the Java code.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.selikoff.net/2014/05/24/fixing-jforum-xss-error-in-pm-module-with-quotes/comment-page-1/#comment-95649">Dan</a>.</p>
<p>Dan,<br />
Approach #1 does escape properly. (It&#8217;s escaping all HTML, not just the quotes.) The problem is that we need to render HTML code so it doesn&#8217;t display quotes/bold/etc properly.</p>
<p>For approach #2, you need to change the Java code.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Dan		</title>
		<link>https://www.selikoff.net/2014/05/24/fixing-jforum-xss-error-in-pm-module-with-quotes/comment-page-1/#comment-95649</link>

		<dc:creator><![CDATA[Dan]]></dc:creator>
		<pubDate>Fri, 05 Sep 2014 01:58:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.selikoff.net/?p=5210#comment-95649</guid>

					<description><![CDATA[Hi Jeanne, just wondering the easy fix really fix the problem? 

I tested on my own with the double quote fix; if the injection use &quot; instead of &#039;, we still can get the xss.

just wondering &quot;The system doesn’t escape single quotes&quot; - does it escape double quote? 

Also I am not clear of how do you approach the #2; shall we change the java code? or the Freemarker templates?

Regards,

Dan]]></description>
			<content:encoded><![CDATA[<p>Hi Jeanne, just wondering the easy fix really fix the problem? </p>
<p>I tested on my own with the double quote fix; if the injection use &#8221; instead of &#8216;, we still can get the xss.</p>
<p>just wondering &#8220;The system doesn’t escape single quotes&#8221; &#8211; does it escape double quote? </p>
<p>Also I am not clear of how do you approach the #2; shall we change the java code? or the Freemarker templates?</p>
<p>Regards,</p>
<p>Dan</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
