<?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>Laughing Meme &#187; security</title>
	<atom:link href="http://laughingmeme.org/tag/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://laughingmeme.org</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 02 Apr 2012 20:12:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>New Amazon AWS Signature Version 2 is  &#8220;OAuth-compatible&#8221;</title>
		<link>http://laughingmeme.org/2008/12/30/new-amazon-aws-signature-version-2-is-oauth-compatible/</link>
		<comments>http://laughingmeme.org/2008/12/30/new-amazon-aws-signature-version-2-is-oauth-compatible/#comments</comments>
		<pubDate>Tue, 30 Dec 2008 20:10:22 +0000</pubDate>
		<dc:creator>Kellan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[aws]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[crypo]]></category>
		<category><![CDATA[dork]]></category>
		<category><![CDATA[oauth]]></category>
		<category><![CDATA[openweb]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[simpledb]]></category>

		<guid isPermaLink="false">http://laughingmeme.org/?p=4138</guid>
		<description><![CDATA[Spent a couple hours last night writing the core of a stripped down, PHP4 compatible API library for Amazon SimpleDB (in the style of my (http://laughingmeme.org/2008/12/11/my-flickr-api-library-for-php/) library. Just not a fan of abstraction for its own sake). In the process I discovered that Amazon had revved the version on their &#8220;Signature Method&#8221;. Which is good [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/briannegus/1397852047/" title="Enigma rotors by Brian Negus, on Flickr"><img src="http://farm2.static.flickr.com/1200/1397852047_3128ce06df.jpg" width="500" height="375" alt="Enigma rotors" /></a></p>

<p>Spent a couple hours last night writing the core of a stripped down, PHP4 compatible API library for <a href="http://aws.amazon.com/simpledb/">Amazon SimpleDB</a> (in the style of my <a href="http://laughingmeme.org/2008/12/11/my-flickr-api-library-for-php/">flickr simple</a> library.  Just not a fan of abstraction for its own sake).  In the process I discovered that Amazon had <a href="http://developer.amazonwebservices.com/connect/entry.jspa?externalID=1928">revved the version on their &#8220;Signature Method&#8221;</a>.  Which is good news as SignatureVersion 1 contains a classic crypto-blunder in its design, namely it encourages collisions.  (<a href="http://www.daemonology.net/blog/2008-12-18-AWS-signature-version-1-is-insecure.html">more details</a>, also <a href="http://www.phreedom.org/research/rogue-ca/">why you care about collisions</a>)  To date the solution was use SSL, and wait patiently, very patiently.  So yay for Amazon fixing this!  And in fairness, first couple of drafts of the OAuth spec contained a similar issue, though it got ironed out quickly.  Yay for many eyes and the open web.</p>

<h3>&#8220;OAuth-compatible&#8221; signing</h3>

<p>Great things are more secure, good news and all, but that isn&#8217;t what caught my eye.  This block of text did:
<blockquote><em>
Here is what&#8217;s different about forming the string to sign for signature version 2:</p>

<ul>
<li>You include additional components of the request in the string to sign</li>
<li>You include the query string control parameters (the equals signs and ampersands) in the string to sign</li>
<li>You sort the query string parameters using byte ordering</li>
<li>You URL encode the query string parameters and their values before signing the request
</em></blockquote></li>
</ul>

<p>You really have to be an <a href="http://oauth.net/core/1.0/#anchor1">OAuth-dork</a> to find anything special with that paragraph, but if you were, you&#8217;d notice that those 4 bullets are an incredibly succinct description of generating an OAuth signature. (in fact a more succinct description then appears anywhere in the <a href="http://oauth.net/core/1.0/">OAuth documentation</a></p>

<p>Which meant that my SimpleDB library can reuse most of the logic from my OAuth library to do the trickiest part of the API call, namely the signing.  (Additionally it means that security reviews of both protocols support each other)</p>

<p>So my AWS signing method is a approximately a dozen characters different then my OAuth method and as straightforward as:</p>

<pre><code>    .....

    $signature = aws_request_signature(AWS_SECRET_KEY, $http_method, AWS_SIMPLEDB_SERVICEURL, $parameters);
    $parameters['Signature'] = $signature;

    $encoded_params = array();

    foreach ($parameters as $k =&gt; $v){
        $encoded_params[] = oauth_urlencodeRFC3986($k).'='.oauth_urlencodeRFC3986($v);
    }

    $request_url = AWS_SIMPLEDB_SERVICEURL . '?' . implode('&amp;', $encoded_params);

    .....

    function aws_request_signature($key, $http_method, $service_url, $parameters) {
        $base_string = aws_base_string($http_method, $service_url, $parameters);
        return base64_encode(hash_hmac('sha1', $base_string, $key, true));
    }

    function aws_base_string($http_method, $service_url, $parameters) {
        $parsed = parse_url($service_url);

        $host = strtolower($parsed['host']);
        $path = $parsed['path'] ? $parsed['path'] : '/';
        $data = array(
            strtoupper($http_method),
            $host,
            $path,
            oauth_normalized_request_params($parameters)
        );

        $base_string = join("\n", $data);
        return $base_string;
    }
</code></pre>

<p>(this uses my personal OAuth library, but your library should have similar methods)</p>

<p>Sure made my jobs of implementing a library easier.  If you&#8217;re going to invent a new crypto protocol, please consider doing like Amazon, and re-using the basic building blocks. (which also happen to be best practices)</p>
]]></content:encoded>
			<wfw:commentRss>http://laughingmeme.org/2008/12/30/new-amazon-aws-signature-version-2-is-oauth-compatible/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Flickr: Beehive Launches without Phishing</title>
		<link>http://laughingmeme.org/2008/03/31/flickr-beehive-launches-without-phishing/</link>
		<comments>http://laughingmeme.org/2008/03/31/flickr-beehive-launches-without-phishing/#comments</comments>
		<pubDate>Tue, 01 Apr 2008 00:30:45 +0000</pubDate>
		<dc:creator>Kellan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[data portability]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[oauth]]></category>
		<category><![CDATA[open data]]></category>
		<category><![CDATA[phishing]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[social graph]]></category>

		<guid isPermaLink="false">http://laughingmeme.org/2008/03/31/flickr-beehive-launches-without-phishing/</guid>
		<description><![CDATA[Congrats to waferbaby, mroth, and ph for totally owning on today&#8217;s friend importing feature (aka beehive). We&#8217;re a little late to the game but its awfully nice to be able to launch with zero screenscraping, and zero phishing-creepy-give-us-your-password. This is what data-portability-open-data-delegated-trust future looks like. update: and yes, we&#8217;re cheating, because Yahoo&#8217;s addressbook API is [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/gustavog/2309283830/" title="Overview of relationships between groups, removing highly redundant groups by GustavoG, on Flickr"><img src="http://farm3.static.flickr.com/2365/2309283830_f3b71c9c0d.jpg" width="500" height="500" alt="Overview of relationships between groups, removing highly redundant groups" /></a></p>

<p>Congrats to <a href="http://waferbaby.com/">waferbaby</a>, <a href="http://mroth.info/">mroth</a>, and <a href="http://www.paulhammond.org/journal/">ph</a> for totally owning on today&#8217;s <a href="http://blog.flickr.net/en/2008/03/31/find-your-friends/">friend importing feature</a> (aka beehive). </p>

<p>We&#8217;re a little late to the game but its awfully nice to be able to launch with zero screenscraping, and zero phishing-creepy-give-us-your-password. This is what data-portability-open-data-delegated-trust future looks like.</p>

<p><strong>update:</strong> and yes, we&#8217;re cheating, because Yahoo&#8217;s addressbook API is still internal+partners only.  We&#8217;re working on it.</p>
]]></content:encoded>
			<wfw:commentRss>http://laughingmeme.org/2008/03/31/flickr-beehive-launches-without-phishing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Your Email Password: A True Horror Story About Why We Need Authentication Standards &#8211; ReadWriteWeb</title>
		<link>http://laughingmeme.org/2008/03/09/your-email-password-a-true-horror-story-about-why-we-need-authentication-standards-readwriteweb/</link>
		<comments>http://laughingmeme.org/2008/03/09/your-email-password-a-true-horror-story-about-why-we-need-authentication-standards-readwriteweb/#comments</comments>
		<pubDate>Sun, 09 Mar 2008 17:56:34 +0000</pubDate>
		<dc:creator>Kellan</dc:creator>
				<category><![CDATA[Aside]]></category>
		<category><![CDATA[authentication]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[oauth]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://laughingmeme.org/2008/03/09/your-email-password-a-true-horror-story-about-why-we-need-authentication-standards-readwriteweb/</guid>
		<description><![CDATA[OAuth FTW]]></description>
			<content:encoded><![CDATA[<p>OAuth FTW</p>
<p><a href='http://www.readwriteweb.com/archives/your_email_password_a_true_hor.php'>http://www.readwriteweb.com/archives/your_email_password_a_true_hor.php</a></p>]]></content:encoded>
			<wfw:commentRss>http://laughingmeme.org/2008/03/09/your-email-password-a-true-horror-story-about-why-we-need-authentication-standards-readwriteweb/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>apophenia: algorithms for dumb security questions</title>
		<link>http://laughingmeme.org/2007/12/19/apophenia-algorithms-for-dumb-security-questions/</link>
		<comments>http://laughingmeme.org/2007/12/19/apophenia-algorithms-for-dumb-security-questions/#comments</comments>
		<pubDate>Wed, 19 Dec 2007 17:20:13 +0000</pubDate>
		<dc:creator>Kellan</dc:creator>
				<category><![CDATA[Aside]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[life hack]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[questions]]></category>
		<category><![CDATA[secret words]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://laughingmeme.org/2007/12/19/apophenia-algorithms-for-dumb-security-questions/</guid>
		<description><![CDATA[AwesomeLifeHack SecurityQuestions Booyah]]></description>
			<content:encoded><![CDATA[<p>AwesomeLifeHack SecurityQuestions Booyah</p>
<p><a href='http://www.zephoria.org/thoughts/archives/2007/11/15/algorithms_for.html'>http://www.zephoria.org/thoughts/archives/2007/11/15/algorithms_for.html</a></p>]]></content:encoded>
			<wfw:commentRss>http://laughingmeme.org/2007/12/19/apophenia-algorithms-for-dumb-security-questions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to calculate a Base64 encoded HMAC-SHA1 in PHP for OAuth</title>
		<link>http://laughingmeme.org/2007/11/08/how-to-calculate-a-base64-encoded-hmac-sha1-in-php-for-oauth/</link>
		<comments>http://laughingmeme.org/2007/11/08/how-to-calculate-a-base64-encoded-hmac-sha1-in-php-for-oauth/#comments</comments>
		<pubDate>Thu, 08 Nov 2007 19:51:53 +0000</pubDate>
		<dc:creator>Kellan</dc:creator>
				<category><![CDATA[Aside]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[hashing]]></category>
		<category><![CDATA[hmac-sha1]]></category>
		<category><![CDATA[oauth]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://laughingmeme.org/2007/11/08/how-to-calculate-a-base64-encoded-hmac-sha1-in-php-for-oauth/</guid>
		<description><![CDATA[HMAC-SHA1 is the suggested default signing algorithm for OAuth 1.0 Core. This is a code snippet showing how to calculate a valid OAuth HMAC-SHA1 signature using PHP4 without any PEAR dependencies.]]></description>
			<content:encoded><![CDATA[<p>HMAC-SHA1 is the suggested default signing algorithm for OAuth 1.0 Core.  This is a code snippet showing how to calculate a valid OAuth HMAC-SHA1 signature using PHP4 without any PEAR dependencies.</p>
<p><a href='http://laughingmeme.org/code/hmacsha1.php.txt'>http://laughingmeme.org/code/hmacsha1.php.txt</a></p>]]></content:encoded>
			<wfw:commentRss>http://laughingmeme.org/2007/11/08/how-to-calculate-a-base64-encoded-hmac-sha1-in-php-for-oauth/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Facebook Application Smashing</title>
		<link>http://laughingmeme.org/2007/09/12/facebook-application-smashing/</link>
		<comments>http://laughingmeme.org/2007/09/12/facebook-application-smashing/#comments</comments>
		<pubDate>Wed, 12 Sep 2007 19:24:07 +0000</pubDate>
		<dc:creator>Kellan</dc:creator>
				<category><![CDATA[Aside]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://laughingmeme.org/2007/09/12/facebook-application-smashing/</guid>
		<description><![CDATA[Blog chronicling the new field of exploiting 3rd party FB apps security vulnerabilities. (via aaron)]]></description>
			<content:encoded><![CDATA[<p>Blog chronicling the new field of exploiting 3rd party FB apps security vulnerabilities. (via <a href="http://aaronland.info">aaron</a>)</p>
<p><a href='http://defacebooked.blogspot.com/'>http://defacebooked.blogspot.com/</a></p>]]></content:encoded>
			<wfw:commentRss>http://laughingmeme.org/2007/09/12/facebook-application-smashing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Crumbling Illusion of Phone Network Security</title>
		<link>http://laughingmeme.org/2007/04/11/crumbling-illusion-of-phone-network-security/</link>
		<comments>http://laughingmeme.org/2007/04/11/crumbling-illusion-of-phone-network-security/#comments</comments>
		<pubDate>Wed, 11 Apr 2007 17:35:37 +0000</pubDate>
		<dc:creator>Kellan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[jabber]]></category>
		<category><![CDATA[organization]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[sms]]></category>
		<category><![CDATA[telco]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[xmpp]]></category>

		<guid isPermaLink="false">http://laughingmeme.org/2007/04/11/crumbling-illusion-of-phone-network-security/</guid>
		<description><![CDATA[It&#8217;s been &#8220;big news&#8221; that Twitter and Jott are vulnerable to CallerID spoofing. Can&#8217;t speak for the Jott kids, but I know this isn&#8217;t news to Twitter kids, given that Blaine and Rabble were demonstrating CallerID spoofing (and related techniques) over Asterisk several years ago. This is one of those security problems that everyone knows [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/thristian/121148235/" title="Photo Sharing"><img src="http://farm1.static.flickr.com/34/121148235_ffbaaa03d6.jpg" width="500" height="375" alt="Tetanus Factory" /></a></p>

<p>It&#8217;s been <a href="http://www.oreillynet.com/onlamp/blog/2007/04/twitter_and_jott_vulnerable_to.html">&#8220;big news&#8221;</a> that Twitter and Jott are <a href="http://www.oreillynet.com/onlamp/blog/2007/04/twitter_and_jott_vulnerable_to.html">vulnerable to CallerID spoofing</a>.  Can&#8217;t speak for the Jott kids, but I <strong>know</strong> this isn&#8217;t news to Twitter kids, given that <a href="http://romeda.org">Blaine</a> and <a href="http://anarchogeek.com">Rabble</a> were demonstrating CallerID spoofing (and related techniques) over Asterisk several years ago.</p>

<p>This is one of those security problems that everyone knows about and quietly agrees not to speak too loudly about because alternatives like Nitesh proposes are usability disasters.</p>

<p>The carriers have designed their networks around the assumption of monopoly practices and zero information sharing, and it means they&#8217;re slow and make dumb mistakes.  (I always think of it as a nice parallel to the current U.S. administration &#8212; organizational tactics constrain your imagination <strong>and</strong> your coping techniques)</p>

<p><a href="http://xmpp.org">Jabber</a>, btw <a href="http://www.xmpp.org/rfcs/rfc3920.html#rfc.section.14.3">doesn&#8217;t have this problem</a>.</p>

<p>Photo by <a href="http://www.flickr.com/photos/thristian">thristian</a></p>
]]></content:encoded>
			<wfw:commentRss>http://laughingmeme.org/2007/04/11/crumbling-illusion-of-phone-network-security/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GoDaddy redirects DNS for security site at MySpace&#8217;s requeust</title>
		<link>http://laughingmeme.org/2007/01/26/godaddy-redirects-dns-for-security-site-at-myspaces-requeust/</link>
		<comments>http://laughingmeme.org/2007/01/26/godaddy-redirects-dns-for-security-site-at-myspaces-requeust/#comments</comments>
		<pubDate>Fri, 26 Jan 2007 18:07:54 +0000</pubDate>
		<dc:creator>Kellan</dc:creator>
				<category><![CDATA[Aside]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[censorship]]></category>
		<category><![CDATA[corporate]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[godaddy]]></category>
		<category><![CDATA[infrastructure]]></category>
		<category><![CDATA[myspace]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://laughingmeme.org/2007/01/26/godaddy-redirects-dns-for-security-site-at-myspaces-requeust/</guid>
		<description><![CDATA[Like I&#8217;ve said before, like you need another reason not to use GoDaddy, especially if you&#8217;re doing anything political or controversial in nature.]]></description>
			<content:encoded><![CDATA[<p>Like I&#8217;ve said <a href="http://laughingmeme.org/category/godaddy">before</a>, like you need another reason not to use GoDaddy, especially if you&#8217;re doing anything political or controversial in nature.</p>
<p><a href='http://blog.wired.com/27bstroke6/2007/01/myspace_alleged.html'>http://blog.wired.com/27bstroke6/2007/01/myspace_alleged.html</a></p>]]></content:encoded>
			<wfw:commentRss>http://laughingmeme.org/2007/01/26/godaddy-redirects-dns-for-security-site-at-myspaces-requeust/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flickr: API Endpoint Changes (Attention Flash Developers!)</title>
		<link>http://laughingmeme.org/2006/08/16/flickr-api-endpoint-changes-attention-flash-developers/</link>
		<comments>http://laughingmeme.org/2006/08/16/flickr-api-endpoint-changes-attention-flash-developers/#comments</comments>
		<pubDate>Wed, 16 Aug 2006 19:15:00 +0000</pubDate>
		<dc:creator>Kellan</dc:creator>
				<category><![CDATA[Aside]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://lm.quxx.info/?p=3440</guid>
		<description><![CDATA[APIs moving to api.flickr.com, old endpoints will work indefinitely, unless you&#8217;re using Flash.]]></description>
			<content:encoded><![CDATA[<p>APIs moving to api.flickr.com, old endpoints will work indefinitely, unless you&#8217;re using Flash.</p>
<p><a href='http://groups.yahoo.com/group/yws-flickr/message/2034'>http://groups.yahoo.com/group/yws-flickr/message/2034</a></p>]]></content:encoded>
			<wfw:commentRss>http://laughingmeme.org/2006/08/16/flickr-api-endpoint-changes-attention-flash-developers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;&#8230;airline passengers are still advised not to bring storms on board aircraft with them, even tropical depressions you might believe would be harmless.&#8221;</title>
		<link>http://laughingmeme.org/2006/08/11/airline-passengers-are-still-advised-not-to-bring-storms-on-board-aircraft-with-them-even-tropical-depressions-you-might-believe-would-be-harmless/</link>
		<comments>http://laughingmeme.org/2006/08/11/airline-passengers-are-still-advised-not-to-bring-storms-on-board-aircraft-with-them-even-tropical-depressions-you-might-believe-would-be-harmless/#comments</comments>
		<pubDate>Fri, 11 Aug 2006 20:31:00 +0000</pubDate>
		<dc:creator>Kellan</dc:creator>
				<category><![CDATA[Aside]]></category>
		<category><![CDATA[climatechange]]></category>
		<category><![CDATA[corporate]]></category>
		<category><![CDATA[culture]]></category>
		<category><![CDATA[frenzy]]></category>
		<category><![CDATA[media]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[terrorism]]></category>

		<guid isPermaLink="false">http://lm.quxx.info/?p=3435</guid>
		<description><![CDATA[&#8220;And now back to your regularly scheduled security theater.&#8221;]]></description>
			<content:encoded><![CDATA[<p>&#8220;And now back to your regularly scheduled security theater.&#8221; </p>
<p><a href='http://www.ambiguous.org/archive.php3/2006/08/10#quinn2006810.1'>http://www.ambiguous.org/archive.php3/2006/08/10#quinn2006810.1</a></p>]]></content:encoded>
			<wfw:commentRss>http://laughingmeme.org/2006/08/11/airline-passengers-are-still-advised-not-to-bring-storms-on-board-aircraft-with-them-even-tropical-depressions-you-might-believe-would-be-harmless/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tag Stalking</title>
		<link>http://laughingmeme.org/2005/12/26/tag-stalking/</link>
		<comments>http://laughingmeme.org/2005/12/26/tag-stalking/#comments</comments>
		<pubDate>Tue, 27 Dec 2005 05:16:00 +0000</pubDate>
		<dc:creator>Kellan</dc:creator>
				<category><![CDATA[culture]]></category>
		<category><![CDATA[del.icio.us]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[metadata]]></category>
		<category><![CDATA[privacy]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[tagging]]></category>
		<category><![CDATA[tags]]></category>

		<guid isPermaLink="false">http://lm.quxx.info/?p=3176</guid>
		<description><![CDATA[Some tags I check when trying to figure out who someone is/what their story is: me, friends, work, home, weather, craigslist. Also a quick visual scan for place names. Even folks who&#8217;ve managed to stay fairly anonymous leak a lot of info in their tags.]]></description>
			<content:encoded><![CDATA[<p>Some tags I check when trying to figure out who someone is/what their story is:  <a href="http://www.flickr.com/photos/tags/me/">me</a>, <a href="http://del.icio.us/tag/friends">friends</a>, <a href="http://flickr.com/photos/tags/work/">work</a>, <a href="http://del.icio.us/tag/home">home</a>, <a href="http://del.icio.us/tag/weather">weather</a>, <a href="http://del.icio.us/tag/craigslist">craigslist</a>.  Also a quick visual scan for place names.  </p>

<p>Even folks who&#8217;ve managed to stay fairly anonymous leak a lot of info in their tags.  </p>
]]></content:encoded>
			<wfw:commentRss>http://laughingmeme.org/2005/12/26/tag-stalking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Schneier: 30,000 People Mistakenly Put on Terrorist Watch List</title>
		<link>http://laughingmeme.org/2005/12/07/schneier-30000-people-mistakenly-put-on-terrorist-watch-list/</link>
		<comments>http://laughingmeme.org/2005/12/07/schneier-30000-people-mistakenly-put-on-terrorist-watch-list/#comments</comments>
		<pubDate>Wed, 07 Dec 2005 19:58:00 +0000</pubDate>
		<dc:creator>Kellan</dc:creator>
				<category><![CDATA[Aside]]></category>
		<category><![CDATA[flying]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[st]]></category>
		<category><![CDATA[travel]]></category>

		<guid isPermaLink="false">http://lm.quxx.info/?p=3145</guid>
		<description><![CDATA[In good news, after being &#8220;randomly&#8221; flagged for extra screening, on every flight I took for 3 years (dozens and dozens), the last few times I&#8217;ve breezed on with no more then the usual level of harassment.]]></description>
			<content:encoded><![CDATA[<p>In good news, after being &#8220;randomly&#8221; flagged for extra screening, on <a href="http://laughingmeme.org/tag/flying+security">every flight I took for 3 years</a> (dozens and dozens), the last few times I&#8217;ve breezed on with no more then the usual level of harassment. </p>
<p><a href='http://www.schneier.com/blog/archives/2005/12/30000_people_mi.html'>http://www.schneier.com/blog/archives/2005/12/30000_people_mi.html</a></p>]]></content:encoded>
			<wfw:commentRss>http://laughingmeme.org/2005/12/07/schneier-30000-people-mistakenly-put-on-terrorist-watch-list/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>rc3.org: Changing the rules</title>
		<link>http://laughingmeme.org/2005/11/16/rc3org-changing-the-rules/</link>
		<comments>http://laughingmeme.org/2005/11/16/rc3org-changing-the-rules/#comments</comments>
		<pubDate>Wed, 16 Nov 2005 16:19:00 +0000</pubDate>
		<dc:creator>Kellan</dc:creator>
				<category><![CDATA[Aside]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[digital]]></category>
		<category><![CDATA[drm]]></category>
		<category><![CDATA[itunes]]></category>
		<category><![CDATA[media]]></category>
		<category><![CDATA[ownership]]></category>
		<category><![CDATA[privacy]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[sony]]></category>

		<guid isPermaLink="false">http://lm.quxx.info/?p=3112</guid>
		<description><![CDATA[Sony is changing the cost/benefit analysis of buying CDs vs buying tracks at Apple&#8217;s iTunes.]]></description>
			<content:encoded><![CDATA[<p>Sony is changing the cost/benefit analysis of buying CDs vs buying tracks at Apple&#8217;s iTunes.</p>
<p><a href='http://rc3.org/2005/11/changing_the_rules.php'>http://rc3.org/2005/11/changing_the_rules.php</a></p>]]></content:encoded>
			<wfw:commentRss>http://laughingmeme.org/2005/11/16/rc3org-changing-the-rules/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MagpieRSS 0.72</title>
		<link>http://laughingmeme.org/2005/11/05/magpierss-072/</link>
		<comments>http://laughingmeme.org/2005/11/05/magpierss-072/#comments</comments>
		<pubDate>Sun, 06 Nov 2005 01:42:00 +0000</pubDate>
		<dc:creator>Kellan</dc:creator>
				<category><![CDATA[magpie]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://lm.quxx.info/?p=3085</guid>
		<description><![CDATA[MagpieRSS 0.72 is now available. This release addresses last week&#8217;s security advisory by applying the patch I released to the list last week. In particular this advisory applies to you if you accept unflitered URLs from strangers for passing to Magpie, and you have curl+SSL support compiled into Magpie.]]></description>
			<content:encoded><![CDATA[<p><a href="http://sourceforge.net/project/shownotes.php?release_id=368750">MagpieRSS 0.72</a> is now available.  This release addresses <a href="http://www.sec-consult.com/216.html">last week&#8217;s
security advisory</a> by applying the <a href="http://laughingmeme.org/code/snoopy_curl_escape.patch">patch</a> I released to the list last
week.</p>

<p>In particular this advisory applies to you if you accept unflitered
URLs from strangers for passing to Magpie, and you have curl+SSL
support compiled into Magpie.</p>
]]></content:encoded>
			<wfw:commentRss>http://laughingmeme.org/2005/11/05/magpierss-072/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Magpie Vulnerability</title>
		<link>http://laughingmeme.org/2005/10/27/magpie-vulnerability/</link>
		<comments>http://laughingmeme.org/2005/10/27/magpie-vulnerability/#comments</comments>
		<pubDate>Thu, 27 Oct 2005 19:37:00 +0000</pubDate>
		<dc:creator>Kellan</dc:creator>
				<category><![CDATA[magpie]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[snoopy]]></category>

		<guid isPermaLink="false">http://lm.quxx.info/?p=3066</guid>
		<description><![CDATA[In (hopefully) unrelated news, I was just notified that there is a security vulnerability in Snoopy, and hence Magpie. Apparently there is an attack that leverages the fact that Snoopy passes unfiltered arguments to curl that allows for arbitrary code execution. Here is a note I just sent to the mailing list If you&#8217;re running [...]]]></description>
			<content:encoded><![CDATA[<p>In (hopefully) <a href="http://laughingmeme.org/articles/2005/10/27/wordpress-vulnerability-paypal-vulnerability">unrelated</a> news, I was just notified that there is a <a href="http://www.sec-consult.com/216.html">security vulnerability in Snoopy</a>, and hence Magpie.  Apparently there is an attack that leverages the fact that Snoopy passes unfiltered arguments to curl that allows for arbitrary code execution.  Here is a note I just sent to the mailing list</p>

<blockquote>
  <p>If you&#8217;re running Magpie in a context where you allow people to submit
  unreviewed URLs, and you have PHP compiled with cURL SSL support then
  this vulnerability effects you.</p>
  
  <p>Given a specially crafted (and very simple) URL, an attacker can
  execute arbitrary code in the web server context.  There is no
  escalation possibly with this vulnerability, though potentially it
  could be combined with other attacks to allow some sort of permissions
  escalation.</p>
  
  <p>I&#8217;ll will release a patch, and a new version this evening unless
  someone beats me to it. (unfortunately we haven&#8217;t been given a grace
  period here)</p>
</blockquote>

<p>Its a variation on the traditional PHP null terminated string attack.  (Does make me wish I had made it to <a href="http://shiflett.org/">Chris&#8217;</a> talk when he was here a few weeks ago, rather then being 1 of 3000 people turned away from the Murakami talk at MIT)</p>

<p><strong>update 2005-10-28T15:33Z</strong>:  I&#8217;ve got a <a href="http://laughingmeme.org/code/snoopy_curl_escape.patch">patch</a> out, waiting for a few people to sanity check it, before rolling out a new release.</p>
]]></content:encoded>
			<wfw:commentRss>http://laughingmeme.org/2005/10/27/magpie-vulnerability/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Vulnerability?  Paypal Vulnerability?</title>
		<link>http://laughingmeme.org/2005/10/27/wordpress-vulnerability-paypal-vulnerability/</link>
		<comments>http://laughingmeme.org/2005/10/27/wordpress-vulnerability-paypal-vulnerability/#comments</comments>
		<pubDate>Thu, 27 Oct 2005 19:19:00 +0000</pubDate>
		<dc:creator>Kellan</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[magpie]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://lm.quxx.info/?p=3065</guid>
		<description><![CDATA[Someone seems to have successfully modified the content of a post on the WordPress powered Magpie blog to insert link spam into the content of an existing post. Is there a known vulnerability that allows this? I admit I&#8217;ve been remiss in following WordPress security advisories? Interestingly only one post has been altered, and that [...]]]></description>
			<content:encoded><![CDATA[<p>Someone seems to have successfully modified the content of a post on the <a href="http://wordpress.org">WordPress</a> powered <a href="http://magpie.laughingmeme.org/blog/">Magpie blog</a> to insert link spam into the content of an existing post.  Is there a known vulnerability that allows this?  I admit I&#8217;ve been remiss in following WordPress security advisories?</p>

<p>Interestingly only one post has been altered, and that post has the distinction of being the post with an embedded <a href="http://paypal.com">Paypal</a> donation button.</p>

<p>I&#8217;ve yanked the blog down for now until I have time to figure out what happened. (and I just got <acronym title="Laughing Meme">LM</acronym> back online)</p>
]]></content:encoded>
			<wfw:commentRss>http://laughingmeme.org/2005/10/27/wordpress-vulnerability-paypal-vulnerability/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySpace hacked:  Viral vectors mutating and spreading among previously unaffectable communities.</title>
		<link>http://laughingmeme.org/2005/10/13/myspace-hacked-viral-vectors-mutating-and-spreading-among-previously-unaffectable-communities/</link>
		<comments>http://laughingmeme.org/2005/10/13/myspace-hacked-viral-vectors-mutating-and-spreading-among-previously-unaffectable-communities/#comments</comments>
		<pubDate>Thu, 13 Oct 2005 21:13:31 +0000</pubDate>
		<dc:creator>Kellan</dc:creator>
				<category><![CDATA[Aside]]></category>
		<category><![CDATA[community]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[myspace]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[social]]></category>
		<category><![CDATA[society]]></category>
		<category><![CDATA[theory]]></category>
		<category><![CDATA[wow]]></category>

		<guid isPermaLink="false">http://lm.quxx.info/?p=3052</guid>
		<description><![CDATA[First Warcraft and now MySpace. Apparently all social ventures are susceptible to viruses. (Is that a new law?)]]></description>
			<content:encoded><![CDATA[<p>First Warcraft and now MySpace.  Apparently all social ventures are susceptible to viruses. (Is that a new law?)</p>
<p><a href='http://fast.info/myspace/'>http://fast.info/myspace/</a></p>]]></content:encoded>
			<wfw:commentRss>http://laughingmeme.org/2005/10/13/myspace-hacked-viral-vectors-mutating-and-spreading-among-previously-unaffectable-communities/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EBay not actually acquiring VeriSign</title>
		<link>http://laughingmeme.org/2005/10/13/ebay-not-actually-acquiring-verisign/</link>
		<comments>http://laughingmeme.org/2005/10/13/ebay-not-actually-acquiring-verisign/#comments</comments>
		<pubDate>Thu, 13 Oct 2005 19:49:55 +0000</pubDate>
		<dc:creator>Kellan</dc:creator>
				<category><![CDATA[Aside]]></category>
		<category><![CDATA[acquisition]]></category>
		<category><![CDATA[reputation]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[verisign]]></category>

		<guid isPermaLink="false">http://lm.quxx.info/?p=3051</guid>
		<description><![CDATA[So we won&#8217;t be seeing &#8216;Do you trust this certificate? A++++ excellent certificate, would do secure business with it again!!!&#8217; anytime soon. A pity. I would have rated the comment +5 insightful, not +5 funny.]]></description>
			<content:encoded><![CDATA[<p>So we won&#8217;t be seeing &#8216;Do you trust this certificate?  A++++ excellent certificate, would do secure business with it again!!!&#8217; anytime soon.  A pity.  I would have rated the comment +5 insightful, not +5 funny.</p>
<p><a href='http://slashdot.org/comments.pl?sid=164910&cid=13763325'>http://slashdot.org/comments.pl?sid=164910&cid=13763325</a></p>]]></content:encoded>
			<wfw:commentRss>http://laughingmeme.org/2005/10/13/ebay-not-actually-acquiring-verisign/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Happy Days!  Security support for Sarge is here.</title>
		<link>http://laughingmeme.org/2005/05/16/happy-days-security-support-for-sarge-is-here/</link>
		<comments>http://laughingmeme.org/2005/05/16/happy-days-security-support-for-sarge-is-here/#comments</comments>
		<pubDate>Mon, 16 May 2005 17:51:33 +0000</pubDate>
		<dc:creator>Kellan</dc:creator>
				<category><![CDATA[Aside]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[sarge]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://lm.quxx.info/?p=2934</guid>
		<description><![CDATA[Now you can stop feeling so guilty/anxious about having deployed on Sarge. Almost as good as actually being released]]></description>
			<content:encoded><![CDATA[<p>Now you can stop feeling so guilty/anxious about having deployed on Sarge.  Almost as good as actually being released</p>
<p><a href='http://lists.debian.org/debian-devel-announce/2005/05/msg00010.html'>http://lists.debian.org/debian-devel-announce/2005/05/msg00010.html</a></p>]]></content:encoded>
			<wfw:commentRss>http://laughingmeme.org/2005/05/16/happy-days-security-support-for-sarge-is-here/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ruby, HTTP, and open-uri</title>
		<link>http://laughingmeme.org/2005/04/12/ruby-http-and-open-uri/</link>
		<comments>http://laughingmeme.org/2005/04/12/ruby-http-and-open-uri/#comments</comments>
		<pubDate>Tue, 12 Apr 2005 15:01:33 +0000</pubDate>
		<dc:creator>Kellan</dc:creator>
				<category><![CDATA[http]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://lm.quxx.info/?p=1069</guid>
		<description><![CDATA[Ruby&#8217;s obvious HTTP client library is Net::HTTP (&#8216;net/http&#8217;), however it feels a little bit awkward to use and lacks nice features like following redirects. If you&#8217;re coming from LWP you&#8217;ll be disappointed. However there is a nice wrapper, open-uri that makes it simple to add custom headers, provides loop aware redirect following, etc. And it [...]]]></description>
			<content:encoded><![CDATA[<p>Ruby&#8217;s obvious HTTP client library is <a href="http://www.ruby-doc.org/stdlib/libdoc/net/http/rdoc/index.html">Net::HTTP</a> (&#8216;net/http&#8217;), however it feels a little bit awkward to use and lacks nice features like following redirects.  If you&#8217;re coming from LWP you&#8217;ll be disappointed. </p>

<p>However there is a nice wrapper, <a href="http://www.ruby-doc.org/stdlib/libdoc/open-uri/rdoc/index.html">open-uri</a> that makes it simple to add custom headers, provides loop aware redirect following, etc.  And it provides a super slick drop in replacement for the <a href="http://www.ruby-doc.org/core/classes/Kernel.html#M001754"><code>Kernel#open</code></a> method, so that you can open either a local file, or a remote URL&#8230;.</p>

<h3>Danger Will Robinson! Danger</h3>

<p>At this point, alarm bells are going off in the heads&#8217; of the PHP programmers in the audience, who are thinking to themselves, </p>

<blockquote>
  <p>&#8220;Wow, someone went to the trouble of making Ruby act PHP-like!  Down to replicating one of the most commonly exploited security holes!&#8221;  </p>
</blockquote>

<p>Sincerest forms of flattery aside, that seems like a really bad idea.  Admittedly you have to explicitly <code>require 'open-uri'</code> in order to activate the feature, howev er as the best of the Ruby HTTP clients (I&#8217;ve found to date) that seems like a decent bet in many web apps, and once you&#8217;ve done that all future calls to <code>open</code> can be hijacked to download remote files.</p>

<p>Now, this being Ruby, there is probably some clever solution involving de-aliasing the <code>open</code> method which makes all these problems go away.  Still this seems like an opportunity for the PHP community, with its near infinite experience with having web apps exploited, to teach the Ruby community something.  Overloading your core file open semantic to transparently open remote resources is a bad idea, full stop.</p>
]]></content:encoded>
			<wfw:commentRss>http://laughingmeme.org/2005/04/12/ruby-http-and-open-uri/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

