<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>Yet Another PHP Security Blog</title>
    <link>http://www.php-security.net/</link>
    <description>Odds and ends about PHP security</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.5.5 - http://www.s9y.org/</generator>
    
    

<item>
    <title>PHP 5.4.3 and 5.3.13 released - security issues fixed</title>
    <link>http://www.php-security.net/archives/13-PHP-5.4.3-and-5.3.13-released-security-issues-fixed.html</link>
    
    <comments>http://www.php-security.net/archives/13-PHP-5.4.3-and-5.3.13-released-security-issues-fixed.html#comments</comments>
    <wfw:comment>http://www.php-security.net/wfwcomment.php?cid=13</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.php-security.net/rss.php?version=2.0&amp;type=comments&amp;cid=13</wfw:commentRss>
    

    <author>nospam@example.com (Christopher Kunz)</author>
    <content:encoded>
    Two versions of PHP were just released and fix different security issues. With that, I think the problems that caused a stir last week are now fixed. Read more here: &lt;a href=&quot;http://www.christopher-kunz.de/archives/281-PHP-5.4.3-and-5.3.13-fix-several-security-issues.html&quot;&gt;PHP 5.4.3 and 5.3.13 fix several security issues&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Further reading on php.net:&lt;br /&gt;
&lt;ul&gt;&lt;br /&gt;
&lt;li&gt;Release announcement: &lt;a href=&quot;http://www.php.net/archive/2012.php#id2012-05-08-1&quot;&gt;PHP 5.4.3/5.3.13 release announcement&lt;/a&gt;&lt;br /&gt;
&lt;li&gt;Download page: &lt;a href=&quot;http://php.net/get/php-5.4.3.tar.gz/from/a/mirror&quot;&gt;PHP 5.4.3&lt;/a&gt;, &lt;a href=&quot;http://php.net/get/php-5.3.13.tar.gz/from/a/mirror&quot;&gt;5.3.13&lt;/a&gt;&lt;br /&gt;
&lt;/ul&gt; 
    </content:encoded>

    <pubDate>Tue, 08 May 2012 21:44:14 +0200</pubDate>
    <guid isPermaLink="false">http://www.php-security.net/archives/13-guid.html</guid>
    <category>bugfix</category>
<category>CVE-2012-1823</category>
<category>CVE-2012-2311</category>
<category>CVE-2012-2329</category>
<category>PHP</category>
<category>release announcement</category>

</item>
<item>
    <title>Mitigation for CVE-2012-1823 / CVE-2012-2311?</title>
    <link>http://www.php-security.net/archives/11-Mitigation-for-CVE-2012-1823-CVE-2012-2311.html</link>
    
    <comments>http://www.php-security.net/archives/11-Mitigation-for-CVE-2012-1823-CVE-2012-2311.html#comments</comments>
    <wfw:comment>http://www.php-security.net/wfwcomment.php?cid=11</wfw:comment>

    <slash:comments>6</slash:comments>
    <wfw:commentRss>http://www.php-security.net/rss.php?version=2.0&amp;type=comments&amp;cid=11</wfw:commentRss>
    

    <author>nospam@example.com (Christopher Kunz)</author>
    <content:encoded>
    &lt;p&gt;So PHP 5.4.2 and 5.3.12 do not fix the security issue reported in CVE-2012-1823 and discussed &lt;a href=&quot;http://www.php-security.net/archives/9-New-PHP-CGI-exploit-CVE-2012-1823.html&quot;&gt;here earlier&lt;/a&gt;. The original advisory has a number of mitigation opportunities and an additional patch, and PHP.net has a RewriteRule online as a hotfix. &lt;/p&gt;&lt;br /&gt;
