Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

cPanel Kernel Installed and symlink attack still used

Discussion in 'Security' started by CanSpace, May 4, 2017.

  1. CanSpace

    CanSpace Member

    Nov 25, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    DataCenter Provider
    We have the cPanel-hardened kernel installed on all of our servers. It was our understanding that this was all that was necessary to prevent against symlink attacks.

    We are using mod_ruid2, and after installing this kernel we disabled the "experimental jailshell" tweak as we found this was leading to an unstable Apache configuration. We also uninstalled any symlink protection via EasyApache4 as it was our understanding (based on your article) that this is no longer necessary (and also not recommended) with the cPanel kernel installed.

    The other day we noticed that an account was compromised and created a symlink to the wp-config file of another account and Apache still serves this file - even though it belongs to another account.

    I opened a ticket with your support team and the agent told me I "misunderstood" what the kernel is supposed to protect against and that "Proper site security administration is still required".

    Could someone please clarify what exactly this kernel prevents? If it in fact does not prevent the symlink attack I described above, how is one meant to prevent against attacks like that?

    P.S. the ticket number is 8431169
    #1 CanSpace, May 4, 2017
    Last edited: May 4, 2017
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello @CanSpace,

    I see that ticket number 8431169 is open to request further clarification about what actually happened, and to determine if the cPanel-Hardened Kernel should have prevented it. I'll update this thread with the outcome of the support ticket once it's answered.

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice