Home Private Messages Search
CPG Dragonfly™ CMS Dedicated Server & Bandwidth Sponsored by DedicatedNOW
Toggle Content
 
Forums ⇒ CMS (All) ⇒ Security :: Archives ⇒ CRITICAL: phpBB Search Exploit, Follow-up :: Archived


CRITICAL: phpBB Search Exploit, Follow-up :: Archived
Post any security related questions in here.
Please send discovered reports to security @ cpgnuke.com
Do Not post links to exploits or hacker sites - your post will be edited/deleted.
If you think you've been hacked, FIRST go through your server logs.

Go to page 1, 2, 3, 4  Next
Post new topic    Revive this topic    Printer Friendly Page     Forum Index ⇒  Security

Topic Archived View previous topic :: View next topic  
Author Message
Trevor
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 2170
Location: New York
PostPosted: Thu Nov 18, 2004 11:59 pm
Post subject: CRITICAL: phpBB Search Exploit, Follow-up

editors note: Patches are available here!

CRITICAL SECURITY BULLETIN

Following my original post here regarding the recent phpBB search highlighting exploit, the phpBB Group has become aware that the exploit can be taken advantage of, in a serious way. This clearly contradicts what I said in my original post, but this IS serious folks. We cannot urge you strongly enough to apply the fix below. This fix does NOT pertain to CPG-Nuke 9, it is immune because of our new quote handling system.

Note: If you applied the earlier fix for .htaccess, keep it - it's a good security measure to take.

The Patch

Open up modules/Forums/viewtopic.php

Find on line ~514:
PHP:
$words = explode(' ', trim(htmlspecialchars(urldecode($HTTP_GET_VARS['highlight']))));

Replace with:
PHP:
$words = explode(' ', trim(htmlspecialchars($HTTP_GET_VARS['highlight'])));

Note: If you see a <?php in the above code snippets, ignore it - it's a bug that we are trying to trace.

If you prefer to upload a patched copy of the file, you will find it below...


Please do take this seriousely, this is a critical issue. Spread the word to as many people as you possibly can that are using CPG-Nuke!

As always, thank you for your continued support of CPG-Nuke.

External Links


Trevor's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / 1.3.34 / 4.1.18 / 4.4.2 / CVS


Last edited by Trevor on Mon Mar 28, 2005 2:14 am; edited 1 time in total
Back to top
View user's profile Photo Gallery
NEMINI
Diamond Supporter
Diamond Supporter

Offline Offline
Joined: Apr 22, 2004
Posts: 4551

PostPosted: Fri Nov 19, 2004 12:49 am
Post subject: Re: CRITICAL: phpBB Search Exploit, Follow-up

may I suggest a notice on the front page and perhaps a newsletter go out ... similar to when the coppermine exploit was found. If these are already in the works feels free to ignore this post.

_________________
NEMINI.org, NEMINI.us, NEMINI.info, NYMINI.org

NEMINI's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
1.3.34 (Unix)/4.1.18-standard/4.4.2 /9.1.0.8 CVS
Back to top
View user's profile Visit poster's website Photo Gallery
Trevor
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 2170
Location: New York
PostPosted: Fri Nov 19, 2004 12:53 am
Post subject: Re: CRITICAL: phpBB Search Exploit, Follow-up

Good idea, we'll work on that


Trevor's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / 1.3.34 / 4.1.18 / 4.4.2 / CVS
Back to top
View user's profile Photo Gallery
Jeruvy
Security Team
Security Team

Offline Offline
Joined: Apr 23, 2004
Posts: 1432
Location: Canada
PostPosted: Fri Nov 19, 2004 3:18 am
Post subject: Re: CRITICAL: phpBB Search Exploit, Follow-up

Yes, this exploit has several PoC's circulating the net one has been available for over a week, so the SK's will be out active this weekend for sure.

All 8.1.1 and 8.2a and 8.2b users are advised to upgrade immediately.

_________________
J.
j e r u v y a t y a h o o d o t c o m