&lt;p&gt;&lt;i&gt;Update&lt;/i&gt; As mentioned on Eindbazen: The current fixes have a problem with whitespace BEFORE the actual Query String, i.e. &amp;#8220;/?+-s&amp;#8221;. This only applies in the wrapper environment outlined by eindbazen.net where command-line arguments are passed without double quotes to PHP, as in &lt;tt&gt;/usr/bin/php5 $@&lt;/tt&gt;.&lt;/p&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;p&gt;I want to discuss now shortly if any of these properly mitigate the issue. &lt;br /&gt;
&lt;ol&gt;&lt;br /&gt;
&lt;li&gt;PHP 5.4.2 &lt;strong&gt;does not mitigate the issue&lt;/strong&gt;.&lt;br /&gt;
&lt;li&gt;RewriteRule on php.net: The RewriteRule posted on PHP.net is useless. I can&amp;#8217;t go into much detail here but it &lt;strong&gt;does not mitigate&lt;/strong&gt; the issue properly. &lt;br /&gt;
&lt;li&gt;RewriteRule on bugs.php.net: The comments in the original advisory show a RewriteRule that was posted on bugs.php.net originally. I tried this against an unpatched PHP 5.3.3-7+Squeeze8 and it seems to &lt;strong&gt;correctly filter all malicious query strings&lt;/strong&gt;, including my variations. It has a tiny bit of overshoot though (for example, passing negative integers to the query string will trigger a 403), but it&amp;#8217;s not practically relevant, I think. &lt;br /&gt;
&lt;li&gt;Binary Wrapper and Option-stripping patch on eindbazen.net: The guys who wrote the original advisory wrote a patch and a php-cgi wrapper that strips all &amp;#8220;-xyz&amp;#8221; options respectively skips option processing when in CGI mode. &lt;strong&gt;This works well, too&lt;/strong&gt;. &lt;br /&gt;
&lt;li&gt;Patch &amp;#8220;third option&amp;#8221; on eindbazen.net: This patch &lt;strong&gt;does not properly mitigate the issue&lt;/strong&gt;.&lt;br /&gt;
&lt;/ol&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;So, right now you will probably want to use the following RewriteRule:&lt;br /&gt;
&lt;pre&gt;&lt;br /&gt;
RewriteEngine on&lt;br /&gt;
RewriteCond %{QUERY_STRING} ^[^=]*$&lt;br /&gt;
RewriteCond %{QUERY_STRING} %2d|\- [NC]&lt;br /&gt;
RewriteRule .? - [F,L]&lt;br /&gt;
&lt;/pre&gt;&lt;br /&gt;
This is the easiest way to hot-fix the issue until a working PHP version is released.&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;In the meantime, CVE-2012-2311 has been issued to address the fact that PHP 5.4.2 and 5.3.12 (which I never tested, btw, but the patch is identical) do not properly fix the problem.&lt;/p&gt;&lt;br /&gt;
Read the original advisory &lt;a href=&quot;http://eindbazen.net/2012/05/php-cgi-advisory-cve-2012-1823/&quot; rel=&quot;nofollow external&quot;&gt;here&lt;/a&gt; and my earlier article &lt;a href=&quot;http://www.php-security.net/archives/9-New-PHP-CGI-exploit-CVE-2012-1823.html&quot;&gt;here&lt;/a&gt;. 
    </content:encoded>

    <pubDate>Fri, 04 May 2012 08:23:24 +0200</pubDate>
    <guid isPermaLink="false">http://www.php-security.net/archives/11-guid.html</guid>
    <category>5.2</category>
<category>5.4</category>
<category>CGI</category>
<category>CVE-2012-1823</category>
<category>exploit</category>
<category>mitigation</category>
<category>mod_rewrite</category>
<category>PHP</category>
<category>remote code execution</category>
<category>vulnerability</category>

</item>
<item>
    <title>New PHP-CGI exploit: CVE-2012-1823, PoC exploit</title>
    <link>http://www.php-security.net/archives/9-New-PHP-CGI-exploit-CVE-2012-1823,-PoC-exploit.html</link>
    
    <comments>http://www.php-security.net/archives/9-New-PHP-CGI-exploit-CVE-2012-1823,-PoC-exploit.html#comments</comments>
    <wfw:comment>http://www.php-security.net/wfwcomment.php?cid=9</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://www.php-security.net/rss.php?version=2.0&amp;type=comments&amp;cid=9</wfw:commentRss>
    

    <author>nospam@example.com (Christopher Kunz)</author>
    <content:encoded>
    &lt;p&gt;&lt;b&gt;&lt;i&gt;This article contains various edits to account for recent developments. Stay tuned. &lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;Some folks found an interesting bug while playing CTF at Nullcon 2012. If you run PHP as a plain CGI or via mod_cgid (not FastCGI), you can pass command-line arguments like the &amp;#8220;-s&amp;#8221; switch (&amp;#8220;show source&amp;#8221;) to PHP via the query string. &lt;/p&gt;&lt;br /&gt;
&lt;p&gt;For example, for any PHP-CGI script on your machine, you could see the source via &amp;#8220;http://localhost/test.php?-s&amp;#8221;. In this case, your web server&amp;#8217;s access restrictions still apply. There is more parameters in the PHP-CGI binary (try &amp;#8220;php-cgi -h&amp;#8221; for a list) which can be used. Some are not available directly (for example, the infamous &amp;#8220;-r&amp;#8221; parameter that allows to directly pass code for execution doesn&amp;#8217;t work), but others are ready for (ab-)use. &lt;/p&gt;&lt;br /&gt;
This constitutes an easy way to do the following: &lt;br /&gt;
&lt;ul&gt;&lt;br /&gt;
&lt;li&gt;Find out database passwords, file locations etc.&lt;br /&gt;
&lt;li&gt;DoS the server&lt;br /&gt;
&lt;li&gt;Execute any file on the server&amp;#8217;s local disk&lt;br /&gt;
&lt;li&gt;If you have the possibility to upload a file to the server, execute &lt;strong&gt;any&lt;/strong&gt; code&lt;br /&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;p&gt;&lt;strike&gt;I haven&amp;#8217;t found a way to reliably execute remote code without a file upload possibility, but I am sure there are better exploit writers than me already working on this. As far as I understand the original advisory, there is a trivial RCE possibility that I have probably missed.&lt;/strike&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;Remote Code execution is universally possible and not mitigated by any current security setting or extension. There are workarounds (see below).&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;As the authors of the advisory point out, several months have passed since initial reporting. The PHP team does not currently seem to have a universally compatible fix, so there are several external ways for mitigation (also mentioned in the advisory). However, emergency releases are scheduled for tomorrow, May 4th, according to well-informed sources. It&amp;#8217;s not quite clear why the fix took so long (and if the disclosure timeline in the advisory accurately reflects both sides of the incident), but the fact that someone accidentially disclosed the bug on reddit sure didn&amp;#8217;t help. &lt;br /&gt;
Read the original advisory here: &lt;a href=&quot;http://eindbazen.net/2012/05/php-cgi-advisory-cve-2012-1823/&quot;&gt;http://eindbazen.net/2012/05/php-cgi-advisory-cve-2012-1823/&lt;br /&gt;
&lt;/a&gt;&lt;br /&gt;
&lt;b&gt;Update:&lt;/b&gt; PHP 5.3.12 and PHP 5.4.2 have just been released and at least 5.4.2 does not, I repeat &lt;b&gt;does not&lt;/b&gt; fix the bug. Right now, mod_rewrite or other external mitigation seems the only way to circumvent the issue. &lt;a href=&quot;http://www.php.net/archive/2012.php#id2012-05-03-1&quot; rel=&quot;external nofollow&quot;&gt;PHP 5.3.12 / 5.4.2 release statement&lt;/a&gt;&lt;br /&gt;
&lt;p&gt;&lt;br /&gt;
More Updates and PoC exploit in the extended section&lt;/P&gt; &lt;br /&gt;&lt;a href=&quot;http://www.php-security.net/archives/9-New-PHP-CGI-exploit-CVE-2012-1823,-PoC-exploit.html#extended&quot;&gt;Continue reading &quot;New PHP-CGI exploit: CVE-2012-1823, PoC exploit&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Thu, 03 May 2012 13:46:03 +0200</pubDate>
    <guid isPermaLink="false">http://www.php-security.net/archives/9-guid.html</guid>
    <category>5.2</category>
<category>5.4</category>
<category>CGI</category>
<category>CVE-2012-1823</category>
<category>exploit</category>
<category>PHP</category>
<category>PoC</category>
<category>proof of concept</category>
<category>remote code execution</category>
<category>source disclosure</category>
<category>vulnerability</category>

