Welcome to Geeklog Tuesday, June 18 2013 @ 08:35 PM EDT
Last week, an exploit was published that allows unauthorized direct uploads to a Geeklog site, using the PHP connector included with FCKeditor. The uploads still have to go through FCKeditor's filters, so it's not possible to use this to upload scripts and the integrity of the Geeklog site as such is not in danger. As it turns out, however, this exploit is now being used to host malware on some Geeklog sites. So it seems we completely underestimated the impact of this issue.
Geeklog 1.6.0sr2 is now available for download and ships with a much more restrictive configuration for uploads through FCKeditor. There's also an archive to upgrade from 1.6.0sr1 and an updated version of the drop-in FCKeditor replacement for older Geeklog versions.
If you don't use FCKeditor (aka "Advanced Editor") on your site, the easiest and safest method is to simply remove the entire fckeditor directory (from your public_html directory). Otherwise, please install one of the above updates ASAP.
Independent of this issue are reports about Geeklog sites being hacked through two older FCKeditor-related issues (see: File uploads through FCKeditor and FCKeditor input sanitization errors). So if you haven't installed those updates yet, please do so ASAP now.
In retrospect, we really dropped the ball on this one. While we were looking for a fix, we didn't realize the potential misuse of this exploit and thus didn't treat it with the urgency it would have required. Our apologies for that. I'm also taking some personal responsibility for this issue, since I'm not using FCKeditor myself and haven't really looked into it too closely. The issues in the upload configuration were really obvious (our fault, btw, not FCKeditor's) but went unnoticed. Sorry about that and we will be reviewing the FCKeditor integration for the next Geeklog release.
No trackback comments for this entry.
The following comments are owned by whomever posted them. This site is not responsible for what they say.
And does the drop-in-replacement contain the previous forementioned replacements?
It does affect sites even if FCKeditor is disabled, as long as the "fckeditor" directory is there. The drop-in replacement contains the latest version of FCKeditor plus the specific fixes for this issue from Geeklog 1.6.0sr2.
the workaround involved editing configuration.php line 35 to remove the ../lib-common.php and replace it with "lib-common.php" then copy configuration.php to my root directory, copy auth-inc.php to my root directory, rerun mysite.com/configuration.php , update the admin path (ie mysite.com/admin) then remove the edited configuration.php from root directory, and remove auth-inc.php
Also, when I tried to register on geeklog.com, a password was sent to me (i'm not stupid here but humor this) despite copy-pasting in verbatim my username and password, then trying manually typing it twice, i exceeded maximum logon attempts and went into speedlimit break mode.
It looks like the newest release (and my first attempt at running a geeklog) is seriously flawed, maybe someone in irc can help address the issues that are cropping up for me...
or maybe I just need to rtfm (which I did!)
You're doing something wrong. configuration.php, auth.inc.php, etc. are supposed to be in a directory called "admin". One level up from that directory is the lib-common.php, so the include with '../lib-common.php' is correct.
Maybe the program you used to unpack the tarball messed something up. I'd suggest you start over fresh.