Welcome To Home of Information

Cpanel shell flaws website hacking

No comments
Tuesday, November 13, 2012 By Anonymous

First off, you should know that CPanel has alot of flaws in it's shells. 

for starters, when you make an account in cpanel (with WHM likley) you essentially automatically give it shell access (which is default), now, some providers allow shell access, and they would usually just select the box for shell access, and there ya go. 'We comply with our offers' and you have shell access like they said. 

What they don't know.. 
what they don't know is that (by default) cpanel grants what we call a 'normal shell' environment, most hosting provides simply do not know where you can change what type of shell it gives you, and, since its cpanel, assume its secure. 

for cpanel there are 2 types of shells: 
'normal shell' environment 
and what we call a 'jail shell' 

Both of these (for cpanel) are essentially swiss cheese. 

Like we said before, the default is a normal shell, well heres how you would use it..: 
(using PuTTy or other ssh client) 
ssh to 
host: mydomain.com 
login: my cpanel user login 
pass: (when asked in the shell) my cpanel password 
you will then get a shell bashline, now, this is a normal shell environment, like we said before, in this normal shell environment you have pretty much access to EVERYTHING (except shadow) 

so lets try the following.. 
cd / 
cd Home/ 
ls 

as you can see it now has listed all the folders in the /home directory, here it lists all the usernames, and in those folders, the files for every account (website) on the server!, you can also cd / and then ls, move around, have fun. 

jailshell is a bit different, jailshell will let you move pretty much most places but does not list all those folders (except yours) in /home/ and also dis-allows access to certain stuff, but still, you can get to alot, the good part is, like i said, most providers who use cpanel don't know how to change the normal shell to a jail shell (if they know you could even change it) 

so, if you have webhosting with cpanel and they gave you shell access, give this a try

Related posts

0 comments:

About the Author

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque volutpat volutpat nibh nec posuere. Donec auctor arcut pretium consequat.

Proudly Powered by Blogger.