Web Hosting Talk


Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Hosting : Cpanel root exploit not really patched. READ
Reply

Web Hosting Discussions on all aspects of web hosting including past experiences (both negative and positive), choosing a host, questions and answers, and other related subjects. If your service is unavailable, please click here.

 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-24-2006, 04:41 PM
hostgator.com hostgator.com is offline
View Beta Profile
Web Hosting Master
 
Join Date: Dec 2002
Location: texas
Posts: 1,061
Cpanel root exploit not really patched. READ

We have just discovered cpanels patch /scripts/upcp doesn't do anything. If you think you were autopatched last night or ran upcp your still very hackable.

What you need to do is run /scripts/upcp --force


A way to confirm our findings is to run http://layer2.cpanel.net/installer/sec092306.pl which is their patch checker. If your not safe it will say "not safe" if your safe it will say "safe"


After all this even after running and being told "safe" I don't believe it's truly fixed. We'll all be very lucky if something doesn't spawn off this or another cpanel wrapper exploit doesn't hit the market.

Cpanel please provide us with some source so we can help you audit. We're not asking for all of it just parts that we know aren't secure such as wrapper.

__________________
Web hosting Host unlimited sites for one set price.

Reply With Quote
Sponsored Links
  #2  
Old 09-24-2006, 04:48 PM
ServerSupportGuys ServerSupportGuys is offline
View Beta Profile
Junior Guru Wannabe
 
Join Date: Apr 2006
Location: Dallas, Texas USA
Posts: 71
Quote:
Originally Posted by hostgator.com
Cpanel please provide us with some source so we can help you audit. We're not asking for all of it just parts that we know aren't secure such as wrapper.
wow.. that's bold.

I'm not sure opening source to the community would be a method of making things anymore secure. lol.

__________________
- Comprehensive Server Management & End User Support
- Now 100% U.S. Owned & Operated
- Now offering instantly ready end-user support. 30secondsupport.com


Reply With Quote
  #3  
Old 09-24-2006, 04:54 PM
xxkylexx xxkylexx is offline
View Beta Profile
Web Hosting Evangelist
 
Join Date: Apr 2006
Location: Jacksonville, FL
Posts: 497
Thanks for the info!

__________________
▌▌WebSolvents.com Quality, Affordable, Web Hosting Solutions
▌▌ImageNerd.com Quality Image Hosting and User Galleries
WebSolvents.com - It's PowerHosting Baby!
"Hard work will beat great talent if great talent doesn't work hard."


Reply With Quote
Sponsored Links
  #4  
Old 09-24-2006, 04:55 PM
hostgator.com hostgator.com is offline
View Beta Profile
Web Hosting Master
 
Join Date: Dec 2002
Location: texas
Posts: 1,061
Sorry let me clarify that....

I don't want the community to have it, but if a few of my admins at hostgator and bluehost could get some of it we'll be able to secure it. After all we discovered this root exploit, and bluehost knows of a few other root exploits that still work.

__________________
Web hosting Host unlimited sites for one set price.


Last edited by hostgator.com; 09-24-2006 at 05:04 PM.
Reply With Quote
  #5  
Old 09-24-2006, 05:03 PM
ServerSupportGuys ServerSupportGuys is offline
View Beta Profile
Junior Guru Wannabe
 
Join Date: Apr 2006
Location: Dallas, Texas USA
Posts: 71
Quote:
Originally Posted by hostgator.com
I don't want the community to have it, but if a few of my admins at hostgator and bluehost could get some of it we'll be able to secure it. After all we discovered this root exploit, and bluehost knows of a few others that still works.
I think if cPanel did i'd probably discontinue use of it all together. and no the exploit discovered you... and use you as it's stage to make it's appearance. The way it looks ... the guys basically did everything but made tea on the servers before anyone even realized it was rooted.

I have confidence nick and his team will resolve this issue. I just hope after all said and done they continue looking/auditing. I think they owe that much to their customers. These major holes every couple months are destroying businesses.

__________________
- Comprehensive Server Management & End User Support
- Now 100% U.S. Owned & Operated
- Now offering instantly ready end-user support. 30secondsupport.com


Reply With Quote
  #6  
Old 09-24-2006, 05:08 PM
David David is offline
View Beta Profile
& Goliath
 
