Moving to Drupal

Thanks to a suggestion from Kitt at drupal.org, I figured out how to move most of the content from worldbeatplanet’s Nuke database to Drupal. I plan to switch over worldbeatplanet completely in a few days and shut down the Nuke site.

I also plan to merge worldbeatplanet with shareyourmusic.com. Since I can now modify my hosting packages through my reseller account, I will move the worldbeatplanet domain to the same account that now hosts shareyourmusic. I will have separate databases for each, but I hope to be able to share some code & content.

I’ve already created a subdomain static.shareyourmusic.com where I’ve copied the static pages for individual artists. I still need to fix some references, though. I will have static.worldbeatplanet.com pointing to the same site, as well as subdomains for each artist.

Getting disgusted with PHP-Nuke

I’m still finding some remnants of the hack at WorldBeatPlanet. Right now I’m pretty disgusted with PHP-Nuke. It has more security holes than Windows.

I’m considering switching WorldBeatPlanet to Drupal and I’ve even set up a test site here. The only drawback is there doesn’t seem to be any easy way to move over the old content.

The Grey Album

BoingBoing pal (and former guestblogger) Todd Lappin points us to yet another food fight between copyright and Remix Culture.

DJ Danger Mouse remixed Jay-Z’s “Black Album” with the Beatles “White Album” to create… The “Grey Album,” of course.

The New Yorker had a little Talk of the Town piece on this, Apparently, Jay-Z created a vocals-only version of his album *explicitly* so DJs could remix it. And many have. This week, the Beatles issued a cease and desist to stop the Grey Album… which of course makes the Grey Album even more desirable as a collector’s item, so now the whole album is available for download.

Download it here.

I’m listening to it now & I like it. I don’t care much for rap music, but I usually enjoy remixes like this one and the Punjabi MC remix of Eminem’s “Lose Yourself”.

Nuke Security – CHANGE YOUR $sitekey!!!!!!!

I just installed PHP-Nuke 7.0 at WorldBeatPlanet.

This seems to be how the luser was able to hack the site.

When I checked my access logs, I found a few items like:

modules.php?name=Your_Account&op=gfx&random_num=604071

The security graphic engine takes the random number and makes an MD5 encryption of it concatenated with other elements such as the $sitekey, $datekey, and the member’s http_user_agent.

At this point the MD5 hash value is switched over to hexadecimal and stored in a variable whereby at a certain starting point (2 by default) a total of x places are read and stored (by default 6).

A potential security risk exists if the default $sitekey value is not changed because a malicious user can manually map out on a PHP-Nuke portal in a one to one relationship between random_num and the number shown in the image. So long as the following values do not change:

  • $sitekey
  • $datekey
  • $random_num
  • HTTP_USER_AGENT

The number shown back in the security image will always be the same. Such a mapping would be tedious to complete manually, but the possibility exists nonetheless.

Out of the four variables above, the user can manipulate only two:

  • $random_num
  • $HTTP_USER_AGENT

This effectively means that the entire process of mapping out the one to one relationship must occur in a single day due to the $datekey parameter. Each day adds a new value to the hexadecimal/MD5 concatenation process.

Lets take this a step further. If a PHP-Nuke webmaster does not change their default $sitekey parameter this could still open them up to attack. A malicious user may install a default PHP-Nuke portal on their own system and now they have access to manipulate all of the four variables above.

This means they can change the date on their system, altering the $datekey to each day of the year, and manually map out all the random_num values to their respective security image code values. At this point, they have a full database for every day of the year that can be used maliciously against default $sitekey value PHP-Nuke sites. With such data, a script can be written to check the random_num value, ie:

modules.php?name=Your_Account&op=gfx&random_num=604071

And such a script could call up the corresponding security code value thereby rendering the purpose behind it useless.

Conclusion? Change your $sitekey immediately from the default value, and change it often. On Nuke Cops for example, the random_num above, 60407, generates the number 588529 using my HTTP_USER_AGENT for today’s date. You will most likely see a different code.

Categories Web

A more focused weblog

I’ve moved the politics category to a separate weblog which will focus entirely on politics, while this one will be mostly about Macs, programming, web development, and general geekiness, with some fun stuff thrown in.

Categories Web

Welcome to the new host

If you can see this, you’re looking at the new host. I now have a reseller account at PEHosting instead of 3 separate accounts for this site, worldbeatplanet, and shareyourmusic.com. I also now have a new politics weblog where I moved the political content from this weblog.

Categories Web

Theme Uglies

The winning themes at Unsanity’s contest are just plain ugly. I can’t believe nobody could come up with anything better. I like subtle themes like Aqua Extreme or Smooth Strips from maxthemes, but these are too annoying for regular use.

Site Note #2

I just gave all of mcdevzone.com a facelift. I got tired of the pinstrip background, plus I’m now using a separate style sheet for the entire site. I also added a picture to the about page.

Categories Web