<?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: Securing PHP Contact Forms</title>
	<atom:link href="http://f6design.com/journal/2006/12/09/securing-php-contact-forms/feed/" rel="self" type="application/rss+xml" />
	<link>http://f6design.com/journal/2006/12/09/securing-php-contact-forms/</link>
	<description>Adventures in web and graphic design</description>
	<lastBuildDate>Tue, 31 Aug 2010 07:09:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jonathan</title>
		<link>http://f6design.com/journal/2006/12/09/securing-php-contact-forms/comment-page-1/#comment-38124</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Tue, 01 Jan 2008 21:44:23 +0000</pubDate>
		<guid isPermaLink="false">http://f6design.com/journal/2006/12/09/securing-php-contact-forms/#comment-38124</guid>
		<description>Regge - That&#039;s a good question. No, definitely only use &#039;light&#039; checking on the message field. Even that isn&#039;t necessary, since the message never appears in the email header, which is the only vulnerable part of an email. The only reason I included &#039;light&#039; checking in FormBuilder is because spambots often try any inject into every field of a form, which means the recipient still gets their probe emails, which is annoying. If you find header injection probes are an issue for you, then the &#039;light&#039; check might be useful to nip them in the bud.</description>
		<content:encoded><![CDATA[<p>Regge &#8211; That&#8217;s a good question. No, definitely only use &#8216;light&#8217; checking on the message field. Even that isn&#8217;t necessary, since the message never appears in the email header, which is the only vulnerable part of an email. The only reason I included &#8216;light&#8217; checking in FormBuilder is because spambots often try any inject into every field of a form, which means the recipient still gets their probe emails, which is annoying. If you find header injection probes are an issue for you, then the &#8216;light&#8217; check might be useful to nip them in the bud.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Regge</title>
		<link>http://f6design.com/journal/2006/12/09/securing-php-contact-forms/comment-page-1/#comment-38095</link>
		<dc:creator>Regge</dc:creator>
		<pubDate>Tue, 01 Jan 2008 18:57:26 +0000</pubDate>
		<guid isPermaLink="false">http://f6design.com/journal/2006/12/09/securing-php-contact-forms/#comment-38095</guid>
		<description>Jonathan, thank you for your very interesting article and also for your Formbuilder script, which is so cool.
One question, do you advise to use &quot;full&quot; headerinjectioncheck for the message part of a contact form? Don&#039;t users often add breaks to there message? I know I do. I see that the &quot;light&quot; headerinjectioncheck works line returns, how different is it? how less secure?
Thanks again for all your work and efforts to share your knowledge. As a beginner programmer, I really appreciate it.
Regge</description>
		<content:encoded><![CDATA[<p>Jonathan, thank you for your very interesting article and also for your Formbuilder script, which is so cool.<br />
One question, do you advise to use &#8220;full&#8221; headerinjectioncheck for the message part of a contact form? Don&#8217;t users often add breaks to there message? I know I do. I see that the &#8220;light&#8221; headerinjectioncheck works line returns, how different is it? how less secure?<br />
Thanks again for all your work and efforts to share your knowledge. As a beginner programmer, I really appreciate it.<br />
Regge</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: inspirationbit</title>
		<link>http://f6design.com/journal/2006/12/09/securing-php-contact-forms/comment-page-1/#comment-923</link>
		<dc:creator>inspirationbit</dc:creator>
		<pubDate>Sat, 24 Feb 2007 05:54:32 +0000</pubDate>
		<guid isPermaLink="false">http://f6design.com/journal/2006/12/09/securing-php-contact-forms/#comment-923</guid>
		<description>Jonathan, thanks for the link to another Plugin for Contact page. I think I like this one better, so will be changing mine. 
Yes, it&#039;s great that the plugin writers too are aware of these exploits and write such a solid and professional code.</description>
		<content:encoded><![CDATA[<p>Jonathan, thanks for the link to another Plugin for Contact page. I think I like this one better, so will be changing mine.<br />
Yes, it&#8217;s great that the plugin writers too are aware of these exploits and write such a solid and professional code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan</title>
		<link>http://f6design.com/journal/2006/12/09/securing-php-contact-forms/comment-page-1/#comment-922</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Sat, 24 Feb 2007 05:46:15 +0000</pubDate>
		<guid isPermaLink="false">http://f6design.com/journal/2006/12/09/securing-php-contact-forms/#comment-922</guid>
		<description>@inspirationbit: On this site I&#039;ve been using Dagon Design&#039;s &lt;a href=&quot;http://www.dagondesign.com/articles/secure-form-mailer-plugin-for-wordpress/&quot;&gt;&quot;Secure Form Mailer Plugin&quot;&lt;/a&gt; for Wordpress, which has inbuilt header injection protection, and I&#039;ve found it to be very solid. I think it&#039;s great that most developer&#039;s are now aware of this exploit and are writing scripts that patch against it.</description>
		<content:encoded><![CDATA[<p>@inspirationbit: On this site I&#8217;ve been using Dagon Design&#8217;s <a href="http://www.dagondesign.com/articles/secure-form-mailer-plugin-for-wordpress/">&#8220;Secure Form Mailer Plugin&#8221;</a> for Wordpress, which has inbuilt header injection protection, and I&#8217;ve found it to be very solid. I think it&#8217;s great that most developer&#8217;s are now aware of this exploit and are writing scripts that patch against it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: inspirationbit</title>
		<link>http://f6design.com/journal/2006/12/09/securing-php-contact-forms/comment-page-1/#comment-918</link>
		<dc:creator>inspirationbit</dc:creator>
		<pubDate>Sat, 24 Feb 2007 02:00:41 +0000</pubDate>
		<guid isPermaLink="false">http://f6design.com/journal/2006/12/09/securing-php-contact-forms/#comment-918</guid>
		<description>This is a very good post and warning. Good news for those of you who uses Contact Form plugin for Wordpress: it includes a function that checks for a malicious input.
function wpcf_is_malicious($input) {...}

The concept is very similar to Jonathan&#039;s, but it checks the input slightly differently:
$bad_inputs = array(&quot;\r&quot;, &quot;\n&quot;, &quot;mime-version&quot;, &quot;content-type&quot;, &quot;cc:&quot;, &quot;to:&quot;);

I think if we add Jonathan&#039;s values to it as well, it will be a rock solid protection from a header injection.</description>
		<content:encoded><![CDATA[<p>This is a very good post and warning. Good news for those of you who uses Contact Form plugin for Wordpress: it includes a function that checks for a malicious input.<br />
function wpcf_is_malicious($input) {&#8230;}</p>
<p>The concept is very similar to Jonathan&#8217;s, but it checks the input slightly differently:<br />
$bad_inputs = array(&#8220;\r&#8221;, &#8220;\n&#8221;, &#8220;mime-version&#8221;, &#8220;content-type&#8221;, &#8220;cc:&#8221;, &#8220;to:&#8221;);</p>
<p>I think if we add Jonathan&#8217;s values to it as well, it will be a rock solid protection from a header injection.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cctech</title>
		<link>http://f6design.com/journal/2006/12/09/securing-php-contact-forms/comment-page-1/#comment-390</link>
		<dc:creator>cctech</dc:creator>
		<pubDate>Mon, 25 Dec 2006 14:39:37 +0000</pubDate>
		<guid isPermaLink="false">http://f6design.com/journal/2006/12/09/securing-php-contact-forms/#comment-390</guid>
		<description>Really great post Jonathan.  We have run into this very thing a few times and have been doing research on a fix :&#124;.  Awesome job! :)</description>
		<content:encoded><![CDATA[<p>Really great post Jonathan.  We have run into this very thing a few times and have been doing research on a fix <img src='http://f6design.com/journal/wp-includes/images/smilies/icon_neutral.gif' alt=':|' class='wp-smiley' /> .  Awesome job! <img src='http://f6design.com/journal/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clive Walker</title>
		<link>http://f6design.com/journal/2006/12/09/securing-php-contact-forms/comment-page-1/#comment-186</link>
		<dc:creator>Clive Walker</dc:creator>
		<pubDate>Tue, 12 Dec 2006 15:14:09 +0000</pubDate>
		<guid isPermaLink="false">http://f6design.com/journal/2006/12/09/securing-php-contact-forms/#comment-186</guid>
		<description>Thank for the email re escaping characters. FYI, I tried to reply to your email but I received an undelivered message email back [relay access denied] Not sure if this is a problem with your server but thought you&#039;d want to know.</description>
		<content:encoded><![CDATA[<p>Thank for the email re escaping characters. FYI, I tried to reply to your email but I received an undelivered message email back [relay access denied] Not sure if this is a problem with your server but thought you&#8217;d want to know.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clive Walker</title>
		<link>http://f6design.com/journal/2006/12/09/securing-php-contact-forms/comment-page-1/#comment-180</link>
		<dc:creator>Clive Walker</dc:creator>
		<pubDate>Mon, 11 Dec 2006 22:54:16 +0000</pubDate>
		<guid isPermaLink="false">http://f6design.com/journal/2006/12/09/securing-php-contact-forms/#comment-180</guid>
		<description>Very timely for me because of a client having the problem you describe. Your function looks like a good solution.</description>
		<content:encoded><![CDATA[<p>Very timely for me because of a client having the problem you describe. Your function looks like a good solution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emil Stenström</title>
		<link>http://f6design.com/journal/2006/12/09/securing-php-contact-forms/comment-page-1/#comment-179</link>
		<dc:creator>Emil Stenström</dc:creator>
		<pubDate>Mon, 11 Dec 2006 20:48:39 +0000</pubDate>
		<guid isPermaLink="false">http://f6design.com/journal/2006/12/09/securing-php-contact-forms/#comment-179</guid>
		<description>Thanks again, I had no idea of this one (sadly). Together with SQL injections these two probably are the biggest security hole on the net today.</description>
		<content:encoded><![CDATA[<p>Thanks again, I had no idea of this one (sadly). Together with SQL injections these two probably are the biggest security hole on the net today.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