Join Date: Oct 2003
Location: Vancouver & Toronto
Posts: 8,357
Quote:
Originally Posted by ServerSupportGuys
wow.. that's bold.

I'm not sure opening source to the community would be a method of making things anymore secure. lol.
Sure it would. Not immediately but as you can see the blackhats are certainly finding the exploits without having the source so at least it would even the playing field.

Reply With Quote
  #7  
Old 09-24-2006, 05:12 PM
OpenReaction OpenReaction is offline
View Beta Profile
Web Hosting Master
 
Join Date: Jul 2006
Location: Atlanta, GA
Posts: 1,024
Thanks for the heads up!

__________________
Matt Armour | M.Armour@openreaction.com
OpenReaction Hosting Solutions, Inc.
Atlanta Dedicated Servers & Colocation
www.openreaction.com

Reply With Quote
  #8  
Old 09-24-2006, 05:12 PM
ServerSupportGuys ServerSupportGuys is offline
View Beta Profile
Junior Guru Wannabe
 
Join Date: Apr 2006
Location: Dallas, Texas USA
Posts: 71
Yeah i'm not convinced it would. I think it would give the "blackhats" even more insight as to how things work internally. Sure eventually it might improve the quality of the source.. but not for a long time and many disasterous exploits later.

I'm not sure any cpanel webhosts would even exist before it actually evolved to a level that would meet Tim Greer's standards ;-)

__________________
- Comprehensive Server Management & End User Support
- Now 100% U.S. Owned & Operated
- Now offering instantly ready end-user support. 30secondsupport.com


Reply With Quote
  #9  
Old 09-24-2006, 05:14 PM
David David is offline
View Beta Profile
& Goliath
 
Join Date: Oct 2003
Location: Vancouver & Toronto
Posts: 8,357
Disasterous exploits?
Like for example.. the ones that are occurring right now?

I don't think it gets any worse than it is right about now.
I know that I'm on the brink of setting up my first DirectAdmin server and abandoning cPanel alltogether.

Reply With Quote
  #10  
Old 09-24-2006, 05:20 PM
Tim Greer Tim Greer is offline
View Beta Profile
<insert something witty>
 
Join Date: Apr 2000
Location: California
Posts: 3,047
My standards are admittedly pretty high. I expect things to not result in root exploits via an suid binary that was created by a guy that has no business coding in the first place, but I digress. No reason to debate about this, really, we all want the same result--this issue to be resolved and promptly. Having software with this track history, knowing the people behind it (I don't mean to start anything, but that's how it is), and the fact that this program is compiled, we are left with trust it works. Now, even the updates aren't applying this patch--a patch that only covers some of the aspects and leaves opportunity for further immediate root exploits. This is troubling.

I don't expect Cpanel to share its source, though I'm pretty confident that, like everything else, it's some hack job on some already existing (poorly coded) open source code, or some off the wall code snippet from a google search for some simplistic c wrapper code. Cpanel/WHM run as privileged users already, what's the purpose of risking this with an obviously exploitable suid root script/binary anyway? If the coders were professionals and not people that started out as kids guessing as they went along and created a bigger mess each time, I'd be okay with it, but the track record here doesn't make me confident. That said, I'd like to see them provide the relevant portions of the code to those that can help audit it, but I won't go on about the debate anyway, they'll likely never release it. Anyway, I've got a ton of work to do.

Reply With Quote
  #11  
Old 09-24-2006, 05:24 PM
ServerSupportGuys ServerSupportGuys is offline
View Beta Profile
Junior Guru Wannabe
 
Join Date: Apr 2006
Location: Dallas, Texas USA
Posts: 71
Quote:
Originally Posted by David
Disasterous exploits?
Like for example.. the ones that are occurring right now?

I don't think it gets any worse than it is right about now.
I know that I'm on the brink of setting up my first DirectAdmin server and abandoning cPanel alltogether.
Yeah lol - exactly. The difference is it will be a weekly or monthly occurance rather than quarterly

__________________
- Comprehensive Server Management & End User Support
- Now 100% U.S. Owned & Operated
- Now offering instantly ready end-user support. 30secondsupport.com


Reply With Quote
  #12  
Old 09-24-2006, 05:29 PM
ServerSupportGuys ServerSupportGuys is offline
View Beta Profile
Junior Guru Wannabe
 