Need help? Look here: www.dragonflycms.org/W...d=112.html
Need to chat? Look for me on irc.freenode.net

Jeruvy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Ubuntu7.10/Debian3.1 - 2.2.3/1.3.37 - 5.0.38/4.0.27 - 5.2.1/4.4.7 - CVS/9.1.2}
Back to top
View user's profile ICQ Number Yahoo Messenger Photo Gallery
tuta
Supporter
Supporter

Offline Offline
Joined: Jun 29, 2004
Posts: 465
Location: Houston
PostPosted: Fri Nov 19, 2004 4:48 am
Post subject: Re: CRITICAL: phpBB Search Exploit, Follow-up

It seems that this fix disable's the [img] tag handling in signatures. Is that right?

(just checking)

_________________
SEARCH the WIKI
How to Port for Dragonfly

tuta's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/Apache/MySQL 4.1.22/PHP 4.4.6/9.1.2.1
Back to top
View user's profile Visit poster's website Yahoo Messenger
Wide
Platinum Supporter
Platinum Supporter

Offline Offline
Joined: Aug 07, 2004
Posts: 294
Location: Playa Del Rey, CA
PostPosted: Fri Nov 19, 2004 5:22 am
Post subject: Re: CRITICAL: phpBB Search Exploit, Follow-up

Thank you Trevor.

For critical updates may I suggest a group hug, I mean email Embarassed


Have a great evening Big grin


Wide's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Debian/Apache2/MySQL 4.1.15-Debian/PHP4 4.4.2-1build1/9.1.1
Back to top
View user's profile Visit poster's website
THiNKFiRE
Silver Supporter
Silver Supporter

Offline Offline
Joined: Sep 09, 2004
Posts: 130

PostPosted: Fri Nov 19, 2004 1:38 pm
Post subject: Re: CRITICAL: phpBB Search Exploit, Follow-up

tuta wrote:
It seems that this fix disable's the [img] tag handling in signatures. Is that right?

(just checking)

Mine are working fine with that fix...


THiNKFiRE's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Redhat 9 i686/apache (1.3.31 (Unix)) /mysql (4.0.20-standard)/phpinfo is disabled/CPGNuke 8.2b
Back to top
View user's profile Visit poster's website
djdevon3
Gold Supporter
Gold Supporter

Offline Offline
Joined: Aug 05, 2004
Posts: 4363

PostPosted: Fri Nov 19, 2004 1:51 pm
Post subject: Re: CRITICAL: phpBB Search Exploit, Follow-up

mine work fine as well. secured 4 sites in 2 minutes. Smile i didn't catch the news yesterday because all new news is far down on the index page. the top is full of stuff i've been seeing for weeks so i skip over it. not good Sad


djdevon3's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/1.3.33/4.4/4.3.11
Back to top
View user's profile Visit poster's website Photo Gallery
tuta
Supporter
Supporter

Offline Offline
Joined: Jun 29, 2004
Posts: 465
Location: Houston
PostPosted: Fri Nov 19, 2004 4:56 pm
Post subject: Re: CRITICAL: phpBB Search Exploit, Follow-up

ok -- sorry -- it was a problem with imageshack (which I use for most of my images on forums and such so as to not eat my own bandwidth).

_________________
SEARCH the WIKI
How to Port for Dragonfly

tuta's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/Apache/MySQL 4.1.22/PHP 4.4.6/9.1.2.1
Back to top
View user's profile Visit poster's website Yahoo Messenger
winglet
Nice poster
Nice poster

Offline Offline
Joined: May 20, 2004
Posts: 99
Location: Vancouver, Canada
PostPosted: Fri Nov 19, 2004 11:19 pm
Post subject: Re: CRITICAL: phpBB Search Exploit, Follow-up

Jeruvy wrote:
Yes, this exploit has several PoC's circulating the net one has been available for over a week, so the SK's will be out active this weekend for sure.

All 8.1.1 and 8.2a and 8.2b users are advised to upgrade immediately.

Forgive me,

