Sprotechs - Hack Forum
How Can i baypass cageFs secruity and read configs - Printable Version

+- Sprotechs - Hack Forum (https://forum.sprotechs.com)
+-- Forum: Security Researchers (https://forum.sprotechs.com/forumdisplay.php?fid=9)
+--- Forum: Problems (https://forum.sprotechs.com/forumdisplay.php?fid=17)
+--- Thread: How Can i baypass cageFs secruity and read configs (/showthread.php?tid=39)



How Can i baypass cageFs secruity and read configs - Th3Sniper - 08-16-2018

Hello Friends Smile
i hack a server and i upload shell i found CageFS (cloudlinux) before i can't read named.conf and all users from /etc/passwd 

after logn time of searching i read them from cpanel but i can't read configs file from cpanel 
but the problem here is how can i bypass secruity and read configs

server info :
Linux  2.6.32-896.16.1.lve1.4.54.el6.x86_64 #1 SMP Wed May 2 07:43:19 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux


i try to root using dirtyCow but not success 


if i run Dirty it show All fine :

==========
/etc/passwd successfully backed up to /tmp/passwd.bak
Complete line:
firefart:fiz4KqgazJBUw:0:0:pwned:/root:/bin/bash

mmap: b7722000
ptrace 0
Done! Check /etc/passwd to see if the new user was created.
You can log in with the username 'firefart' and the password '1971yag'.
===========

but when i check /etc/passwd file i didn't find root user "firefart" added . Undecided



Thanks All  Heart


RE: How Can i baypass cageFs secruity and read configs - blackscorpion - 09-26-2018

??? Are you mad?
Are you really running dirtycow on 2018 servers????????????????????????????????????