</item>
<item>
    <title>Suhosin 0.9.34-dev installation howto</title>
    <link>http://www.php-security.net/archives/8-Suhosin-0.9.34-dev-installation-howto.html</link>
    
    <comments>http://www.php-security.net/archives/8-Suhosin-0.9.34-dev-installation-howto.html#comments</comments>
    <wfw:comment>http://www.php-security.net/wfwcomment.php?cid=8</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://www.php-security.net/rss.php?version=2.0&amp;type=comments&amp;cid=8</wfw:commentRss>
    

    <author>nospam@example.com (Christopher Kunz)</author>
    <content:encoded>
    &lt;p&gt;With the recently released PHP 5.4, the Suhosin patch and extension were removed from many Linux distribution packages (i.e., Debian et al.) and until three weeks ago, there was no possibility to compile and run the Suhosin extension under PHP 5.4. This little howto shall serve as installation instruction for Debian Wheezy users - your mileage may vary. I blogged about this &lt;a href=&quot;http://www.christopher-kunz.de/archives/278-Upgrade-woes-III-Suhosin-and-PHP-5.4.0.html&quot;&gt;here&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;p&gt;First, make sure you have the appropriate PHP modules installed for your distribution. In Wheezy, you will need at least &lt;tt&gt;php5-common, php5-dev&lt;/tt&gt; and one or more or these: &lt;tt&gt;libapache-mod-php5filter, php5-cli, php5-cgi&lt;/tt&gt;&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;You can install them with&lt;br /&gt;&lt;br /&gt;
&lt;tt&gt;apt-get install php5-common php5-dev php5-cli&lt;/tt&gt;&lt;br /&gt;&lt;br /&gt;
for example.&lt;/p&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;p&gt;Next, we will download, compile and install the Suhosin extension. There is a .tar.gz download here: &lt;a rel=&quot;external nofollow&quot; href=&quot;https://github.com/stefanesser/suhosin/tarball/master&quot;&gt;Github/stefanesser&lt;/a&gt;. Download this file to your &lt;tt&gt;/usr/local/src&lt;/tt&gt; directory:&lt;br /&gt;&lt;br /&gt;
&lt;tt&gt;cd /usr/local/src&lt;br /&gt;&lt;br /&gt;
wget https://github.com/stefanesser/suhosin/tarball/master&lt;br /&gt;&lt;br /&gt;
tar zxvf master&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
Now, let&amp;#8217;s compile the thing. &lt;br /&gt;&lt;br /&gt;
&lt;tt&gt;cd /usr/local/src/stefanesser-suhosin-716a292&lt;br /&gt;&lt;br /&gt;
phpize&lt;/tt&gt;&lt;br /&gt;
This should yield the following output:&lt;br /&gt;&lt;br /&gt;
&lt;pre&gt;Configuring for:&lt;br /&gt;
PHP Api Version:         20100412&lt;br /&gt;
Zend Module Api No:      20100525&lt;br /&gt;
Zend Extension Api No:   220100525&lt;/pre&gt;&lt;br /&gt;
After this, you can run the usual configure command:&lt;br /&gt;&lt;br /&gt;
&lt;pre&gt;./configure&lt;br /&gt;
checking for grep that handles long lines and -e... /bin/grep&lt;br /&gt;
[..]&lt;br /&gt;
config.status: executing libtool commands&lt;/pre&gt;&lt;br /&gt;
Then compile:&lt;br /&gt;
&lt;pre&gt;make&lt;br /&gt;
[..]&lt;br /&gt;
Build complete.&lt;br /&gt;
Don&amp;#8217;t forget to run &amp;#8216;make test&amp;#8217;.&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;
&lt;p&gt;The last step is installation.&lt;br /&gt;&lt;br /&gt;
&lt;pre&gt; make install&lt;br /&gt;
Installing shared extensions:     /usr/lib/php5/20100525/&lt;/pre&gt;&lt;br /&gt;
&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;Now the extension is installed, but not yet configured or activated. Fortunately, Stefan has provided a default configuration file in the distribution tarball that you can just copy over. &lt;br /&gt;
&lt;pre&gt;cp suhosin.ini /etc/php5/conf.d&lt;/pre&gt;&lt;br /&gt;
&lt;/p&gt;&lt;br /&gt;
&lt;p&gt;If you execute &lt;tt&gt;php -v&lt;/tt&gt;, you should now see the following:&lt;br /&gt;
&lt;pre&gt;PHP 5.4.0-3 (cli) (built: Mar 21 2012 20:33:26) &lt;br /&gt;
Copyright (c) 1997-2012 The PHP Group&lt;br /&gt;
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies&lt;br /&gt;
    with Suhosin v0.9.34-dev, Copyright (c) 2007-2012, by SektionEins GmbH&lt;/pre&gt;&lt;br /&gt;
