|
||||
|
Not really possible because there are people who disable SUEXEC and then all perl scripts are run as nobody. The real problem is the crappy php security model (or extreme lack of it) which I 've never been able to fathom considering the whole point of php is as a language for web sites. Ah well.
__________________
Jonathan Michaelson cPanel Forum Moderator Need your cPanel servers secured and tuned? cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf http://www.configserver.com |
|
||||
|
Quote:
![]() The people who do not want suexec can continue that way.. What I'm trying to suggest is to bring in an option like - "switch to secure mode" where nobody has got restricted access.. I really appreciate your thoughts on it... ![]() Quote:
|
|
|||
|
I think this would be easier in near future when SE Linux become popular. It provide the administrator with lot flexibility once mastered
I think we now have two options. 1) Replace binary with dummy scripts which checks for the user ( may terribly affect performance ) 2) Put users in a system group which can execute these binaries and remove permission for others. Both of these methods can cause more headache than current situation. But these are the ones I can think of now. Anyway what I do is install mod_security remove permissions for usual downloading tools ( like wget lynx ) and i find these two steps help me to fight against nobody getting shell Cheers Shameer |
|
||||
|
Quote:
If there is something that cpanel can do about it, it would really really great Quote:
![]() Thanks for your reply, Shameer |
|
|||
|
Then we need to play with ld ( linker/locader )
file open system calls are first passed through this library. We should be able to identify and filter such attacks http://lists.nas.nasa.gov/archives/e.../msg00027.html I am currently doing a project which deals with modification of ld . I will give you more information once i completed that. In the meantime , if you are confident with C and linux you should be able to implement a filter yourself. Best of Luck Cheers, Shameer Bobcares |
![]() |
| Thread Tools | |
| Display Modes | |
|
|