Join Date: Apr 2006
Location: Dallas, Texas USA
Posts: 71
Quote:
Originally Posted by Tim_Greer
I don't expect Cpanel to share its source, though I'm pretty confident that, like everything else, it's some hack job on some already existing (poorly coded) open source code, or some off the wall code snippet from a google search for some simplistic c wrapper code. Cpanel/WHM run as privileged users already, what's the purpose of risking this with an obviously exploitable suid root script/binary anyway? If the coders were professionals and not people that started out as kids guessing as they went along and created a bigger mess each time, I'd be okay with it, but the track record here doesn't make me confident. That said, I'd like to see them provide the relevant portions of the code to those that can help audit it, but I won't go on about the debate anyway, they'll likely never release it. Anyway, I've got a ton of work to do.
wow... spoken very eloquently LOL!!

__________________
- Comprehensive Server Management & End User Support
- Now 100% U.S. Owned & Operated
- Now offering instantly ready end-user support. 30secondsupport.com


Reply With Quote
  #13  
Old 09-24-2006, 06:06 PM
hbouma hbouma is offline
View Beta Profile
Junior Guru Wannabe
 
Join Date: Mar 2002
Posts: 84
Thanks for confirming my hunch

Tim,

Thanks for confirming my hunch. I didn't think cPanel would get updated by just running /scripts/upcp since the cPanel binaries are only updated when the versions don't match. Since stable/release are on the same version, they don't get any new binaries and thus no patch.

I didn't say anything sooner (because I didn't have a way to test if it was closed) because I didn't think cPanel would be that clueless when it comes to their own update system. But you proved me wrong on that.

I'm now going back and reupdating my servers now.

Hal

Reply With Quote
  #14  
Old 09-24-2006, 06:19 PM
RAIS RAIS is offline
View Beta Profile
Newbie
 
Join Date: Oct 2004
Posts: 6
Quote:
Originally Posted by David
Disasterous exploits?
Like for example.. the ones that are occurring right now?

I don't think it gets any worse than it is right about now.
I know that I'm on the brink of setting up my first DirectAdmin server and abandoning cPanel alltogether.
LMFAO

ME TOO

However, I was thinking Plesk or DirectAdmin.

I will see how this plays out abit first.

Reply With Quote
  #15  
Old 09-24-2006, 06:21 PM
linuxredux linuxredux is offline
View Beta Profile
WHT Addict
 
Join Date: Apr 2005
Posts: 140
Quote:
Originally Posted by hbouma
Tim,

Thanks for confirming my hunch. I didn't think cPanel would get updated by just running /scripts/upcp since the cPanel binaries are only updated when the versions don't match. Since stable/release are on the same version, they don't get any new binaries and thus no patch.

I didn't say anything sooner (because I didn't have a way to test if it was closed) because I didn't think cPanel would be that clueless when it comes to their own update system. But you proved me wrong on that.

I'm now going back and reupdating my servers now.

Hal
From the ongoing thread in the cPanel forums this appears to be the case, Nick Koston was fielding complaints about the safe/unsafe discrepencies until around 2AM this AM.

Generally speaking as a cPanel "partner" I'm annoyed that we've gotten a majority of our information from webhostingtalk.com and hostgator's forums on what is clearly an issue that warrants an immediate and direct letter to everyone on their distributor/partner mailing list.

I understand the need to keep the details regarding their setuid wrapper exploitable issues under wraps until people have a chance to update their systems, but a forewarning to cpanel partners/distributors via some kind of direct communication seems warranted, or perhaps I'm just out in left field on this.

For Brent and his team, sympathies go out, this is truly an absurd situation, and is clearly just the tip of the iceberg given Matthew's comments in the slashdot thread on this matter.

Serversupportguy: It could go either way on open sourcing the platform after this series of fires is put out. The most feasible and most likely scenario knowing cPanel's history with keeping their product closed, is the codebase should be audited by a reputable security group and findings (after fixed) made public to cpanel customers. An audit of this nature should occur at least once a quarter given the rate of new features and updates that have been pushed into Edge/Current.

I personally would prefer that the codebase not be made viewable to *only* a select handful of cpanel customers. Regardless of size, we all have the same stake in this control panel, and if it is going to be made open, it needs to be open to all of us using the product.

__________________
Thomas Brenneke | Network Redux, LLC | http://www.networkredux.com
• Proud sponsors of the SimpleMachines ImageMagick and AdiumX projects.

Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement: