cPanel Security Advisor

Version: 1.04

Important

Apache vhosts are not segmented or chroot()ed.

Enable “mod_ruid2” in the “EasyApache 4” area, enable “Jail Apache” in the “Tweak Settings” area, and change users to jailshell in the “Manage Shell Access” area. Consider a more robust solution by using “CageFS on CloudLinux”. Note that this may break the ability to access mailman via Apache.

The system kernel is at version “5.15.0-67-generic”, but the system is configured to boot version “5.15.0-107-generic”.

Reboot the system. If the problem persists, check the GRUB boot configuration.

The MySQL service is currently configured to listen on all interfaces: (bind-address=*)

Configure bind-address=127.0.0.1 in /etc/my.cnf or use the server’s firewall to restrict access to TCP port “3306”.

The system’s core libraries or services have been updated.

Reboot the server to ensure the system benefits from these updates.

SSH direct root logins are permitted.

Manually edit /etc/ssh/sshd_config and change PermitRootLogin to “without-password” or “no”, then restart SSH in the “Restart SSH” area

Recommendations

Users running outside of the jail:

example.

Change these users to jailshell or noshell in the “Manage Shell Access” area.

Information

Apache Symlink Protection: mod_ruid2 loaded in Apache

mod_ruid2 is enabled in Apache. To ensure that this aids in protecting from symlink attacks, Jailed Apache needs to be enabled. If this not set properly, you should see an indication in Security Advisor (this page) in the sections for “Apache vhosts are not segmented or chroot()ed” and “Users running outside of the jail”. If those are not present, your users should be properly jailed. Review Symlink Race Condition Protection for further information.

Use Imunify360 for complete protection against attacks on your servers.

Use Imunify360 for a comprehensive suite of protection against attacks on your servers.

  • Multi-layered defense stops attacks with advanced firewall, herd immunity, Intrusion Prevention System, and more.
  • Powered by AI with advanced detection of brute force attacks, zero-day, and unknown security threats.
  • Proactive Defense™ recognizes malicious code in real-time and stops malware in its tracks.
  • Easy management right inside your WHM interface.
  • Patch Management via KernelCare and hardened PHP
  • Learn more about Imunify360
Get Imunify360 for $45.00/month.

Use ImunifyAV+ to scan for malware and clean up infected files with one click.

ImunifyAV+ brings you the advanced scanning of ImunifyAV and adds more options to make protecting servers from malicious code almost effortless. Enhanced features include:

Get ImunifyAV+ for $6.00/month.

Use KernelCare to automate kernel security updates without reboots.

KernelCare provides an easy and effortless way to ensure that your operating system uses the most up-to-date kernel without the need to reboot your server. After you purchase and install KernelCare, you can obtain and install the KernelCare “Extra” Patchset, which includes symlink protection.

Get KernelCare for $3.00/month.

Verified

cPHulk Brute Force Protection is enabled.

MySQL test database does not exist.

MySQL check for anonymous users

The system is running a supported database.

Password strength requirements are strong.

SCGI is disabled, currently using the recommended suEXEC.

The pseudo-user “nobody” is not permitted to send email.

Outbound SMTP connections are restricted.

Apache is being queried to determine the actual sender when mail originates from the “nobody” pseudo-user.

SSH password authentication is disabled.

Current SSH version is up to date: 1:8.9p1-3ubuntu0.7

Interface Analytics

cPanel, L.L.C. uses Interface Analytics to help us understand how our customers use cPanel & WHM. We take your privacy very seriously, and you can stop data collection at any time. Find out more about Interface Analytics.

Will you allow Interface Analytics data collection for your account?