webshell problem

6 posts / 0 new
Last post
#1 Tue, 06/17/2014 - 08:44
devmark

webshell problem

i have tried https://github.com/b374k/b374k this php shell. i mean if my customer put it shell to thier website. then my whole server was exploded.

anyone know how to fix it?

Tue, 06/17/2014 - 09:26
andreychek

Howdy,

What problem is it that you've having exactly?

-Eric

Tue, 06/17/2014 - 09:44
devmark

thanks yr reply. assume my hosting client wanna hack our server. then he upload that php shell.

he could use terminal etc to hack my server. i think is it basedir problem and permission.

Tue, 06/17/2014 - 10:40
andreychek

Howdy,

Ah, being able to browse the filesystem doesn't mean that the user can hack anything. Any web-based file manager would allow that.

There is some information on all that here in the sections "How can I prevent FTP Users from Browsing the Entire Filesystem" and "How can I prevent other types of users from browsing the entire filesystem":

https://www.virtualmin.com/documentation/security/faq

Mon, 01/19/2015 - 11:50
Welshman
Welshman's picture

That won't stop users using sftp but permissions should, I hope stop them going where they are not allowed and having access to sensistive info.

Chaos Reigns Within, Reflect, Repent and Reboot, Order Shall Return.

Tue, 01/20/2015 - 00:58
tpnsolutions
tpnsolutions's picture

Hi,

As a rule of thumb, if you give a parent folder 0700 permission you'll prevent "non-owners" from reading, writing, or executing in that directory. This is how most filesystems are designed.

Best Regards,
Peter Knowles
TPN Solutions

Email: pknowles@tpnsolutions.com
Phone: 604-782-9342
Skype: tpnsupport
Website: http://www.tpnsolutions.com

Ask me about my new support plans which include a FREE copy of Virtualmin Pro!!!

Best Regards,
Peter Knowles | TPN Solutions
Email: pknowles@tpnsolutions.com | Skype: tpnassist
Topic locked