Skip to main content

Security Advisor: Symlink Ownership Attack Message with ModRUID2 and Jailed Apache

Comments

2 comments

  • cPanelMichael
    I have noticed that the ModRUID2 + jailed Apache option has been removed from the documentation for symlink ownership attack protection. Technically, it's true that our kernel doesn't support prevention of symlink ownership attacks, but aren't we still adequately protected with ModRUID2 and jailed Apache?

    Hello @linux4me2, Protection at the kernel level is recommended as the most effective approach to prevent symlink attacks, but you are correct that Mod_Ruid2 combined with the "Jail Apache Virtual Hosts using mod_ruid2 and cPanel" jailshell" option in "WHM >> Tweak Settings" does offer decent protection against symlink attacks. There's a post here where the overall topic of symlink protection is discussed in more detail: EasyApache4 symlink race protection Thank you.
    0
  • linux4me2
    Thanks Michael. I did read that article when I was researching our options, and for some time we were getting by with just setting all our configuration files to 600 permissions. When we were migrated to a KVM VPS from Virtuozzo, I was hopeful that we could use the cPanel-hardened kernel, but the new web host (Liquidweb) doesn't allow custom kernels on their VPS because they say custom kernels can adversely affect the host system. For now, mod_ruid2 and jailshell seem to be the way for us to go. I was really just hoping implementing them would get Security Advisor back to "all green." I miss our "all green" Security Advisor scan. : )
    0

Please sign in to leave a comment.