security openbasedir

vdgvince

New member
Joined
Nov 12, 2014
Messages
4
Hi everybody,

i have had a security leak, and some malicious scripts entered in my code.
due to the openbasedir not secured, they were able to go over all my scripts.

Does anybody know how i can configure directadmin to avoid a script reading the directories from others domains?

thank you!
 
thanks for your answer!

i checked, and i have this :

Untitled.png

is this correct according to you?
 
Yes, it seems that open_basedir protection is on. However, there are other ways to read files outside the user dir. I'd recommend running:
Code:
cd /usr/local/directadmin/custombuild
./build update
./build secure_php
service httpd restart
 
It's not risky if your sites don't use dangerous PHP functions :)
 
Back
Top