r/webhosting • u/Western-Draw-6347 • 12d ago
Advice Needed Increase in hacking/malware in cPanel via Crazy Domains?
I have a few clients whose websites are hosted via CrazyDomains (I swear at one point, they were not bad for the money). Just in the last couple of weeks, I've had two clients Wordpress websites hacked via the cPanel. They have added users to the website, injected malicious files, created random posts/pages saying "Hacked by [X]" and just generally caused the websites (and emails) to go down.
I'm just curious if anyone else has experienced this recently? I've never had a client hacked before *touch wood* so two in one week is certainly out of the ordinary (and v stressful), and I couldn't see anyone else talking about it.
Secondly, I've created both clients a new hosting services via VentraIP, and one is moving their emails to Microsoft 365 (both were originally on cPanel as well – I'm learning how silly that may be!) and the other is migrating to Ventra's separate email hosting service. Does this sound OK? They are both small businesses without a heap of expendable cash.
Keen for any thoughts.
5
u/NetSage 12d ago
How do you know it's been via cPanel. PHP, Apache, and Nginx have all had security vulnerabilities these last few weeks. I'm sure WordPress and some plugins have too.
I don't know about CrazyDomains but if they aren't staying on top of patches I would switch.
2
u/ContributionEasy6513 12d ago
How do you know via cPanel?
I rate them very poorly, but as a web-host every-time this been accused its been blatantly false with the customers own compromised site being to blame.
Every bloody time. There has been countless exploits in recent weeks, including for PHP, apache, linux etc and about 10x as many for WordPress.
You should be able to cPanel version to ensure its updated. Otherwise look very closely at the WordPress site.
Ensure everything is up-to date, remove unneeded plugins/themes and ensure you are running on the latest versions of PHP. WordPress should be set to automatically update automatically and installing WordFence is a good idea.
They are a very solid provider and have security measures that extend well past the standard cPanel install.
VentraIP's hosted email is solid. M365 is what it is. Every provider has outages.
2
u/fer_marketing 10d ago
I'd check more before blaming cPanel. Honestly I don't think the host makes much difference beyond what you can prevent on the WordPress side, so if you copied the files to VentraIP as they were, the backdoor may have moved with them.
When I clean one, I start with WordPress core: check that no core files were altered, including wp-config.php (they like to modify that one too). Then admin users nobody knows about, the hash of each plugin, and any plugin that didn't come from the WordPress repo. After that the server: cron jobs, server users, what's running, server-level redirects, and the logs to see if a specific IP or cluster was behind it.
Then add 2FA. One client site used to get hacked often, and since we added 2FA it never happened again (I suspect the admin password had leaked).
1
u/TopSydeWP 12d ago
The move is where these tend to come back. If the site files were copied across from the old account, any backdoor travelled with them. On the new hosting, reinstall WordPress core, plugins and themes fresh from wordpress.org or the vendor. Bring over only the database and the uploads folder, and check uploads for stray .php files first. The hiding spots we'd go through next are the user list, application passwords, the mu-plugins folder and those spam pages.
Then reset every password. cPanel, each WP admin, FTP, the database, and the salts in wp-config.php. Splitting email off the web hosting is a sensible call on a tight budget.
1
u/trivial_pl 12d ago
Worth checking the cPanel side directly before blaming it either way, since it also tells you what to clean. In cPanel look at Cron Jobs, FTP Accounts, SSH Access keys and Manage API Tokens for anything you didn't create. Those survive a WordPress cleanup and a WP password reset. The raw access logs and the last login IP shown in cPanel will tell you if someone actually logged in there.
If it really was cPanel, the usual cause is a reused or leaked password rather than the host itself. So on the new hosting use unique passwords, turn on 2FA for both the hosting account and cPanel, and change the WordPress database password and salts too. Also worth checking the email inbox tied to the hosting account wasn't the weak spot, since password resets land there.
1
u/SOSStevieWP 9d ago
Splitting email off cPanel onto Microsoft 365 or separate hosted email is the right call. Having email go down at the same time as the website is what really hurts a small business.
The biggest trap with a post-hack move to a new host is bringing the attacker's backdoor along inside the backup. Before you point DNS at VentraIP:
1
u/David_UltraWeb 9d ago
One thing worth doing before you assume anything is actually pulling the access logs and the file modification times. A real WordPress compromise almost always leaves fingerprints, a POST to some sketchy plugin endpoint, or a cluster of files that all got touched within the same minute, usually in wp-content/uploads or a theme folder. That tells you the vector way faster than arguing about whether it came 'through cPanel.'
The other quiet one people miss is shared file ownership. If one site on an account gets popped and everything runs as the same user, the malware can hop sideways into every other docroot under that login and it looks like the whole account got hit at once. Separating sites into their own accounts (or at least their own users) contains that blast radius a lot.
1
u/incognitomonk12 9d ago
Two hacks in a week sounds like a serious vulnerability spike or perhaps a shared account compromise. Since these are small businesses without much cash for constant patching, you might consider moving them away from the heavy plugin stack entirely. I use Hatamoto CMS for similar clients because it is just one Go binary plus Postgres with no PHP core to update and sandboxed WebAssembly plugins so bad code can't take the site down. It handles backups automatically before updates and includes built-in security features without needing a massive team.
0
u/inventedSmart 11d ago
Honestly two sites in the same week smells more like something they have in common than cpanel itself. we host a bunch of client sites and every time we had a "wave" like this it was the same plugin on all of them, bots scan for one vulnerable plugin and hit everyone who has it. so I'd compare plugin lists first.
Also if both were under the same cpanel user / reseller account, one infected site can just write into the other one, looks like 2 hacks but its really 1.
If you want to know how they got in, check the fake admin in wp_users, user_registered gives you the exact time it was created. grep the access logs around that time for POSTs and you'll usually see the exact plugin endpoint they used and before you call the new hosting clean, run wp core verify-checksums and wp plugin verify-checksums --all, takes a minute
Moving the email off the web hosting is a good call btw, clients get way more pissed when email is down than the site.