unofficial phpbb 2.0.16 patch.

  • meman
  • Web Master
  • Web Master
  • User avatar
  • Joined: Aug 03, 2004
  • Posts: 3432
  • Loc: London Town , Apples and pears and all that crap
  • Status: Offline

Post July 13th, 2005, 11:20 pm

I don't know if this is applicable here, but there has been a critical flaw in phpbb 2.0.16 for the last week that has got a few people , and phpbb are being a bit slow in releasing an update or patch for it.

The exploit is one of the XSS (cross site scripting) family that allows people to steal cookies (login data) from forums through bad filtering of bbcode.

This patch was tested on my own forum and i haven't seen any negative side effects from it. But most importantly, it has patched us against the exploit.

The patch is simple.
Open includes/bbcode.php in notepad.
click edit select replace.
then replace all
Code: [ Select ]
[^ \"\n\r\t<]

with
Code: [ Select ]
[^ \"\n\r\t\'\`\[\]<]

(after making a backup of the original file)

This will work fine as a temporary fix, but i would suggest using the official patch as soon as its released.
Alternatively , you could disable bbcode until there is an official phpbb patch.

A mod might want to pm me if they want more info.
Or if the post is unsuitable i don't mind if its deleted.

The exploit and patch were both tested by us on my forum and the flaw is very serious, and the patch seems to work fine as a temporary solution..
GodBeGone - Atheist Blog
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post July 13th, 2005, 11:20 pm

  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23404
  • Loc: Woodbridge VA
  • Status: Offline

Post July 14th, 2005, 5:18 am

We appreciate the tip. Do you have any links to validate this? I assume you have reported this at the security tracker? http://www.phpbb.com/security/
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • meman
  • Web Master
  • Web Master
  • User avatar
  • Joined: Aug 03, 2004
  • Posts: 3432
  • Loc: London Town , Apples and pears and all that crap
  • Status: Offline

Post July 14th, 2005, 5:41 am

yeah one of my moderators reported it to phpbb when we first heard about it..

The only link i have to verify it has a fully working proof of concept code included so i didn't post it here.

As far as i know this dosnt work in FF, so FF users are safe, but thier forums are not.

I'll pm you the link ATNO...
GodBeGone - Atheist Blog
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23404
  • Loc: Woodbridge VA
  • Status: Offline

Post July 14th, 2005, 6:09 am

Thank you. I will pass that on to Bigwebmaster.
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • meman
  • Web Master
  • Web Master
  • User avatar
  • Joined: Aug 03, 2004
  • Posts: 3432
  • Loc: London Town , Apples and pears and all that crap
  • Status: Offline

Post July 14th, 2005, 6:49 am

no problem.
GodBeGone - Atheist Blog

Post Information

  • Total Posts in this topic: 5 posts
  • Users browsing this forum: No registered users and 2 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.