After restarting your web server with &lt;tt&gt;/etc/init.d/apache2 restart&lt;/tt&gt;, you should have a &lt;strong&gt;working Suhosin with PHP 5.4&lt;/strong&gt;! 
    </content:encoded>

    <pubDate>Thu, 03 May 2012 09:44:16 +0200</pubDate>
    <guid isPermaLink="false">http://www.php-security.net/archives/8-guid.html</guid>
    <category>5.4</category>
<category>ext/suhosin</category>
<category>howto</category>
<category>installation</category>
<category>PHP</category>
<category>suhosin</category>

</item>
<item>
    <title>SSL CA Trust relationships and the future</title>
    <link>http://www.php-security.net/archives/7-SSL-CA-Trust-relationships-and-the-future.html</link>
    
    <comments>http://www.php-security.net/archives/7-SSL-CA-Trust-relationships-and-the-future.html#comments</comments>
    <wfw:comment>http://www.php-security.net/wfwcomment.php?cid=7</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.php-security.net/rss.php?version=2.0&amp;type=comments&amp;cid=7</wfw:commentRss>
    

    <author>nospam@example.com (Christopher Kunz)</author>
    <content:encoded>
    There&amp;#8217;s a very good writeup by fellow security analyst Moxie Marlinspike in the ThreatPost blog that details the current issues with SSL and trust roots - and although a little short on actual mitigation ideas - pretty much nails all the problems that we currently have. As a little sugarcoating, he also dismantles the notion that DNSSEC is &amp;#8220;our savior&amp;#8221;.&lt;br /&gt;
&lt;br /&gt;
And there&amp;#8217;s a clever little jab at GoDaddy. &lt;img src=&quot;http://www.php-security.net/templates/GreenMile/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
Go find the article &lt;a href=&quot;https://www.threatpost.com/en_us/blogs/ssl-and-future-authenticity-041111&quot;&gt;here at ThreatPost.&lt;/a&gt; 
    </content:encoded>

    <pubDate>Tue, 12 Apr 2011 09:59:24 +0200</pubDate>
    <guid isPermaLink="false">http://www.php-security.net/archives/7-guid.html</guid>
    <category>Moxie marlinspike</category>
<category>PKI</category>
<category>SSL</category>
<category>web of trust</category>

</item>
<item>
    <title>Month of PHP Security</title>
    <link>http://www.php-security.net/archives/6-Month-of-PHP-Security.html</link>
    
    <comments>http://www.php-security.net/archives/6-Month-of-PHP-Security.html#comments</comments>
    <wfw:comment>http://www.php-security.net/wfwcomment.php?cid=6</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.php-security.net/rss.php?version=2.0&amp;type=comments&amp;cid=6</wfw:commentRss>
    

    <author>nospam@example.com (Christopher Kunz)</author>
    <content:encoded>
    The folks at SektionEins security consulting are starting a new Month of PHP Security. They are currently collecting interesting entries via a public CfP on php-security.org and will publish the most interesting stuff during&lt;strong&gt;May 2010&lt;/strong&gt;  - one item per day.&lt;br /&gt;
