LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 11-02-2007, 12:39 PM   #1
DorbeshBaba
LQ Newbie
 
Registered: Nov 2007
Posts: 5

Rep: Reputation: 0
http_auth_pass Issue


Can anyone help me to protect my folders against this script.

I have already posted it in Webmin panel. But I need a solution as fast as possible.

It is known as phpShell Script.

Please have a look...


http://www.uni-bonn.de/~simolf/yourthemes.php?id=1
 
Old 11-02-2007, 05:39 PM   #2
DorbeshBaba
LQ Newbie
 
Registered: Nov 2007
Posts: 5

Original Poster
Rep: Reputation: 0
I got reply from webmin. They told me that webmin is not capable of handling such permission. cPanel already implemented such restriction.

Does anyone have any clue about how to protect root folders from accessing from this script? Any help would be highly appreciated. Thank you.
 
Old 11-02-2007, 06:00 PM   #3
DorbeshBaba
LQ Newbie
 
Registered: Nov 2007
Posts: 5

Original Poster
Rep: Reputation: 0
I did some digging and I found the solution to this problem.

Those who know this problem but can not solve it please goto this url.

http://mgeisler.net/php-shell/

PLEASE TURN YOUR SERVER IN SAFE MODE (safe_mode = on) in php.ini.

Also have a look http://mgeisler.net/downloads/phpshell/SECURITY

Note:
As they note in the PHP manual, Safe Mode is an inherently wrong way to secure
PHP, but is nevertheless used in many installations. Turning Safe Mode on in
PHP basically tries to restrict the language and its functions to make it
"safe".

This involves a strict check on file ownership so that PHP wont operate on
files and directories which are not owned by the owner of the current script.
Other restrictions in Safe Mode include limits on which files can be executed
and includes (thus making a primitive form of chroot or jail around the PHP
script).

I hope this will help prevent such hacking.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
SuSE10.2 networking issue Inter. connect. issue LVSuSE Linux - Networking 3 08-31-2007 02:42 AM
Sendmail issue (did not issue MAIL/EXPNVRFY/ETRN ...) Blackout_08 Linux - Server 0 08-08-2007 01:10 PM
webmin issue, poss security issue bejiita Slackware 3 11-03-2004 06:07 AM
Having Issue w/ Truetype fonts - Mozilla Issue clove Linux - Software 4 02-18-2004 08:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 03:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration