Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Critical Vulnerability with cPanel & WHM Login Authentication

dustincdustinc Member, Patron Provider, Top Host
edited May 12 in General

Heads up for anyone running cPanel & WHM environments -- you may want to temporarily block ports 2083/2087 ASAP.

We've already implemented this across our shared/reseller hosting fleet as a precaution.

cPanel has today disclosed a critical authentication-related vulnerability affecting all supported versions, and as of now, no patch is available yet.

Official advisory from cPanel: https://support.cpanel.net/hc/en-us/articles/40073787579671-Critical-Vulnerability-with-cPanel-WHM-Login-Authentication

Description
A critical vulnerability was recently identified in the cPanel software regarding an authentication login exploit. This affects all currently supported versions of cPanel.

Workaround
Currently, we are actively building a patch for all supported versions of cPanel/WHM to address this and ensure the integrity of the cPanel product.

In the meantime, using a firewall to block access to TCP ports 2083/2087 will prevent unauthorized access, but would also restrict all other access to the control panel as well. This is currently the best option to secure your servers until the patch is ready.

If you are utilizing an unsupported version of cPanel, it is strongly recommended that you update to a supported build as soon as possible, as it is likely also affected. This way, you can receive the patch as soon as it's available.

«13

Comments

  • MikeAMikeA Member, Patron Provider

    Wow!

    Thanked by 1oloke
  • ZerpyZerpy Member

    @dustinc said:

    We've already implemented this across our shared/reseller hosting fleet as a precaution.

    Should probably disable proxy domains as well in the meantime.

  • dustincdustinc Member, Patron Provider, Top Host

    @Zerpy said:

    @dustinc said:

    We've already implemented this across our shared/reseller hosting fleet as a precaution.

    Should probably disable proxy domains as well in the meantime.

    Yes, we noticed that too and brought it to the cPanel's team attention. They just updated their documentation a few minutes ago in light of this feedback.

    For those running Litespeed, here is the command to do so:

    whmapi1 set_tweaksetting key=proxysubdomains value=0 && /scripts/proxydomains remove && /scripts/rebuildhttpdconf && systemctl restart lsws

    Thanked by 2oloke cainyxues
  • EthernetServersEthernetServers Member, Patron Provider

    Nasty! We've disabled cPanel/WHM/Proxy Subdomains per their advise in the mean time.

    Thanked by 2oloke ariq01
  • EthernetServersEthernetServers Member, Patron Provider

    It was just expanded to cover Webmail and Webdisk as well:

    2083/2087 - SSL connections
    2082/2086 - Non-SSL connections
    2095/2096 - Webmail
    If webdisk is enabled, include 2077/2078

    Thanked by 1avsisp
  • dustincdustinc Member, Patron Provider, Top Host

    The cPanel documentation has been updated to include webmail ports too: https://support.cpanel.net/hc/en-us/articles/40073787579671-Critical-Vulnerability-with-cPanel-WHM-Login-Authentication

    2083/2087 - SSL connections
    2082/2086 - Non-SSL connections
    2095/2096 - Webmail
    If webdisk is enabled, include 2077/2078

  • We are going to be seeing many more of these as frontier AI models are used for penetration testing.

    Thanked by 1Saragoldfarb
  • MikeAMikeA Member, Patron Provider

    @barbarza said:
    We are going to be seeing many more of these as frontier AI models are used for penetration testing.

    Yep. But at the end of the day, it's for the better.

  • dustincdustinc Member, Patron Provider, Top Host
    edited April 28

    cPanel has now updated their temporary guidance -- in addition to blocking earlier mentioned ports, they are recommending stopping cpsrvd and cpdavd services altogether as a precaution.

    First, disable cpdavd:

    whmapi1 configureservice service=cpdavd enabled=0 monitored=0

    Then stop cpsrvd on your server:

    /scripts/restartsrv_cpsrvd --stop

    Thanked by 2oloke Mrfly
  • ariq01ariq01 Member
    edited April 28

    Why the current solution is just adding cPanel ports itself? Tcp 2083 2087 is important duh.

    Looks like docs updated every minutes!

    In the meantime, our primary recommendation would be to stop or disable the cpsrvd and cpdavd services on your server:

    First, disable cpdavd:
    whmapi1 configureservice service=cpdavd enabled=0 monitored=0
    Then stop cpsrvd on your server:
    /scripts/restartsrv_cpsrvd --stop
    This would be the best way to secure and protect your server while waiting for a patch to become available.

  • r3kr3k Member

    Aaaah shit.

  • EthernetServersEthernetServers Member, Patron Provider

    @ariq01 said:

    Looks like docs updated every minutes!

    It certainly does seem like a fast moving situation, likely discovered externally and thus prompting an emergency response. cPanel patch security issues regularly but most don't get anywhere near the level of exposure this one is getting.

    Thanked by 2ariq01 MikeA
  • ariq01ariq01 Member

    It’s 3AM here! Should i sleep or temp disable port 2083 2087 :joy:

    Thanked by 1avsisp
  • EthernetServersEthernetServers Member, Patron Provider

    @ariq01 said:
    It’s 3AM here! Should i sleep or temp disable port 2083 2087 :joy:

    Well, if you want to wake up to even more work from a compromised server, then it's probably best you follow the advise cPanel have given.

    Thanked by 4ariq01 MikeA oloke avsisp
  • RubbenRubben Member

    @MikeA said:
    Wow!

    Wowie

    Thanked by 3MikeA oloke ariq01
  • yoursunnyyoursunny Member, IPv6 Advocate

    @ariq01 said:
    It’s 3AM here! Should i sleep or temp disable port 2083 2087 :joy:

    Sleep takes priority.
    :sleeping:

    Thanked by 2ariq01 avsisp
  • dustincdustinc Member, Patron Provider, Top Host

    cPanel has updated the documentation with a detection bash script, to help look for indicators of compromise: https://support.cpanel.net/hc/en-us/articles/40073787579671-Security-CVE-2026-41940-cPanel-WHM-WP2-Security-Update-04-28-2026

  • @labze @Francisco systems updated?

  • FranciscoFrancisco Top Host, Host Rep, Veteran

    @hyperblast said:
    @labze @Francisco systems updated?

    Thanks for thinking of us! We kept on top of it and pulled updates the ~minute they said it was available.

    Assuming you're on a version of cPanel that's still getting updates, you should be auto-updated by now.

    Francisco

    Thanked by 1hyperblast
  • labzelabze Member, Patron Provider

    @hyperblast said:
    @labze @Francisco systems updated?

    Yes. Got woken up during the night to handle this.

    Thanked by 1hyperblast
  • CristianDCristianD Member, Host Rep

    One of my colleagues noticed this issue on March 17 on one of our cPanel testing servers, which did not have IP-based login restrictions for WHM. It was reported to cPanel, but they didn’t take any action.

    Thanked by 1borkedascii
  • @hyperblast said:
    @labze @Francisco systems updated?

    Our boys always on time.

    Thanked by 1hyperblast
  • bdspicebdspice Member

    So another price hiking for Cpanel is coming soon :smiley:

  • xletxxletx Member

    @dustinc what was your Solution?? For this Hard time , cPanel team are sleeping

  • CristianDCristianD Member, Host Rep

    So the problem has existed since February 23 and was reported to cPanel, but they didn’t take any action.

    Who is going to pay for this? Data loss, compromised servers, companies having to reinstall systems, all the work involved, the downtime, etc. In my opinion, cPanel should be held responsible for this. Yes, I know you’ll say companies should have backups — and that’s true — but what about the time, effort, and downtime required to rebuild servers and websites?

    If I make a mistake, I am held accountable and I pay for it. Why should it be different here?

    How come nobody is talking about this on the cPanel Community? I haven’t found any discussions about it. Is this being ignored or hidden?

    Will anybody sue cPanel? I’m curious about this — someone should.

    Thanked by 1avsisp
  • EthernetServersEthernetServers Member, Patron Provider
    edited May 1

    @CristianD said:
    How come nobody is talking about this on the cPanel Community? I haven’t found any discussions about it. Is this being ignored or hidden?

    cPanel staff have been deleting the topics. I saw them being created, and now when I check my browser history and go back to those links, they're gone.

    cPanel have a lazy attitude on a lot of matters these days. One example of many: For a while now, their forum has been inundated with spam posts which sit around for hours before being deleted. Just deleting them isn't the answer - prevent them from being created in the first place.

  • MikeAMikeA Member, Patron Provider

    @CristianD said: Will anybody sue cPanel? I’m curious about this — someone should.

    1. No, they won't.
    2. Vote with your wallet, use other options.
  • AndreixAndreix Member, Host Rep

    So, cPanel switched to claude-coding?! The CVE is damn serious for a human to miss...

  • catdingcatding Member

    Too late. My cPanel was hacked yesterday already. That's a sad story.

This discussion has been closed.