public_html/docs/english/changes.html
author Dirk Haun <dirk@haun-online.de>
Sun, 04 Oct 2009 13:32:11 +0200
branchHEAD
changeset 7358 b6d086ec0e01
parent 7274 805a6d632c3e
child 7375 62255fe7e5f9
permissions -rw-r--r--
More consistency for the Mail Users dialog (cf. bug #0000992)
     1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
     2 <html>
     3 <head>
     4   <title>Geeklog Documentation - Changes</title>
     5   <link rel="stylesheet" type="text/css" href="../docstyle.css" title="Dev Stylesheet">
     6 </head>
     7 
     8 <body>
     9 <p><a href="http://www.geeklog.net/" style="background:transparent"><img src="../images/newlogo.gif" alt="Geeklog" width="243" height="90"></a></p>
    10 <div class="menu"><a href="index.html">Geeklog Documentation</a> - Changes</div>
    11 
    12 <h1>Changes</h1>
    13 
    14 <p>This document is intended to give a quick overview over the most important
    15 and / or obvious changes. For a detailed list of changes, please consult the
    16 <a href="../history">ChangeLog</a>. The file <tt>docs/changed-files</tt> has a
    17 list of files that have been changed since the last release.</p>
    18 
    19 <h2><a name="changes161">Geeklog 1.6.1</a></h2>
    20 
    21 <h3>New Features and Improvements</h3>
    22 
    23 <ul>
    24 <li>Geeklog now lets you enter meta descriptions and meta keywords for the main
    25     page, for stories, topics, static pages, and polls. Please note that these
    26     meta tags <a href="http://www.mattcutts.com/blog/keywords-meta-tag-in-web-search/">may not be used</a> by some search engines.</li>
    27 <li>You can now have one featured story per topic (for stories set to "Show
    28     only in Topic").</li>
    29 <li>New autotags now allow you to embed polls in stories and everywhere else
    30     where autotags are allowed.</li>
    31 <li>Minor security enhancement: "Important" cookies (like the session cookies)
    32     are now created with the HttpOnly flag set. This will help avoid some XSS
    33     attacks, provided your browser supports this flag.</li>
    34 </ul>
    35 
    36 <h3>Bugfixes</h3>
    37 
    38 <ul>
    39 <li>The admin group for the Static Pages plugin was created with a wrong name
    40     in Geeklog 1.6.0 (fresh installs only).</li>
    41 </ul>
    42 
    43 <h2><a name="changes160sr2">Geeklog 1.6.0sr2</a></h2>
    44 
    45 <p>This release addresses the following security issue:</p>
    46 <ul>
    47 <li>Unauthorized file uploads were possible through FCKeditor.<br>
    48 Uploaded files still had to go through FCKeditor's filter, so it was not possible to upload scripts (and the integrity of the Geeklog site as such was not in danger). There were, however, reports that this was used to host malware.<br>
    49 This update prevents use of the upload feature when FCKeditor is disabled and disables it for anonymous users. It also doesn't allow uploading of archive files any more. Furthermore, you need some sort of "edit" permission now to be able to upload files through FCKeditor (this is meant as an interim measure - we will probably introduce a separate "upload" permission in future Geeklog versions).</li>
    50 </ul>
    51 
    52 <p>Other fixes:</p>
    53 <ul>
    54 <li>Fixed installation using InnoDB tables.</li>
    55 <li>Fixed a (non-exploitable) SQL error when auto-updating a story's
    56     commentcode field.</li>
    57 <li>Fixed a wrong function name in the Links plugin.</li>
    58 </ul>
    59 
    60 
    61 <h2><a name="changes160sr1">Geeklog 1.6.0sr1</a></h2>
    62 
    63 <p>This release addresses the following security issues:</p>
    64 <ol>
    65 <li>Gerendi Sandor Attila reported an XSS in the forms to email a user and to
    66     email a story to a friend.</li>
    67 <li>The "Mail Story to a Friend" function didn't check story permissions, so
    68     that it was possible to email a story even if you didn't have the
    69     permissions to view it on the site.</li>
    70 </ol>
    71 
    72 <p>Other fixes:</p>
    73 <ul>
    74 <li>Fixed an SQL error when submitting a story and the story submission queue
    75     was off.</li>
    76 <li>Fixed calls to a nonexistent function <code>COM_outputMessageAndAbort</code>.</li>
    77 </ul>
    78 
    79 
    80 <h2><a name="changes160">Geeklog 1.6.0</a></h2>
    81 
    82 <h3>Results from the Summer of Code</h3>
    83 
    84 <p>This release incorporates the following projects implemented during the
    85 the 2008 Google Summer of Code:</p>
    86 
    87 <ul>
    88 <li>Site migration support and easier plugin installation, by Matt West</li>
    89 <li>Improved search, by Sami Barakat</li>
    90 <li>Comment moderation and editable comments, by Jared Wenerd</li>
    91 </ul>
    92 
    93 <h3>Other changes</h3>
    94 
    95 <ul>
    96 <li>The minimum PHP version required by Geeklog is now <strong>PHP 4.3.0</strong>. Given that the PHP team ended support for PHP 4 in August 2008, you should be
    97 looking into upgrading to PHP 5 anyway.</li>
    98 <li>Includes <a href="http://www.fckeditor.net/">FCKeditor</a> 2.6.4.1</li>
    99 <li>Includes a new plugin, <a href="http://wiki.geeklog.net/index.php/XMLSitemap_Plugin">XMLSitemap</a>, that automatically generates a <a
   100     href="http://www.sitemaps.org/">XML sitemap file</a>, as supported by all
   101     major search engines. Plugin written and provided by mystral-kk.</li>
   102 <li>Several <a href="http://wiki.geeklog.net/index.php/New_Plugin_API_Functions_in_Geeklog_1.6.0">new plugin API functions</a> have been added and existing
   103     functions have been extended.</li>
   104 <li>The included documentation has been moved to <tt>docs/english</tt> to allow
   105     for translations. Links to the documentation from within Geeklog will link
   106     to existing translations for the current language automatically (or fall
   107     back to the English documentation if no suitable translation can be found).</li>
   108 <li>There were a variety of <a href="theme.html#changes">theme changes</a> to
   109     support new functionality and fix inconsistencies in the layout.</li>
   110 </ul>
   111 
   112 <p>This release also includes a number of patches and improvements made by
   113 students applying for participation in the Google Summer of Code 2009. Thank
   114 you!</p>
   115 
   116 
   117 <h2><a name="changes152sr5">Geeklog 1.5.2sr5</a></h2>
   118 
   119 <p>This release addresses the following security issues:</p>
   120 <ol>
   121 <li>Gerendi Sandor Attila reported an XSS in the forms to email a user and to
   122     email a story to a friend.</li>
   123 <li>The "Mail Story to a Friend" function didn't check story permissions, so
   124     that it was possible to email a story even if you didn't have the
   125     permissions to view it on the site.</li>
   126 </ol>
   127 
   128 
   129 <h2><a name="changes152sr4">Geeklog 1.5.2sr4</a></h2>
   130 
   131 <p>Bookoo of the Nine Situations Group posted another SQL injection exploit, targetting an old bug in usersettings.php. As with the previous issues, this allowed an attacker to extract the password hash for any account and is fixed with this release.</p>
   132 
   133 
   134 <h2><a name="changes152sr3">Geeklog 1.5.2sr3</a></h2>
   135 
   136 <p>Bookoo of the Nine Situations Group posted another SQL injection exploit, this time targetting the webservices API. As with the previous issue, this allowed an attacker to extract the password hash for any account and is fixed with this release.</p>
   137 
   138 
   139 <h2><a name="changes152sr2">Geeklog 1.5.2sr2</a></h2>
   140 
   141 <p>Bookoo of the Nine Situations Group posted an SQL injection exploit for glFusion that also works with Geeklog. This issue allowed an attacker to extract the password hash for any account and is fixed with this release.</p>
   142 
   143 
   144 <h2><a name="changes152sr1">Geeklog 1.5.2sr1</a></h2>
   145 
   146 <p>Fernando Mu&ntilde;oz reported a possible <a href="http://en.wikipedia.org/wiki/XSS" title="Click to look up 'XSS' on Wikipedia" style="text-decoration: none; color: black; border-bottom: 1px dotted black;">XSS</a> in the query form on most admin panels that we are fixing with this release.</p>
   147 
   148 
   149 <h2><a name="changes152">Geeklog 1.5.2</a></h2>
   150 
   151 <h3>Bugfixes</h3>
   152 
   153 <ul>
   154 <li>Fixed a bug in the story preview where the story content was lost when
   155     previewing a story with a duplicate story ID.</li>
   156 <li>Fixed another bug in the story preview that caused extra backslashes to
   157     appear in the story's title.</li>
   158 <li>The Trackback editor didn't work since the security token was missing from
   159     the editor template.</li>
   160 <li>Fixed issues with clickable links in plain text postings.</li>
   161 <li>Fixed various problems with updating feeds, e.g. when changing topic
   162     permissions.</li>
   163 </ul>
   164 
   165 <h3>Fixes in the bundled Plugins</h3>
   166 
   167 <ul>
   168 <li>Calendar: You couldn't add a new event to your personal calendar.</li>
   169 <li>Links: Changing a link's ID to one that was already in use overwrote the
   170     other link.</li>
   171 <li>Polls: Changing a poll's ID created a new poll. Also fixed an SQL error
   172     when the poll question contained single quotes.</li>
   173 <li>Static Pages: Saving a static page changed the owner to the user who saved
   174     it.</li>
   175 </ul>
   176 
   177 <h3>Other Changes</h3>
   178 
   179 <ul>
   180 <li>Improved image quality when using gdlib to rescale uploaded images.</li>
   181 <li>Theme changes are documented in the <a href="theme.html#changes">theme
   182     documentation</a>, as usual. There are 4 bugfixes (one of which is in the
   183     templates for the Polls plugin) that should be applied to all themes for
   184     the 1.5.x series.</li>
   185 </ul>
   186 
   187 
   188 <h2><a name="changes151">Geeklog 1.5.1</a></h2>
   189 
   190 <p>Geeklog 1.5.1 is mostly a bugfix release and a recommended upgrade for users
   191 of Geeklog 1.5.0. There were also a few minor feature additions.</p>
   192 
   193 <h3>Bugfixes</h3>
   194 
   195 <h4>Security related</h4>
   196 
   197 <ul>
   198 <li>The upload script for FCKeditor could be <a
   199     href="http://www.geeklog.net/article.php/file-uploads">called directly</a>
   200     to upload various media files (but not executable scripts), as reported
   201     by t0pP8uZz.</li>
   202 <li>The protection in various include files against direct execution did not
   203     work properly on non-case sensitive file systems, e.g. on Windows
   204     (reported by Mark Evans).</li>
   205 <li>It was possible to view stories with a publication date in the future and
   206     stories that had the draft flag set if you knew their story ID.</li>
   207 <li>It was possible to post comments on unpublished stories if you knew their
   208     story ID.</li>
   209 <li>When a database backup fails, the database password is no longer logged to
   210     <tt>error.log</tt>.</li>
   211 </ul>
   212 
   213 <h4>Other Bugfixes</h4>
   214 
   215 <ul>
   216 <li>All right-side blocks were rendered twice, which not only took more time
   217     than necessary, but could also affect the functionality of add-ons like
   218     the Chatterblock or Shoutbox.</li>
   219 <li>Fixed handling of security tokens (for CSRF protection) that prevented
   220     you from deleting comments on a story that had trackbacks.</li>
   221 <li>Other fixes were applied to the user submission queue, story submissions,
   222     the list of draft stories and the support for MS SQL.</li>
   223 </ul>
   224 
   225 <h4>Fixes in the bundled Plugins</h4>
   226 
   227 <ul>
   228 <li>Calendar: Fixed display of events in the Upcoming Events block for the
   229     current day (really this time ...).</li>
   230 <li>Links: Fixed SQL error when trying to change a category and fixed new
   231     categories silently overwriting existing categories with the same ID.</li>
   232 <li>Static Pages: Fixed printer friendly version when <tt>url_rewrite</tt> is
   233     enabled.</li>
   234 </ul>
   235 
   236 <h3>New Features and Improvements</h3>
   237 
   238 <ul>
   239 <li>Includes <a href="http://www.fckeditor.net/">FCKeditor</a> 2.6.3</li>
   240 <li>In multi-language setups, blocks can now also be multi-lingual.</li>
   241 <li>New "Subscribe to ..." feed story option when there is a separate feed for
   242     a story's topic.</li>
   243 <li>New option "All Frontpage Stories" for article feeds (skip stories that have
   244     the "Show only in topic" option set).</li>
   245 <li>Allow to unset Configuration options again after they have been "restored",
   246     e.g. after accidental activation.</li>
   247 <li>Configuration options can now be overwritten in <tt>siteconfig.php</tt>.
   248     This is mostly useful for the <code>$_CONF['rootdebug']</code> option.</li>
   249 <li>Remotely authenticated users can now use the webservices (they need to use
   250     <tt>username@servicename</tt> for their username).<br>
   251     <strong>Note:</strong> OpenID users can <em>not</em> use the webservices,
   252     due to technical issues with the authentication method.</li>
   253 <li>Improved compatibility of the webservices (i.e. AtomPub).</li>
   254 </ul>
   255 
   256 <h3>Theme Changes</h3>
   257 
   258 <p>There was one mandatory theme change: The template file for configuration
   259    items, <tt>admin/config/config_element.thtml</tt> has to be updated (copy
   260    from the Professional theme). All other theme changes in this release are
   261    optional - see the <a href="theme.html#changes">theme documentation</a> for
   262    details.</p>
   263 
   264 
   265 <h2><a name="changes150">Geeklog 1.5.0</a></h2>
   266 
   267 <h3>Results from the Summer of Code</h3>
   268 
   269 <p>This release incorporates the following projects implemented during the
   270 the 2007 Google Summer of Code:</p>
   271 
   272 <ul>
   273 <li>New user-friendly install script by Matt West</li>
   274 <li>New Configuration GUI (replacing config.php) by Aaron Blankstein</li>
   275 <li>New Webservices API based on the Atom Publishing Protocol by Ramnath R. Iyer</li>
   276 </ul>
   277 
   278 <h3>Other New Features and Improvements</h3>
   279 
   280 <ul>
   281 <li>OpenID support: You can now allow users to log into your site using an
   282     OpenID, so that they don't need to create a new account with your site but
   283     still get all the benefits of a normal registered user.</li>
   284 <li>New LDAP remote authentication module.</li>
   285 <li>The Links plugin now has hierarchical (sub-)categories.</li>
   286 <li>Updated <a href="http://www.fckeditor.net/">FCKeditor</a> to version 2.6.</li>
   287 <li>Rewrite of the underlying story code. Amongst other things, this should
   288     finally resolve all outstanding issues with the handling of special
   289     characters, HTML entities, etc. in stories. Also introduces a new
   290     <code>[raw]</code> tag as an inline complement to <code>[code]</code> when
   291     you want to post pieces of code (e.g. HTML) "as is", so that they are not
   292     interpreted.</li>
   293 <li>Comments can now be closed, i.e. existing comments will still be displayed
   294     but no new comment can be posted.</li>
   295 <li>The Polls plugin now allows for multiple questions per poll.</li>
   296 <li>The Static Pages plugin now supports comments.</li>
   297 <li>The database backup admin panel now lets you delete and download
   298     backups.</li>
   299 <li>The default Professional theme is now HTML 4.01 Strict compliant. Geeklog
   300     now also <a href="theme.html#xhtml">supports XHTML</a> (given an XHTML
   301     compliant theme).</li>
   302 </ul>
   303 
   304 <h3>Security</h3>
   305 
   306 <ul>
   307 <li>Geeklog now includes protection against <a href="http://www.geeklog.net/article.php/csrf">cross-site request forgery</a> attacks.</li>
   308 <li>Lukasz Pilorz reported <a href="http://www.geeklog.net/article.php/kses">security issues in kses</a>, the HTML filter we're using in Geeklog.</li>
   309 </ul>
   310 
   311 
   312 <h2><a name="changes141">Geeklog 1.4.1</a></h2>
   313 
   314 <h3>New Features</h3>
   315 
   316 <ul>
   317 <li>Support for Microsoft SQL Server. Starting with this release, Geeklog can
   318     now also be installed on Microsoft SQL Server, so it's no longer restricted
   319     to just MySQL. The MS SQL support was developed by Randy Kolenko.
   320     Thanks, Randy!<br>
   321     Please note that any third-party plugins will have to offer support for
   322     MS SQL before they can be installed on Microsoft SQL Server. The bundled
   323     plugins (Calendar, Links, Polls, Spam-X, Static Pages) have already been
   324     updated accordingly.</li>
   325 <li><a href="calendar.html">Calendar plugin</a>. The formerly built-in calendar
   326     and events have now been moved into a separate plugin. This complements the
   327     move of the <a href="polls.html">polls</a> and <a href="links.html">links</a> sections into plugins in Geeklog 1.4.0 and makes Geeklog more modular as you
   328     can now easily disable or replace functionality that you don't need for
   329     your site.</li>
   330 <li><a href="http://wiki.geeklog.net/wiki/index.php/Multi-Language_Support">Multi-language support</a>. It is now possible to build truly multi-lingual sites
   331     with Geeklog where not only the navigation but also the content of the site
   332     changes with the language.</li>
   333 <li>Ships with <a href="http://www.fckeditor.net/">FCKeditor</a> 2.3.1, which once
   334     again includes a file manager for uploading images.</li>
   335 <li>A function for mass-deletion of old or inactive users. The list automatically
   336     searches for users that have never logged in, only used the site for a very
   337     short time or have not been online since a very long time. The time span can
   338     be varied, and found users can be selectively deleted.</li>
   339 </ul>
   340 
   341 <h3>Security</h3>
   342 
   343 <p>In the light of the security issues discovered in Geeklog 1.4.0 and earlier
   344 versions, the Geeklog source code has undergone a code review. We have
   345 identified and addressed several minor issues and introduced new measures to
   346 enhance security in this release. As a welcome side effect, the code reviews
   347 have also uncovered a few bugs and inconsistencies that we also fixed in this
   348 release.</p>
   349 
   350 <h3>Spam Protection</h3>
   351 
   352 <p>With this release we are finally removing support for the <a href="http://www.geeklog.net/article.php/mt-blacklist-discontinued">discontinued</a> MT-Blacklist. In its place, we are now using a system called Spam Link Verification (SLV) run by Russ Jones at <a href="http://www.linksleeve.org/">www.linksleeve.org</a>. SLV could be described as a community-driven, automatically updated blacklist. See the documentation of the <a href="spamx.html" rel="nofollow">Spam-X plugin</a> for details.</p>
   353 
   354 
   355 <h2><a name="changes140sr6">Geeklog 1.4.0sr6</a></h2>
   356 
   357 <p>MustLive pointed out a possible <a href="http://en.wikipedia.org/wiki/XSS" title="Click to look up 'XSS' on Wikipedia" style="text-decoration: none; color: black; border-bottom: 1px dotted black;">XSS</a> in the form to email an article to a friend that we're fixing with this release.</p>
   358 
   359 
   360 <h2><a name="changes140sr5-1">Geeklog 1.4.0sr5-1</a></h2>
   361 
   362 <p>This release fixes display problems in the comment preview that were only
   363 introduced in Geeklog 1.4.0sr5.</p>
   364 
   365 
   366 <h2><a name="changes140sr5">Geeklog 1.4.0sr5</a></h2>
   367 
   368 <p>JPCERT/CC informed us about a possible <a href="http://en.wikipedia.org/wiki/XSS" title="Click to look up 'XSS' on Wikipedia" style="text-decoration: none; color: black; border-bottom: 1px dotted black;">XSS</a> in the comment handling that we're fixing with this release.</p>
   369 
   370 
   371 <h2><a name="changes140sr4">Geeklog 1.4.0sr4</a></h2>
   372 
   373 <p>Two exploits have been released by "rgod" for insecure Geeklog installations and for a bug in the "mcpuk" file manager that we've been shipping as part of FCKeditor in all previous 1.4.0 releases.</p>
   374 
   375 <ul>
   376 <li>Some of the files outside of the public_html directory were not protected
   377     against direct execution. If Geeklog was installed such that those files
   378     were accessible from a URL (which has always been strongly discouraged in
   379     the installation instructions) then those files could be used to load and
   380     execute malicious code from a remote server.
   381     <br><br>
   382     More information: <a
   383     href="http://www.geeklog.net/article.php/so-called-exploit">So-called
   384     Geeklog "exploit" posted</a>
   385     <br><br>
   386     In this release, we've added the missing execution prevention for all files
   387     outside of public_html. We would still, however, suggest that you fix your
   388     Geeklog install if the files outside of public_html are accessible from a
   389     URL (see our <a
   390     href="http://www.geeklog.net/faqman/index.php?op=view&amp;t=56">FAQ</a> for
   391     details).
   392 </li>
   393 <li>The "mcpuk" file manager that we've integrated into FCKeditor allowed the
   394     upload of arbitrary PHP code (even if FCKeditor was disabled in Geeklog's
   395     config.php). Depending on your webserver's configuration, it was then
   396     possible to execute that uploaded code.
   397     <br><br>
   398     More information: <a href="http://www.geeklog.net/article.php/exploit-for-fckeditor-filemanager">Exploit for FCKeditor's mcpuk file manager</a>
   399     <br><br>
   400     The file manager has been removed from this release. You will therefore no
   401     longer be able to upload files, e.g. images, through FCKeditor. Future
   402     versions of Geeklog will ship with an updated version of FCKeditor and its
   403     included file manager.
   404 </li>
   405 </ul>
   406 
   407 <p>Note: This release also includes the <a
   408 href="http://www.geeklog.net/article.php/fighting-trackback-spam">updated
   409 lib-trackback.php</a> for better protection against Trackback spam.</p>
   410 
   411 
   412 <h2><a name="changes140sr3">Geeklog 1.4.0sr3</a></h2>
   413 
   414 <p>This release addresses the following security issues:</p>
   415 <ol>
   416 <li>Possible SQL injection and authentication bypass in <tt>auth.inc.php</tt>
   417     (reported by the Security Science Researchers Institute Of Iran).</li>
   418 <li>Possible XSS in <tt>getimage.php</tt>
   419     (reported by the Security Science Researchers Institute Of Iran).</li>
   420 <li>Path disclosure in <tt>getimage.php</tt> and the <tt>functions.php</tt> of
   421     some themes, e.g. the Professional theme
   422     (reported by the Security Science Researchers Institute Of Iran).</li>
   423 <li>Possible SQL injection in story submissions.</li>
   424 </ol>
   425 
   426 
   427 <h2><a name="changes140sr2">Geeklog 1.4.0sr2</a></h2>
   428 
   429 <p>This release addresses the following security issues:</p>
   430 <ul>
   431 <li>Konstantin Dyakoff found an old bug in the session handling that would
   432     allow anyone to log in as any user.</li>
   433 <li>HTML was not stripped from the Location field in a user's profile.</li>
   434 </ul>
   435 
   436 
   437 <h2><a name="changes140sr1">Geeklog 1.4.0sr1</a></h2>
   438 
   439 <p>This release addresses the following security issues:</p>
   440 <ul>
   441 <li>James Bercegay of GulfTech Security Research reported several issues with
   442     Geeklog's cookie handling that made it vulnerable to SQL injections,
   443     arbitrary file access, and even injection and execution of arbitrary
   444     code.</li>
   445 </ul>
   446 
   447 
   448 <h2><a name="changes140">Geeklog 1.4.0</a></h2>
   449 
   450 <p><small>(Geeklog 1.4.0 was originally supposed to be called 1.3.12, so any
   451 references you may find to a version 1.3.12 apply to version 1.4.0)</small></p>
   452 
   453 <h3>New Features</h3>
   454 
   455 <ul>
   456 <li>Geeklog now officially works with <code>register_globals = off</code>.
   457     Please note that some plugins may still require it to be <code>on</code>,
   458     though.</li>
   459 <li>Added support for sending and receiving <a
   460     href="http://en.wikipedia.org/wiki/Trackback">Trackback</a> and <a
   461     href="http://en.wikipedia.org/wiki/Pingback">Pingback</a> comments. Both
   462     are supported for stories, but there is also a new plugin API so that
   463     plugins can use this feature, too.  Trackback and Pingback can be disabled
   464     in <tt>config.php</tt>.</li>
   465 <li>Added the ability to "ping" weblog directory services to advertise site
   466     updates (preconfigured to ping <a
   467     href="http://pingomatic.com">Ping-o-Matic</a>). As with Trackback and
   468     Pingback, this is supported for stories, but plugins can also make use of
   469     this feature via the plugin API.</li>
   470 <li>New syndication framework so that Geeklog can now <strong>read and
   471     write</strong> feeds in different formats (currently supported: RSS, RDF,
   472     and Atom).</li>
   473 <li>New administrator controlled user status. Including banning and
   474     administrator activation of accounts.</li>
   475 <li>New Remote Authentication system to allow people with accounts on remote
   476     services such as Blogger.com or LiveJournal.com to login to your site
   477     without having to directly register on your site. (Remote accounts can be
   478     banned as normal accounts).</li>
   479 <li>The Admin sections have been revamped to provide a more consistent look and
   480     sortable lists. "Command and Control" (<tt>moderation.php</tt>) now also
   481     comes with a new set of icons and has one icon for every Admin section.
   482     Furthermore, the Admin block and Command and Control can be <a
   483     href="config.html#desc_sort_admin">sorted</a> alphabetically.</li>
   484 <li>Ships with <a href="http://www.fckeditor.net/">FCKeditor</a> (WYSIWYG
   485     editor). To <a href="config.html#desc_advanced_editor">enable</a>, set
   486     <code>$_CONF['advanced_editor'] = true;</code> in your
   487     <tt>config.php</tt>.</li>
   488 <li>The search now only displays a specified amount of results per page to
   489     avoid running into timeouts when searching through large databases.<br>
   490     <b>Note:</b> Plugins will have to be updated to support the "paged" search.
   491     Until then, Geeklog fakes the paged results for plugin searches, which
   492     means that a plugin that hasn't been updated will still search through the
   493     entire database, but Geeklog will only display the results for the current
   494     result page.</li>
   495 <li>Introduced an "Article Directory", providing an overview of all past
   496     articles, sorted by year and month.</li>
   497 <li>The default permissions for new objects (stories, topics, blocks, etc.) can
   498     now be set in config.php.</li>
   499 </ul>
   500 
   501 <h3>Compatibility</h3>
   502 
   503 <ul>
   504 <li>Due to the changes, themes will have to be updated to work with Geeklog
   505     1.4.0. See the <a href="theme.html#changes">list of theme changes</a> for
   506     details.</li>
   507 <li>The plugin API for comments has changed. Plugins using comments will have
   508     to be updated to work with Geeklog 1.4.0.</li>
   509 </ul>
   510 
   511 <h3>More Information</h3>
   512 
   513 <p>We have posted a series of stories on the Geeklog homepage that highlight and explain some of the new features:</p>
   514 <ul>
   515 <li><a href="http://www.geeklog.net/article.php/advanced-editor">Geeklog's Advanced Editor</a></li>
   516 <li><a href="http://www.geeklog.net/article.php/remote-authentication">Remote Authentication</a></li>
   517 <li><a href="http://www.geeklog.net/article.php/trackback-pingback">Trackback and Pingback</a></li>
   518 <li><a href="http://www.geeklog.net/article.php/ping">Sending a Ping</a></li>
   519 <li><a href="http://www.geeklog.net/article.php/comment-plugin-api">New Comment Plugin API</a></li>
   520 </ul>
   521 
   522 
   523 <h2><a name="changes1311sr7">Geeklog 1.3.11sr7</a></h2>
   524 
   525 <p>JPCERT/CC informed us about a possible <a href="http://en.wikipedia.org/wiki/XSS" title="Click to look up 'XSS' on Wikipedia" style="text-decoration: none; color: black; border-bottom: 1px dotted black;">XSS</a> in the comment handling that we're fixing with this release.</p>
   526 
   527 
   528 <h2><a name="changes1311sr6">Geeklog 1.3.11sr6</a></h2>
   529 
   530 <p>This release addresses the following security issues:</p>
   531 <ol>
   532 <li>Possible SQL injection and authentication bypass in <tt>auth.inc.php</tt>
   533     (reported by the Security Science Researchers Institute Of Iran).</li>
   534 <li>Possible XSS in <tt>getimage.php</tt>
   535     (reported by the Security Science Researchers Institute Of Iran).</li>
   536 <li>Path disclosure in <tt>getimage.php</tt> and the <tt>functions.php</tt> of
   537     some themes, e.g. the Professional theme
   538     (reported by the Security Science Researchers Institute Of Iran).</li>
   539 <li>Possible SQL injection in story submissions.</li>
   540 </ol>
   541 
   542 
   543 <h2><a name="changes1311sr5">Geeklog 1.3.11sr5</a></h2>
   544 
   545 <ul>
   546 <li>Konstantin Dyakoff found an old bug in the session handling that would
   547     allow anyone to log in as any user.</li>
   548 </ul>
   549 
   550 
   551 <h2><a name="changes1311sr4">Geeklog 1.3.11sr4</a></h2>
   552 
   553 <p>This release addresses the following security issues:</p>
   554 <ul>
   555 <li>James Bercegay of GulfTech Security Research reported several issues with
   556     Geeklog's cookie handling that made it vulnerable to SQL injections,
   557     arbitrary file access, and even injection and execution of arbitrary
   558     code.</li>
   559 </ul>
   560 
   561 
   562 <h2><a name="changes1311sr3">Geeklog 1.3.11sr3</a></h2>
   563 
   564 <p>This release addresses the following security issues:</p>
   565 
   566 <ol>
   567 <li>Provided you knew the story id, it was possible to submit comments for
   568     stories even if you did not have access to those stories
   569     (reported by LWC). The same problem also existed with poll comments.</li>
   570 <li>Supplying an illegal start or end date to the advanced search resulted in a
   571     warning message that disclosed the path to the Geeklog install on the
   572     server (reported by r0t3d3Vil).<br>
   573     It was <strong>not</strong> possible to use this for SQL injections.</li>
   574 </ol>
   575 
   576 <p>Also included in this release are bugfixes, e.g. for the problems editing
   577 static pages when URL rewriting was enabled, that were introduced in
   578 1.3.11sr2.</p>
   579 
   580 
   581 <h2><a name="changes1311sr2">Geeklog 1.3.11sr2</a></h2>
   582 
   583 <p>This release provides security enhancements and better spam protection
   584 originally developed for Geeklog 1.3.12. It also addresses a few bugs where
   585 the bugfix could be integrated with a reasonable amount of work (other bugfixes
   586 will have to wait for the 1.3.12 release).
   587 
   588 <h3>Security and Spam protection</h3>
   589 <ul>
   590 <li>There is now a speed limit for login attempts, defaulting to three tries
   591     in a five minute period (<a
   592     href="config.html#desc_login_attempts">configurable</a> in
   593     <tt>config.php</tt>).</li>
   594 <li>Linefeeds are filtered from the To:, From:, and Subject: fields of any
   595     email sent through <code>COM_mail</code>.</li>
   596 <li>When a new user account is created and the user submission queue is enabled
   597     in <tt>config.php</tt>, Geeklog now ensures that the new account is properly
   598     queued even in the unlikely event that the account creation fails halfway
   599     through.</li>
   600 <li>When a post is identified as spam, it now also triggers the speed limit
   601     (ie. posters will have to wait for the speed limit to expire before they
   602     can make another submission).</li>
   603 <li>Spam posts now get a 403 "Forbidden" HTTP response code.</li>
   604 <li>Spam checks are now done for comments, story, link, and event submissions,
   605     the message sent with the "email story to a friend" option, and for the
   606     contents of the user profile.</li>
   607 <li><a href="http://www.geeklog.net/article.php/spam-x-1.0.2"
   608     rel="nofollow">Spam-X plugin 1.0.2</a> included.</li>
   609 </ul>
   610 
   611 <p>Please note that MT-Blacklist (used by Spam-X) has recently been <a href="http://www.geeklog.net/article.php/mt-blacklist-discontinued">discontinued</a>. The
   612 Spam-X plugin as included in this release is configured to get the last version
   613 of the blacklist from geeklog.net, but there will be no more updates.</p>
   614 
   615 <h3>Bugfixes</h3>
   616 <ul>
   617 <li>Fixed an error message thrown up by PHP 5.0.5 or later when viewing the
   618     article page (bug #483).</li>
   619 <li>Quote names in email addresses as soon as they contain any non-alphanumeric
   620     characters, apart from the blank (bug #368). This should help when trying
   621     to email users with special characters in their name.</li>
   622 <li>Upgraded included kses class to version 0.2.2 which fixes problems with
   623     Japanese and Thai characters (bugs #94 and #119).</li>
   624 <li>Fixed SQL error when using the [staticpage:] autotag (bug #373).</li>
   625 </ul>
   626 <p>For a complete list of bugfixes, please see the Changelog.</p>
   627 
   628 <h3>Improvements</h3>
   629 <ul>
   630 <li>Added support for a <code>custom_usercheck</code> function (for the
   631     custom registration code). See the included <tt>lib-custom.php</tt> for
   632     details.</li>
   633 <li>Improved handling of the auto-archive option in <tt>index.php</tt>, which
   634     should slightly improve page load times.</li>
   635 <li>Includes several new and updated language files.</li>
   636 <li>Includes updated PEAR classes.</li>
   637 </ul>
   638 
   639 
   640 <h2><a name="changes1311sr1">Geeklog 1.3.11sr1</a></h2>
   641 <p>This release addresses the following security issue:</p>
   642 <ul>
   643 <li>Stefan Esser found an SQL injection that can, under certain circumstances,
   644 be exploited to extract user data such as the user's password hash.</li>
   645 </ul>
   646 
   647 <h2><a name="changes1311">Geeklog 1.3.11</a></h2>
   648 
   649 <p>Geeklog 1.3.11 is a <strong>bugfix and security release</strong> over Geeklog 1.3.10 and is meant to replace 1.3.10. The change in the version number was necessary since one of the bugfixes involves a change in the database.</p>
   650 
   651 <h3>Security issues</h3>
   652 <ol>
   653 <li>It was possible to submit stories anonymously even if anonymous submissions
   654     were turned off in <tt>config.php</tt> (reported by Barry Wong).<br>
   655     These stories still ended up in the submission queue, though, unless you
   656     disabled it in <tt>config.php</tt>.</li>
   657 <li>Some of the parameters in link and event submissions weren't filtered,
   658     leaving them open to potential SQL injections.</li>
   659 <li>The links for the What's Related block were created from the unfiltered
   660     story text, opening the possibility of XSS attacks (reported by Vincent
   661     Furia).</li>
   662 </ol>
   663 
   664 <h3>Bugfixes</h3>
   665 <ul>
   666 <li>Fixes the length of the 'sid' field in the gl_comments table. Using story
   667     IDs longer than 20 characters prevented comment posts from being associated
   668     with the story.</li>
   669 <li>Ensures compatibility with PHP 4.1.x (includes updated PEAR packages).</li>
   670 <li>Fixes the archiving option being activated too early (bug #345).</li>
   671 <li>Properly deletes comments and story images when deleting entire topics
   672     (bug #339).</li>
   673 <li>Deletes comments when deleting polls.</li>
   674 <li>Fixes several bugs in the calendar and improves overall handling of both
   675     the site calendar and the personal calendars (bugs #268, #336, #338, and
   676     others).</li>
   677 <li>Fixes "More by <i>author</i>" and "More from <i>topic</i>" links in
   678     articles.</li>
   679 <li>Various other fixes, see <tt>docs/history</tt> for details.</li>
   680 </ul>
   681 
   682 <p>We strongly advise users of Geeklog 1.3.10 to upgrade to 1.3.11 ASAP. Upgrading should be relatively painless, as there weren't any changes in the themes, language files, or config.php over 1.3.10.</p>
   683 
   684 
   685 <h2><a name="changes1310">Geeklog 1.3.10</a></h2>
   686 
   687 <h3>New Default Theme</h3>
   688 
   689 <p>This release comes with a new default theme: We've chosen the Professional
   690 theme, kindly provided by Victor B. Gonzalez (of <a href="http://aeonserv.com">Aeonserv</a> fame). The theme has been modified slightly and is now fully HTML 4.01 and CSS compliant.</p>
   691 
   692 <p>We've also decided to remove the old set of themes (Classic, Clean, Digital Monochrome, Gameserver, Smooth Blue, XSilver, Yahoo) from the distribution. They are now available as a separate tarball.</p>
   693 
   694 <h3>New Features</h3>
   695 
   696 <ul>
   697 <li><a href="spamx.html" rel="nofollow">Spam-X plugin</a> included. Tom Willet
   698     has kindly provided his spam detection plugin, which is now part of the
   699     default Geeklog install.<br>
   700     The plugin has been modified slightly to store the blacklists in the
   701     database. Users of the previous version of the plugin will have to import
   702     their personal blacklist via the plugin's admin panel.</li>
   703 <li>Story Archive feature: It is now possible to move stories to an "archive"
   704     topic or have them deleted automatically at a given time.</li>
   705 <li>Customizable menu bar: The site's menu bar can now be <a
   706     href="config.html#desc_menu_elements">configured</a> in config.php, i.e.
   707     you can choose which entries should be displayed there and in which order.
   708     It's also possible to add custom entries by providing a function in
   709     lib-custom.php.</li>
   710 <li>Clickable links in text postings: URLs in non-HTML postings are now
   711     recognized by Geeklog and displayed as clickable links.</li>
   712 <li>Editable story IDs: The IDs of stories can now be changed (like the IDs of
   713     static pages) to provide more readable URLs (and further improve the
   714     chances of being picked up by seach engines, especially when used with
   715     URL rewriting).</li>
   716 <li>Autolinks are a new form of links that can be used in stories and comments.
   717     An autolink takes the form
   718     <code>[<i>name</i>:<i>id</i> <i>link text</i>]</code> where <i>name</i> is
   719     the tag name, <i>id</i> is the ID of an object the link should be pointing
   720     to, and <i>link text</i> is used as the text of the link.<br>
   721     Example: <code>[story:email-bug About the email bug]</code> would be
   722     translated into <code>&lt;a href="http://example.com/article.php/email-bug"&gt;About the email bug&lt;/a&gt;</code><br>
   723     For the built-in autotags, the <i>link text</i> is optional and Geeklog
   724     will use the title of the object (story / event / static page) if it is not
   725     given.<br>
   726     Predefined autotags are <code>[story:]</code> to link to stories and
   727     <code>[event:]</code> to link to events. Plugins can define their own
   728     autotags to provide links to objects under their control. The Static Pages
   729     plugin already provides a <code>[staticpage:]</code> autotag.</li>
   730 <li>Customizable welcome email: The email that is sent out to users
   731     registering with your site is now fully customizable by providing the
   732     text in a text file (/path/to/geeklog/data/welcome_email.txt).</li>
   733 <li>Timezone hack: The popular "<a
   734     href="http://www.geeklog.net/forum/viewtopic.php?showtopic=40196">timezone
   735     hack</a>" is now included. It lets you set the site's timezone for when
   736     your server is located in another timezone.</li>
   737 </ul>
   738 
   739 <h3>Other Improvements</h3>
   740 
   741 <ul>
   742 <li>Various changes have been made to improve the overall performance.</li>
   743 <li>On fresh installs, there is now an option to use InnoDB tables (instead of
   744     MyISAM) if your MySQL version supports them (as of MySQL 4.0, or 3.x "Max"
   745     builds). Existing databases can be converted to InnoDB by using the script
   746     <tt>admin/install/toinnodb.php</tt>.<br>
   747     <strong>Warning:</strong> Using InnoDB tables makes database backups
   748     somewhat more complicated. Small and medium-sized sites should work just
   749     fine with MyISAM tables, so if in doubt <em>don't</em> use InnoDB
   750     tables.</li>
   751 <li>The calendar's week can now either start on a Sunday or a Monday.</li>
   752 <li>The Static Pages plugin now has an option to display a printer-friendly
   753     version of a static page.</li>
   754 </ul>
   755 
   756 <h3>Comments</h3>
   757 
   758 <ul>
   759 <li>The comment code has undergone major changes to improve performance and
   760     add improvements like the ability to link to individual comments,
   761     paging comments, etc.</li>
   762 <li>Users can now report abusive comments to the site admin.</li>
   763 <li>The site admin can get an email notification when a new comment is
   764     posted (similar to the notification emails for new stories, links,
   765     events, and users).</li>
   766 <li>The IP addresses of comment posters are now tracked and can be looked up
   767     directly by linking to a Whois service (or you can install Tom Willet's
   768     <a href="http://sf.net/project/showfiles.php?group_id=68255&amp;package_id=95743">NetTools</a>, which include a Whois function).</li>
   769 </ul>
   770 
   771 <h3>Security-related fixes</h3>
   772 
   773 <p><strong>Note:</strong> All of the following bugs were problems with
   774 Geeklog's permissions system and fall into the "information leakage" category,
   775 i.e. under certain circumstances, site content was visible to persons who
   776 shouldn't be able to see it. None of these bugs were exploitable in the sense
   777 that they could be used to gain privileges or cause damage to Geeklog or the
   778 environment it's running in.</p>
   779 
   780 <ul>
   781 <li>Group Admins were able to list the members of all groups, even if they were
   782     not members of those groups.</li>
   783 <li>Group Admins were given a list of all the groups in the system, even if
   784     they were not members of those groups (bug #280).</li>
   785 <li>Story and Event Admins were always given a list of all the stories / all
   786     the events, even when they didn't have read access to them (bug #269).</li>
   787 <li>It was possible to request comments from stories even if the user didn't
   788     have permission to read the story (provided you knew both the story and
   789     the comment id).</li>
   790 <li>Event permissions in the calendar's day and week view weren't checked
   791     properly, so that events may have been visible to users who shouldn't
   792     have been able to see them.</li>
   793 <li>It was possible to add any event to the personal calender, even if you
   794     didn't have permissions to see it in the site calendar (provided you knew
   795     the event id).</li>
   796 </ul>
   797 
   798 <h3>Other bugfixes</h3>
   799 
   800 <ul>
   801 <li>Previewing and saving a story submission left the submitted story in the
   802     submission queue, but did additionally save it as a new story.</li>
   803 <li>Deleting an event from the personal calendar didn't work (bug #199).</li>
   804 <li>Old userphotos weren't removed when the new photo had a different file
   805     type, e.g. when changing from a .gif to a .jpg (bug #228).</li>
   806 <li>Scaling images didn't work when the image exceeded the max. height but
   807     not the max. width (bug #242).</li>
   808 <li>Keeping an unscaled image wasn't possible when using gdlib to rescale
   809     images (bug #197).</li>
   810 <li>When using gdlib, GIF images were converted to PNG format, but Geeklog
   811     was still trying to display the GIF version. Since the LZW patent has
   812     now <a href="http://www.unisys.com/about__unisys/lzw">expired</a>, it is
   813     safe to use GIF images again and the PNG conversion has been dropped.</li>
   814 <li>The tarball also includes updated PEAR packages which should address the
   815     email problems some users were having (bug #246).<br>
   816     <strong>Note:</strong> These are the same PEAR packages that already
   817     shipped with Geeklog 1.3.9sr2.</li>
   818 </ul>
   819 
   820 <p>Please note that there have also been <a href="theme.html#changes">theme
   821 changes</a>, some of which are important to make the new features work (e.g.
   822 the editable story IDs and the story archive options)!</p>
   823 
   824 <p>This release contains various improvements provided by the Geeklog community
   825 (see the <tt>docs/history</tt> file for proper credits). Thank you!</p>
   826 
   827 <h2><a name="changes139sr3">Geeklog 1.3.9sr3</a></h2>
   828 <p>This release addresses the following security issues:</p>
   829 
   830 <ol>
   831 <li>It was possible to submit stories anonymously even if anonymous submissions
   832     were turned off in <tt>config.php</tt> (reported by Barry Wong).<br>
   833     These stories still ended up in the submission queue, though, unless you
   834     disabled it in <tt>config.php</tt>.</li>
   835 <li>Some of the parameters in link and event submissions weren't filtered,
   836     leaving them open to potential SQL injections.</li>
   837 </ol>
   838 
   839 
   840 <h2><a name="changes139sr2">Geeklog 1.3.9sr2</a></h2>
   841 <p>This release addresses the following security issues:</p>
   842 
   843 <ol>
   844 <li>Fixed a cross site scripting vulnerability caused by using the variable
   845     <code>$topic</code> in the language files (bug #293).</li>
   846 <li>Prevent comment posts on stories or polls were comment posting has been
   847     disabled.</li>
   848 </ol>
   849 
   850 <h3>Other fixes</h3>
   851 <ul>
   852 <li>Fixed <tt>lib-plugins.php</tt> to work properly with PHP 5.</li>
   853 <li>The complete tarball also includes updated PEAR packaged that fix
   854     some of the reported email problems.</li>
   855 </ul>
   856 
   857 
   858 <h2><a name="changes139sr1">Geeklog 1.3.9sr1</a></h2>
   859 <p>This release addresses the following security issues:</p>
   860 
   861 <ol>
   862 <li>It was possible to post anonymous comments, even when anonymous comment
   863     posting had been switched off in config.php.<br>
   864     This bug was apparently exploited by spammers to send hundreds of spam
   865     posts to certain Geeklog sites.</li>
   866 <li>Added additional speed limit checks for comments and submissions.</li>
   867 <li>If none of the topics were visible for anonymous users, the site's index
   868     page may still have displayed some stories for anonymous users, depending
   869     on the stories' permissions.</li>
   870 <li>Users still got Daily Digest emails for topics from which they had been
   871     removed (bug #178).</li>
   872 <li>It was possible to subscribe to the Daily Digest for all topics, even if
   873     the user did not have access to certain topics.</li>
   874 <li>Comments to stories were sometimes listed in a user's profile, even if the
   875     user viewing the profile didn't have permissions to access the story the
   876     comments belonged to.</li>
   877 </ol>
   878 
   879 <h3>Other fixes</h3>
   880 <ul>
   881 <li>Fixed an SQL error in <code>COM_showTopics</code> if users excluded topics
   882     from their preferences.</li>
   883 <li>Fixed sporadic "Duplicate entry '...' for key 1." messages in error.log,
   884     caused by the handling of pseudo-session ids for anonymous users.</li>
   885 <li>Fixed incorrect author names in Daily Digest (bug #207).</li>
   886 <li>The <code>plugin_profileblocksedit_<i>plugin-name</i></code> Plugin API
   887     function wasn't working due to a missing piece of code in
   888     usersettings.php.</li>
   889 <li><code>COM_extractLinks</code> will now ignore anchor tags that do not
   890     contain "<code>href</code>" (bug #183).</li>
   891 </ul>
   892 
   893 
   894 <h2><a name="changes139">Geeklog 1.3.9</a></h2>
   895 
   896 <h3>New Features</h3>
   897 
   898 <ul>
   899 <li>Geeklog now uses PEAR::Mail to send all emails. This gives you the option
   900     to send emails via PHP's built-in mail() function (as before), via
   901     sendmail or via SMTP.</li>
   902 <li>There is a new admin option called Content Syndication that lets you
   903     create and configure (RSS) feeds. In addition to the standard feed
   904     containing all the new stories, you can now create feeds per topic, for
   905     upcoming events, and for links.<br>
   906     This feature is extensible in that plugins can provide additional feeds.
   907     It is also possible to provide feeds in formats other than RSS 0.91 by
   908     providing additional feed classes.</li>
   909 <li>Admins can change the block order easily from the list of blocks now.</li>
   910 <li>There is an alternative interface to adding users to groups (requires
   911     JavaScript).</li>
   912 <li>Users in the Group Admin group can now only assign other users to groups
   913     of which they themselves are a member.</li>
   914 <li>Image upload can now also use the GD library to scale images.</li>
   915 <li>Comments now use templates.</li>
   916 <li>To accomodate strict webhosts who don't allow file uploads to the standard
   917     image directory, you can now set a new configuration variable,
   918     <code>$_CONF['path_images']</code> to point to a directory outside of your
   919     webtree where article images and user profile pictures will be saved.</li>
   920 <li>Geeklog now supports URL rewriting for story URLs, i.e. you can have URLs
   921     like <tt>http://www.geeklog.net/article.php/20031229225326631</tt> which
   922     are known to be picked up by Google.</li>
   923 <li>Plugins can add their own section to Geeklog's What's New block.</li>
   924 <li>All URL fields can now hold up to 255 characters (requires theme updates).</li>
   925 </ul>
   926 
   927 <p>Please see the <a href="theme.html#changes">themes documentation</a> for a
   928 complete list of theme changes.</p>
   929 
   930 <p>Also included is the <a href="staticpages.html">Static Pages plugin 1.4</a>,
   931 which now has, among other improvements, a second option to include PHP in
   932 static pages without having to use the PHP <code>return</code> statement.</p>
   933 
   934 
   935 <h3>Bugfixes</h3>
   936 
   937 <ul>
   938 <li>Words from a search query are now properly highlighted in comments. Also
   939     fixed a problem with highlighting when the search query contained '*'
   940     characters.</li>
   941 <li>Various fixes in the search class.</li>
   942 <li>Fixed a bug that let users register with an empty username.</li>
   943 <li>When batch-importing users, those users were all subscribed to the
   944     Daily Digest automatically (uses the $_CONF['emailstoriesperdefault']
   945     setting instead now).</li>
   946 <li>Fixed option to delete comments, which previously was only available to
   947     users in the Root group (e.g. Admin). Now those users that have story.edit
   948     permissions for the actual story can delete comments.</li>
   949 <li>Deleting a group may have left orphaned entries in the group_assignments
   950     table (this has been fixed now). When upgrading to 1.3.9, the install
   951     script will remove any orphaned entries from the database.</li>
   952 </ul>
   953 
   954 <p>There have also been a lot of changes to improve security, especially
   955 against SQL injections.</p>
   956 
   957 
   958 <h2><a name="changes138-1sr6">Geeklog 1.3.8-1sr6</a></h2>
   959 <p>This release addresses the following security issues:</p>
   960 
   961 <ol>
   962 <li>Fixed a cross site scripting vulnerability caused by using the variable
   963     <code>$topic</code> in the language files (bug #293).</li>
   964 <li>Prevent comment posts on stories or polls were comment posting has been
   965     disabled.</li>
   966 </ol>
   967 
   968 
   969 <h2><a name="changes138-1sr5">Geeklog 1.3.8-1sr5</a></h2>
   970 <p>This release addresses the following security issue:</p>
   971 
   972 <ol>
   973 <li>It was possible to post anonymous comments, even when anonymous comment
   974     posting had been switched off in config.php.<br>
   975     This bug was apparently exploited by spammers to send hundreds of spam
   976     posts to certain Geeklog sites.</li>
   977 </ol>
   978 
   979 
   980 <h2><a name="changes138-1sr4">Geeklog 1.3.8-1sr4</a></h2>
   981 <p>This release addresses the following security issues:</p>
   982 
   983 <ol>
   984 <li>It was possible for users in the Group Admin and User Admin groups to
   985     become a member of the Root group (reported by Samuel M. Stone,
   986     bug #135).</li>
   987 <li>Being admin for a certain area (e.g. Story Admin for stories) made it
   988     possible to delete all objects in that area (e.g. stories) even if the user
   989     was not supposed to have access to them, provided the id of the object was
   990     known.</li>
   991 <li>It was possible to delete other people's personal events if you knew the
   992     event ID.</li>
   993 <li>It was possible to browse through the comments of a story even if the user
   994     did not have access to the actual story (reported by Peter Roozemaal).</li>
   995 <li>Due to an XSS issue, it was possible to change someone's account settings
   996     (including the password) if you got them to click on a specially crafted
   997     link (reported by Jelmer, fix suggested by Vincent Furia).</li>
   998 <li>The comment display suffered from the possibility of an SQL injection
   999     (reported by Jelmer).</li>
  1000 <li>It was possible to inject Javascript code in the calendar (reported by
  1001     Jelmer).</li>
  1002 <li>It was possible to execute (but not save) Javascript code in the comment
  1003     preview (reported by Jelmer).</li>
  1004 </ol>
  1005 
  1006 
  1007 <h2><a name="changes138-1sr3">Geeklog 1.3.8-1sr3</a></h2>
  1008 <p>This release addresses the following security-related issues:</p>
  1009 
  1010 <ol>
  1011 <li>As "dr.wh0" pointed out, the category field for link submissions was not
  1012     filtered at all. Although you probably can't cause too much harm with
  1013     those 32 characters, this has now been fixed.</li>
  1014 <li>Vincent Furia found that the restrictions for the form to email users
  1015     could be circumvented and could even be used to spam users.
  1016     In addition to fixing theses issues, there is now also a speed limit
  1017     on that form (defaults to the speed limit for story submissions).</li>
  1018 <li>There was a way to post comments anonymously even when posting for
  1019     anonymous users had been disabled.</li>
  1020 <li>It was possible to post comments under someone else's username.</li>
  1021 </ol>
  1022 
  1023 
  1024 <h2><a name="changes138-1sr2">Geeklog 1.3.8-1sr2</a></h2>
  1025 
  1026 <p>Jouko Pynnonen found a way to trick the new "forgot password" feature, introduced in 1.3.8, into letting an attacker change the password for <em>any</em> account. This release addresses this issue - there were no other changes.</p>
  1027 
  1028 <p>Obviously, we strongly recommend to upgrade as soon as possible.</p>
  1029 
  1030 
  1031 <h2><a name="changes138-1sr1">Geeklog 1.3.8-1sr1</a></h2>
  1032 
  1033 <p>The purpose of this release is to address some of the security issues reported in September and early October 2003. We strongly recommend upgrading to this version.</p>
  1034 
  1035 <h3>Security issues</h3>
  1036 <ol>
  1037 <li>By including Ulf Harnhammar's <a href="http://sourceforge.net/projects/kses/" title="kses homepage">kses</a> HTML filter, this release addresses a variety of possible Javascript injection and CSS defacement issues.</li>
  1038 <li>Details of SQL errors will not be reported in the browser any more (but only in Geeklog's error.log file). This will avoid disclosing any sensitive information as part of the error message (which is so far the only problem we have found with the alleged SQL injection issues that have been reported).
  1039 </ol>
  1040 
  1041 <p>Please note that at the moment we do <strong>not</strong> recommend to use Geeklog with MySQL 4.1 (which, at the time of this writing, is in alpha state and should not be used on production sites anyway). An upcoming release of Geeklog will include more thorough filtering of SQL injections attempts, thus also fixing the problems with MySQL 4.1.</p>
  1042 
  1043 <h3>Other fixes</h3>
  1044 <ul>
  1045 <li>Fixed the auto-detection of the value for the <code>$_CONF['cookiedomain']</code> variable if the URL included a port number (such as <tt>example.com:8080</tt>). This will fix the login problems some users were reporting.</li>
  1046 <li>The full 1.3.8-1sr1 tarball also includes updated French (Canada) and Turkish language files.</li>
  1047 </ul>
  1048 
  1049 
  1050 <h2><a name="changes138-1">Geeklog 1.3.8-1</a></h2>
  1051 
  1052 <p>Geeklog 1.3.8-1 is a bugfix release over Geeklog 1.3.8. It contains a
  1053 variety of (mostly minor) bugfixes. None of those fixes are security-related.</p>
  1054 
  1055 <h3>Bugfixes</h3>
  1056 
  1057 <ul>
  1058 <li>Fixes to the new search to restore pre-1.3.8 behavior (display search form
  1059     again if no results are returned, handling of
  1060     <tt>$_CONF['searchloginrequired']</tt>, etc.). Also fixed the search by
  1061     date.</li>
  1062 <li>Fixed problems in the install script when trying to identify the MySQL
  1063     version. The install script failed silently on PHP 4.0.4 and earlier
  1064     versions.</li>
  1065 <li>Fixed a problem with the What's Related block on stories that contain
  1066     images.</li>
  1067 <li>Skip user "Anonymous" when sending out the Daily Digest.
  1068 <li>Prevent admin from changing a user's email address to one that's already
  1069     used by another user.</li>
  1070 <li>Update RSS feed and Older Stories block when deleting a story.</li>
  1071 </ul>
  1072 
  1073 <p>The full 1.3.8-1 tarball also includes new and updated language files
  1074 (see the Changelog for details).</p>
  1075 
  1076 
  1077 <h2><a name="changes138">Geeklog 1.3.8</a></h2>
  1078 
  1079 <h3>New Features</h3>
  1080 
  1081 <p>Geeklog 1.3.8 Includes the <strong>Static Pages 1.3 plugin</strong> which
  1082 replaces <em>both</em> the Static Pages 1.1 and 1.2 plugins. See the <a
  1083 href="staticpages.html">Static Pages documentation</a> for details.</p>
  1084 
  1085 <ul>
  1086   <li>The search function has been rewritten. You can now search for the
  1087     exact phrase, all the words, or any of the words from a query. Search
  1088     words are also highlighted in stories.
  1089   <li>New Privacy options: Users can decide whether they want to receive
  1090     email from other users and/or admins and whether they want to show up in
  1091     the Who's Online block.
  1092   <li>You can now get a list of all users who are in a certain group (from the
  1093     Admin's group editor).
  1094   <li>When scaling is configured for images in stories, you can now keep the
  1095     unscaled image (has to be enabled in config.php first). In that case, the
  1096     scaled-down image in the story will serve as a thumbnail and link to the
  1097     unscaled image.
  1098   <li>You can now make one topic the default topic. The topic selection in the
  1099     story submission form will then default to that topic. However, when
  1100     browsing by topic (index.php?topic=Geeklog etc.) new story submissions will
  1101     default to the current topic.
  1102   <li>You can give your users the ability to change their username and delete
  1103     their account. Both features have to be enabled in config.php.
  1104   <li>Extended Plugin API: Plugins can now display content in Geeklog's
  1105     center area, add their own information to the user profile, and add
  1106     information to the site's header (<code>&lt;head&gt;</code> section).
  1107   <li>There's a new API for custom registration forms (see
  1108     <tt>lib-custom.php</tt> for sample code).
  1109   <li>There have been quite a few theme changes in order to move most larger
  1110     portions of hard-coded HTML to template files and to give theme designers
  1111     more control over the layout. Please consult the <a
  1112     href="theme.html#changes138">themes documentation</a> for a list of changes.</li>
  1113 </ul>
  1114 
  1115 <h3>Bugfixes</h3>
  1116 
  1117 <ul>
  1118   <li>The "forgot password" function has been rewritten. Instead of resetting
  1119     your old password and sending you a new one, you will now receive an
  1120     email with a unique link in it. If you follow this link, you can enter a
  1121     new password directly. Otherwise, you can simply ignore the email and your
  1122     old password will remain valid.
  1123   <li>Topic access was not always checked properly. If Story Admins report
  1124     getting access denied messages after upgrading to 1.3.8, check your topic
  1125     permissions carefully.
  1126   <li>The poll editor let you enter one answer too many (i.e. when the max.
  1127     number of answers was set to 10 you could actually enter 11). Please check
  1128     your existing polls or you may lose the last answer if you exceeded the
  1129     max. number of answers in a poll (adjust $_CONF['maxanswers'] accordingly,
  1130     if necessary).
  1131   <li>Geeklog should install and run again on old versions of MySQL
  1132     (specifically, 3.22.xx). Please note that some of these old versions aren't
  1133     even supported by MySQL AB any more and MySQL installs older than 3.23.54
  1134     are having security issues.
  1135 </ul>
  1136 
  1137 
  1138 <h2><a name="changes137sr5">Geeklog 1.3.7sr5</a></h2>
  1139 <p>This release addresses the following security issues:</p>
  1140 
  1141 <ol>
  1142 <li>It was possible for users in the Group Admin and User Admin groups to
  1143     become a member of the Root group (reported by Samuel M. Stone,
  1144     bug #135).</li>
  1145 <li>Being admin for a certain area (e.g. Story Admin for stories) made it
  1146     possible to delete all objects in that area (e.g. stories) even if the user
  1147     was not supposed to have access to them, provided the id of the object was
  1148     known.</li>
  1149 <li>It was possible to delete other people's personal events if you knew the
  1150     event ID.</li>
  1151 <li>It was possible to browse through the comments of a story even if the user
  1152     did not have access to the actual story (reported by Peter Roozemaal).</li>
  1153 <li>Due to an XSS issue, it was possible to change someone's account settings
  1154     (including the password) if you got them to click on a specially crafted
  1155     link (reported by Jelmer, fix suggested by Vincent Furia).</li>
  1156 <li>The comment display suffered from the possibility of an SQL injection
  1157     (reported by Jelmer).</li>
  1158 <li>It was possible to inject Javascript code in the calendar (reported by
  1159     Jelmer).</li>
  1160 <li>It was possible to execute (but not save) Javascript code in the comment
  1161     preview (reported by Jelmer).</li>
  1162 </ol>
  1163 
  1164 
  1165 <h2><a name="changes137sr4">Geeklog 1.3.7sr4</a></h2>
  1166 <p>This release addresses the following security-related issues:</p>
  1167 
  1168 <ol>
  1169 <li>As "dr.wh0" pointed out, the category field for link submissions was not
  1170     filtered at all. Although you probably can't cause too much harm with
  1171     those 32 characters, this has now been fixed.</li>
  1172 <li>Vincent Furia found that the restrictions for the form to email users
  1173     could be circumvented and could even be used to spam users.</li>
  1174 <li>There was a way to post comments anonymously even when posting for
  1175     anonymous users had been disabled.</li>
  1176 <li>It was possible to post comments under someone else's username.</li>
  1177 </ol>
  1178 
  1179 
  1180 <h2><a name="changes137sr3">Geeklog 1.3.7sr3</a></h2>
  1181 
  1182 <p>The purpose of this release is to address some of the security issues reported in September and early October 2003. If you don't plan to upgrade to the latest version of Geeklog (1.3.8-1sr1, at the time of this writing), we strongly suggest you upgrade to at least 1.3.7sr3 instead.</p>
  1183 
  1184 <h3>Security issues</h3>
  1185 <ol>
  1186 <li>By including Ulf Harnhammar's <a href="http://sourceforge.net/projects/kses/" title="kses homepage">kses</a> HTML filter, this release addresses a variety of possible Javascript injection and CSS defacement issues.</li>
  1187 <li>Details of SQL errors will not be reported in the browser any more (but only in Geeklog's error.log file). This will avoid disclosing any sensitive information as part of the error message (which is so far the only problem we have found with the alleged SQL injection issues that have been reported).
  1188 </ol>
  1189 
  1190 <p>Please note that at the moment we do <strong>not</strong> recommend to use Geeklog with MySQL 4.1 (which, at the time of this writing, is in alpha state and should not be used on production sites anyway). An upcoming release of Geeklog will include more thorough filtering of SQL injections attempts, thus also fixing the problems with MySQL 4.1.</p>
  1191 
  1192 
  1193 <h2><a name="changes137sr2">Geeklog 1.3.7sr2</a></h2>
  1194 
  1195 <h3>Security issues</h3>
  1196 
  1197 <p>The purpose of this release is to fix the following security issues.
  1198 All users are <em>strongly</em> encouraged to upgrade to this version ASAP.</p>
  1199 <ol>
  1200 <li>It was possible to obtain valid session ids for every account on a Geeklog
  1201     site, including the Admin account (reported by SCAN Associates).</li>
  1202 <li>Using Internet Explorer, it was possible to upload an image with embedded
  1203     PHP code and execute it (reported by SCAN Associates).</li>
  1204 <li>Story permissions could override topic permissions, resulting in the display
  1205     of stories to users who shouldn't have access to them (reported by Andrew
  1206     Lawlor). This was already fixed with the new <tt>index.php</tt>, released
  1207     2003-05-15.</li>
  1208 <li>Added a warning in <tt>config.php</tt> that adding any of the following
  1209     tags to the list of allowable HTML can make the site vulnerable to
  1210     scripting attacks:<br>
  1211     <code>&lt;img&gt; &lt;span&gt; &lt;marquee&gt; &lt;script&gt;
  1212           &lt;embed&gt; &lt;object&gt; &lt;iframe&gt;</code><br>
  1213     (pointed out by Joat Dede).</li>
  1214 </ol>
  1215 
  1216 <p>This update also includes fixes for the notorious "permission denied"
  1217 error messages that some users would get in the Admin area (e.g. when trying
  1218 to save a story and being "only" a user with Story Admin permissions).</p>
  1219 
  1220 <p>The full 1.3.7sr2 tarball also includes various new and updated language
  1221 files (see the Changelog for details).</p>
  1222 
  1223 
  1224 <h2><a name="changes137sr1">Geeklog 1.3.7sr1</a></h2>
  1225 
  1226 <h3>Security issues</h3>
  1227 
  1228 <p>The main purpose of this release is to fix the following security issues.
  1229 All users are strongly recommended to upgrade to this version.</p>
  1230 <ol>
  1231 <li>Javascript code could be injected in the homepage field of a user's profile (reported by Jin Yean Tan).</li>
  1232 <li>Javascript code could be injected in certain URLs to be used in a cross-site scripting attack (reported by Jin Yean Tan).</li>
  1233 <li>Comments could be deleted by anybody if they knew the comment id (which is not normally visible).</li>
  1234 <li>A StoryAdmin could manipulate stories even if s/he did not have access to them (e.g. when s/he was not a member of a certain group). The same applied to Admins for events, links, polls, topics, and blocks (reported by Kobaz).</li>
  1235 </ol>
  1236 
  1237 <h3>Other Bugfixes</h3>
  1238 
  1239 <ul>
  1240 <li>Fixed possible causes for endless loops with the redirect in index.php: No redirect will be done if $HTTP_SERVER_VARS['HTTP_HOST'] is not set. Also, the comparison of the configured and actual server name is not case-sensitive any more.</li>
  1241 <li>Fixed image resizing when using ImageMagick.</li>
  1242 <li>The new user notification email (introduced in Geeklog 1.3.7) was always
  1243  sent out, even if 'user' was not listed in $_CONF['notification'].
  1244 <li>The Admin menu will now be displayed for users who have Admin access to plugins only, but not to one of the core Admin features.</li>
  1245 <li>The default for the daily digest is now back to "off", i.e. new users will not receive it automatically. To enable the daily digest for new users again, set $_CONF['emailstoriesperdefault'] = 1 in config.php.</li>
  1246 </ul>
  1247 
  1248 <p>Documentation and hard-coded links (version check, link to Geeklog in a site's footer) have been updated to point to <a href="http://www.geeklog.net/">www.geeklog.net</a>.</p>
  1249 
  1250 
  1251 <h2><a name="changes137">Geeklog 1.3.7</a></h2>
  1252 
  1253 <h3>New Features</h3>
  1254 
  1255 <ul>
  1256   <li>A notification email can now be sent when a new story, link, or event
  1257     has been submitted or a new user has registered with the site (see the
  1258     <a href="config.html#submission">submission settings</a> for details).<br>
  1259     Please note that this feature doesn't tie in with Geeklog's security
  1260     features - it's really more of a hack, since many people asked for this
  1261     functionality.</li>
  1262   <li>Following the "X stories in last 24 hours" link in the What's New block
  1263     will now display just those new stories.</li>
  1264   <li>User photos are now resized, just like images in stories (if the use
  1265     of an image library is configured). The max. dimensions for user photos
  1266     can be set with a separate set of config variables in
  1267     <tt>config.php</tt>.</li>
  1268   <li>The plugin menu now lists all plugins which exist in the file system
  1269     but haven't been installed yet. It also provides a link to the install
  1270     script of those plugins for easy installation.</li>
  1271   <li>Several new config variables have been added to config.php (notification,
  1272     showfirstasfeatured, dateonly, timeonly, skip_preview, upcomingeventsrange,
  1273     emailstoryloginrequired, hideemailicon, hideprintericon, hidenewstories,
  1274     hidenewcomments, hidenewlinks, max_photo_width, max_photo_height,
  1275     max_photo_size).  Please see the <a
  1276     href="config.html">config documentation</a> for details.</li>
  1277   <li>Theme changes: Please consult the <a href="theme.html#changes137">themes
  1278     documentation</a> for a list of changes.</li>
  1279 </ul>
  1280 
  1281 
  1282 <h3>Bugfixes</h3>
  1283 
  1284 <ul>
  1285   <li>Added sanity checks in the Admin story editor to prevent the loss of all
  1286     stories when using an incomplete language file (or when manipulating the
  1287     URL).</li>
  1288   <li>Fixed a nasty bug in lib-security.php that let any user with UserAdmin
  1289     permissions change the Root user's password, thus effectively becoming
  1290     root.</li>
  1291   <li>Fixed problems with blocks disappearing when they were set to
  1292     "homeonly".</li>
  1293   <li>Fixed problems with multiple [code] ... [/code] sections in stories
  1294     and comments.</li>
  1295   <li>Fixed double line spacing in [code] sections and HTML-formatted comments
  1296     on PHP 4.2.0 and up.</li>
  1297   <li>Fixed problems with slashes and HTML entities in emails sent by
  1298     Geeklog.</li>
  1299   <li>Fixes and improvements to the plugin API.</li>
  1300 </ul>
  1301 
  1302 <p><strong>Contributors:</strong> Blaine Lang, Vincent Furia, and Kenn Osborne
  1303 have contributed to this release. Thank you!</p>
  1304 
  1305 <h3><a name="addindex">Speeding up Geeklog (a bit)</a></h3>
  1306 
  1307 <p>If you're upgrading from 1.3.6 or older versions, you may want to run the
  1308 script called <tt>addindex.php</tt> that you will find in the <tt>install</tt>
  1309 directory. This script adds index fields to some of Geeklog's database tables
  1310 which should improve overall access times a bit.</p>
  1311 
  1312 <p>This has been implemented as a separate script (and not as part of the
  1313 upgrade process of the install script) since it may take some time to run,
  1314 depending on how many users / stories / etc. you have in your database. Some
  1315 people may even run into timeouts, e.g. when their hosting service limits the
  1316 execution time of PHP scripts. If that happens to you - <strong>Don't
  1317 Panic</strong>. Simply run the script again (and again and ...) until it
  1318 reports that it didn't add any fields to any tables.</p>
  1319 
  1320 <p>Please note that you do <em>not</em> need to run this script if you're doing
  1321 a fresh install of Geeklog 1.3.7. A database created during a fresh install
  1322 already has the new index fields.</p>
  1323 
  1324 
  1325 <h2><a name="changes136">Geeklog 1.3.6</a></h2>
  1326 
  1327 <h3>New Features</h3>
  1328 
  1329 <ul>
  1330   <li>Images in articles can now be resized automatically during upload
  1331     (provided you have either ImageMagick or netpbm installed). See the
  1332     <a href="config.html#image">configuration description</a> for details.</li>
  1333   <li>The contents of a static page entitled "Frontpage" will be displayed
  1334     before the first story on the front page of a Geeklog site. If the static
  1335     page additionally carries the label "nonews", then it will completely
  1336     replace the news on the front page.</li>
  1337   <li>User submission queue: When activated (in <tt><a
  1338     href="config.html#submission">config.php</a></tt>), new users will need to
  1339     be approved by an admin before they receive their password.</li>
  1340   <li>The submission queues can be switched off separately, either completely
  1341     (in <tt><a href="config.html#submission">config.php</a></tt>) or only for
  1342     certain groups of users (by using the new features story.submit,
  1343     links.submit, and event.submit).</li>
  1344   <li>When posting source code (e.g. PHP, HTML, ...), you can now use the
  1345     [code] ... [/code] pseudo tags to enclose those portions of your posting
  1346     that should be reproduced verbatim.</li>
  1347   <li>The links section now uses a categorized and paged display (can be
  1348     <a href="config.html#links">switched off</a> separately and even back to the
  1349     pre-1.3.6 style listing).</li>
  1350   <li>Anonymous users can now be <a href="config.html#login">blocked</a> from
  1351     almost every part of the site (e.g. links section, site stats, ...), if
  1352     needed.</li>
  1353   <li>A Geeklog site can now be disabled easily (e.g. for maintenance) by
  1354     setting a flag in <tt><a href="config.html#site">config.php</a></tt>.</li>
  1355   <li>Theme changes: Please consult the <a href="theme.html#changes136">themes
  1356     documentation</a> for a list of changes.</li>
  1357 </ul>
  1358 
  1359 <h3>Bugfixes</h3>
  1360 
  1361 <ul>
  1362   <li>Several fixes have been made to ensure that permissions are taken into
  1363     account properly (e.g. not revealing titles of stories that the user has no
  1364     access to).</li>
  1365   <li>Several fixes have been made to make sure that Geeklog can now be
  1366     properly localized (provided you have a language file that is up to date
  1367     and have chosen the proper <a href="config.html#locale">locale settings</a>
  1368     for your country and language).</li>
  1369   <li>The variable $_CONF['site_admin_url'] is now used properly so that you
  1370     can rename Geeklog's <tt>admin</tt> directory if needed.</li>
  1371   <li>New RDF parser will now import most (if not all) RDF news feeds
  1372     properly</li>
  1373 </ul>
  1374 
  1375 <h3>Notes</h3>
  1376 
  1377 <ul>
  1378   <li>Since there are a lot of new variables in <tt>config.php</tt>, it is
  1379     recommended you start with a fresh copy of that file instead of copying
  1380     over your old <tt>config.php</tt> from your previous installation.</li>
  1381   <li>Please note that currently only the English, German, Italian, Polish,
  1382     and Japanese language files are up to date. Using one of the other
  1383     language files may result in your Geeklog site not working properly.</li>
  1384 </ul>
  1385 
  1386 <p><strong>Contributors:</strong> Gene Wood, Blaine Lang, Tom Willet, and
  1387 Roger Webster have contributed to this release. Thank you!</p>
  1388 
  1389 <div class="footer">
  1390     <a href="http://wiki.geeklog.net">The Geeklog Documentation Project</a><br>
  1391     All trademarks and copyrights on this page are owned by their respective owners. Geeklog is copyleft.
  1392 </div>
  1393 
  1394 </body>
  1395 </html>