Hi ,
My server got hacked by create symlink to root, Now I trying to fix this security hole. The general recommendation is to use something like grsecurity kernel or rack911 symlink patch. But rack911 not working in my server, the below is my server information:
• CENTOS 5 – cPanel WHM 11.38.1 (build 15)
• root_options: ExecCGI, FollowSymLinks, IncludesNOEXEC, Indexes, SymLinksIfOwnerMatch.
I did this steps in my server,
1. wget http://layer1.rack911.com/before_apache_make -O /scripts/before_apache_make
2. chmod 700 /scripts/before_apache_make
3. Rebuild apache after.
/scripts/easyapache
Now after all that, I can create symlink to root ?! Please advice me ,,
My server got hacked by create symlink to root, Now I trying to fix this security hole. The general recommendation is to use something like grsecurity kernel or rack911 symlink patch. But rack911 not working in my server, the below is my server information:
• CENTOS 5 – cPanel WHM 11.38.1 (build 15)
• root_options: ExecCGI, FollowSymLinks, IncludesNOEXEC, Indexes, SymLinksIfOwnerMatch.
I did this steps in my server,
1. wget http://layer1.rack911.com/before_apache_make -O /scripts/before_apache_make
2. chmod 700 /scripts/before_apache_make
3. Rebuild apache after.
/scripts/easyapache
Now after all that, I can create symlink to root ?! Please advice me ,,