&lt;br /&gt;
Papers, Exploits and other stuff related to the following topics can be submitted:&lt;br /&gt;
&lt;ul&gt;&lt;br /&gt;
&lt;li&gt;  New vulnerability in PHP itself&lt;br /&gt;
   &lt;li&gt; New vulnerability in PHP extensions/patches (such as eAccelerator or Suhosin &lt;img src=&quot;http://www.php-security.net/templates/GreenMile/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; )&lt;br /&gt;
   &lt;li&gt; Explain a single topic of PHP application security in a detailed paper&lt;br /&gt;
   &lt;li&gt; Explain a complex vulnerability in/attack against an &amp;#8220;interesting&amp;#8221; PHP application&lt;br /&gt;
    &lt;li&gt; Explain a complex attack method (in a theoretical article) against PHP itself&lt;br /&gt;
    &lt;li&gt; Explain how to attack encrypted PHP applications&lt;br /&gt;
    &lt;li&gt; Release of a new open source PHP security tool&lt;br /&gt;
   &lt;li&gt; Other stuff related to PHP security&lt;br /&gt;
&lt;br /&gt;
&lt;/ul&gt;&lt;br /&gt;
There&amp;#8217;s a bunch of prices, including security conference tickets and Amazon vouchers. You should check it out! &lt;br /&gt;
&lt;br /&gt;
More info: &lt;a href=&quot;http://www.php-security.org/&quot; rel=&quot;nofollow&quot;&gt;http://www.php-security.org/&lt;/a&gt; 
    </content:encoded>

    <pubDate>Sat, 27 Feb 2010 19:44:35 +0100</pubDate>
    <guid isPermaLink="false">http://www.php-security.net/archives/6-guid.html</guid>
    <category>exploit</category>
<category>month of php security</category>
<category>MOPS</category>
<category>PHP</category>
<category>SektionEins</category>
<category>Stefan Esser</category>
<category>vulnerability</category>

</item>
<item>
    <title>Geode, Loki and the implications</title>
    <link>http://www.php-security.net/archives/5-Geode,-Loki-and-the-implications.html</link>
    
    <comments>http://www.php-security.net/archives/5-Geode,-Loki-and-the-implications.html#comments</comments>
    <wfw:comment>http://www.php-security.net/wfwcomment.php?cid=5</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.php-security.net/rss.php?version=2.0&amp;type=comments&amp;cid=5</wfw:commentRss>
    

    <author>nospam@example.com (Christopher Kunz)</author>
    <content:encoded>
    &lt;em&gt;(Preface: Most of the scenarios I am going to point out have actually been around for a long time, since Loki toolbar existed for a while now. However, I live under a stone and seem to learn things a million years after the &amp;#8220;in crowd&amp;#8221;. So, no flaming pls.)&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;
So, the Mozilla Labs have released an experimental Geode plugin that is a preview for possible future native features in the Firefox mainline (and derived) browsers. The plugin basically provides a possibility for web sites to receive the user&amp;#8217;s current physical location on a fairly precise scale. &lt;br /&gt;
&lt;br /&gt;
I have played with the plug-in a little and found that it is between 10 and 50 meters off in an urban, although not very densely populated area of Hannover, Germany. This is surely not GPS-quality positioning, but it works indoors and gives a detailed enough ballpark figure to enable most &amp;#8220;where&amp;#8217;s the next café&amp;#8221;-like business models. &lt;br /&gt;
&lt;br /&gt;
The whole endeavor is part of an upcoming W3C spec for geolocation and thus somewhat high-profile and &amp;#8220;official&amp;#8221;. This is no longer a niche project, or at least aims not to be. Sure enough, my interest was sparked and I dug a little deeper.&lt;br /&gt;
 &lt;br /&gt;&lt;a href=&quot;http://www.php-security.net/archives/5-Geode,-Loki-and-the-implications.html#extended&quot;&gt;Continue reading &quot;Geode, Loki and the implications&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Thu, 09 Oct 2008 16:24:44 +0200</pubDate>
    <guid isPermaLink="false">http://www.php-security.net/archives/5-guid.html</guid>
    
</item>
<item>
    <title>Upcoming article series regarding security - some thoughts</title>
    <link>http://www.php-security.net/archives/4-Upcoming-article-series-regarding-security-some-thoughts.html</link>
    
    <comments>http://www.php-security.net/archives/4-Upcoming-article-series-regarding-security-some-thoughts.html#comments</comments>
    <wfw:comment>http://www.php-security.net/wfwcomment.php?cid=4</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.php-security.net/rss.php?version=2.0&amp;type=comments&amp;cid=4</wfw:commentRss>
    

    <author>nospam@example.com (Christopher Kunz)</author>
    <content:encoded>
    After throwing the &lt;a href=&quot;http://www.php-security.net/archives/3-X.509-PKI-login-with-PHP-and-Apache.html&quot;&gt;first article about PKI and PHP&lt;/a&gt; at you with relatively few explanation about why I am doing this, I thought I&amp;#8217;d post something that explains a bit more in detail. &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;&lt;a href=&quot;http://www.php-security.net/archives/4-Upcoming-article-series-regarding-security-some-thoughts.html#extended&quot;&gt;Continue reading &quot;Upcoming article series regarding security - some thoughts&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Tue, 03 Jun 2008 17:11:03 +0200</pubDate>
    <guid isPermaLink="false">http://www.php-security.net/archives/4-guid.html</guid>
    
</item>
<item>
    <title>X.509 PKI login with PHP and Apache</title>
    <link>http://www.php-security.net/archives/3-X.509-PKI-login-with-PHP-and-Apache.html</link>
    
    <comments>http://www.php-security.net/archives/3-X.509-PKI-login-with-PHP-and-Apache.html#comments</comments>
    <wfw:comment>http://www.php-security.net/wfwcomment.php?cid=3</wfw:comment>

    <slash:comments>9</slash:comments>
    <wfw:commentRss>http://www.php-security.net/rss.php?version=2.0&amp;type=comments&amp;cid=3</wfw:commentRss>
    

    <author>nospam@example.com (Christopher Kunz)</author>
    <content:encoded>
    &lt;h3&gt;Preface&lt;/h3&gt;
As some of you know, I&amp;#8217;m currently working in an environment that is very much about security in terms of &amp;#8220;how do I determine for sure who is accessing my service while having all access encrypted&amp;#8221;. Since grid computing (that&amp;#8217;s what I&amp;#8217;m currently doing) also is very much about Single-sign on and delegation of rights, username/password authentication schemes don&amp;#8217;t quite do it for us. Thus, a PKI (public key infrastructure) based on X.509 is employed.
&lt;br /&gt;
&lt;br /&gt;
Huh?&lt;br /&gt;
 &lt;br /&gt;
Acronyms-a-plenty, you think. Well, it&amp;#8217;s not so bad at all. What we call X.509 certificates is what you would call &amp;#8220;SSL Certificates&amp;#8221;. 
The correct name for those certificates is &amp;#8220;X.509 certificate&amp;#8221; and that&amp;#8217;s what I&amp;#8217;m going to refer to. Whatever name you call the child, it is what you already know and probably use - the certificates that make you able to verify you&amp;#8217;re actually buying at amazon.com. More generally speaking, X.509 certificates can be mutually used by servers and clients alike to authenticate themselves to the other party. We can exploit this feature to get away from traditional knowledge-based credentials towards possession-based credentials. 

 &lt;br /&gt;&lt;a href=&quot;http://www.php-security.net/archives/3-X.509-PKI-login-with-PHP-and-Apache.html#extended&quot;&gt;Continue reading &quot;X.509 PKI login with PHP and Apache&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Fri, 30 May 2008 12:22:28 +0200</pubDate>
    <guid isPermaLink="false">http://www.php-security.net/archives/3-guid.html</guid>
    <category>authentication</category>
<category>AuthN</category>
<category>certificate</category>
<category>howto</category>
<category>login</category>
<category>PHP</category>
<category>PKI</category>
<category>X.509</category>

</item>
<item>
    <title>This is what this blog is about</title>
    <link>http://www.php-security.net/archives/2-This-is-what-this-blog-is-about.html</link>
    
    <comments>http://www.php-security.net/archives/2-This-is-what-this-blog-is-about.html#comments</comments>
    <wfw:comment>http://www.php-security.net/wfwcomment.php?cid=2</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.php-security.net/rss.php?version=2.0&amp;type=comments&amp;cid=2</wfw:commentRss>
    

    <author>nospam@example.com (Christopher Kunz)</author>
    <content:encoded>
    &lt;!-- s9ymdb:1 --&gt;&lt;img class=&quot;serendipity_image_left&quot; width=&quot;560&quot; height=&quot;174&quot; style=&quot;float: left; border: 0px; padding-left: 5px; padding-right: 5px;&quot; src=&quot;http://www.php-security.net/uploads/1781.strip.print.gif&quot; alt=&quot;&quot;  /&gt;&lt;br clear=&quot;all&quot; /&gt; 
    </content:encoded>

    <pubDate>Fri, 30 May 2008 12:17:02 +0200</pubDate>
    <guid isPermaLink="false">http://www.php-security.net/archives/2-guid.html</guid>
    
</item>

</channel>
</rss>