"PoC's" and "SK's"? Not familiar with the terms although can infer they are bad little people intent on harm to the good, innocent folk of CPG-Nuke!

Smile


winglet's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux :: 1.3.33 :: 4.0.24 :: 4.3.11 :: 9.0.4.0 :: Browsers: Mac: Safari 2.0 PC: Firefox 1.0.4, IE6 All Updates
Back to top
View user's profile Visit poster's website
djdevon3
Gold Supporter
Gold Supporter

Offline Offline
Joined: Aug 05, 2004
Posts: 4363

PostPosted: Fri Nov 19, 2004 11:34 pm
Post subject: Re: CRITICAL: phpBB Search Exploit, Follow-up

POC means Port of Call. It's a nautical term but I don't think that's what he means. I've never heard of those two term's either. Rest assured whatever they are, they aren't good people.


djdevon3's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/1.3.33/4.4/4.3.11
Back to top
View user's profile Visit poster's website Photo Gallery
Tank863
Silver Supporter
Silver Supporter

Offline Offline
Joined: May 08, 2004
Posts: 101
Location: Philadelphia
PostPosted: Sat Nov 20, 2004 2:57 am
Post subject: Re: CRITICAL: phpBB Search Exploit, Follow-up

SK = Script Kiddies
PoC = Point of Contact (If I'm correct on this one)


Tank863's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux-2.4.20-43.9/4.0.23a-standard/4.3.11/9.0.6.1
Back to top
View user's profile Visit poster's website
SteX
Heavy poster
Heavy poster

Offline Offline
Joined: Apr 21, 2004
Posts: 208
Location: Serbia, Beograd..
PostPosted: Sat Nov 20, 2004 2:46 pm
Post subject: Re: CRITICAL: phpBB Search Exploit, Follow-up

PoC = Proof of Concept ..

_________________
....Watch the master. Follow the master. Be the master....

SteX's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Searching for host...Serbia up to Tokyo...
Back to top
View user's profile Send e-mail ICQ Number
Tank863
Silver Supporter
Silver Supporter

Offline Offline
Joined: May 08, 2004
Posts: 101
Location: Philadelphia
PostPosted: Sat Nov 20, 2004 5:30 pm
Post subject: Re: CRITICAL: phpBB Search Exploit, Follow-up

ahh....

Should have known... should have known

_________________
Microsoft MVP
Windows Security
2005-2006

Tank863's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux-2.4.20-43.9/4.0.23a-standard/4.3.11/9.0.6.1
Back to top
View user's profile Visit poster's website
Jeruvy
Security Team
Security Team

Offline Offline
Joined: Apr 23, 2004
Posts: 1432
Location: Canada
PostPosted: Sat Nov 20, 2004 7:08 pm
Post subject: Re: CRITICAL: phpBB Search Exploit, Follow-up

SK : Script Kiddies....

PoC : Proof of Concept

Sorry I tend to forget sometimes.

Embarassed

I have already seen this in the wild now on two servers I supervise.

_________________
J.
j e r u v y a t y a h o o d o t c o m

Need help? Look here: www.dragonflycms.org/W...d=112.html
Need to chat? Look for me on irc.freenode.net

Jeruvy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Ubuntu7.10/Debian3.1 - 2.2.3/1.3.37 - 5.0.38/4.0.27 - 5.2.1/4.4.7 - CVS/9.1.2}
Back to top
View user's profile ICQ Number Yahoo Messenger Photo Gallery
Display posts from previous:   
Post new topic    Revive this topic    Printer Friendly Page    Forum Index ⇒  Security
Page 1 of 4
All times are GMT
Go to page 1, 2, 3, 4  Next

Archive Revive
Username:
This is an archived topic - your reply will not be appended here.
Instead, a new topic will be generated in the active forum.
The new topic will provide a reference link to this archived topic.
 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Fixed .ico Expires header.
· Removed domain name from cookies so subdomains wont access them anymore.
· CSS and JS, case insensitives.
· CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.

Детальніше...

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy