Hosting servers running cPGuard: hijacked updates copied password hashes and SSH keys. Update, then rotate

By George Bailey   Published: 11/04/26   4 min read

cPGuard is a security suite for Linux web servers, common on hosting boxes that run cPanel, DirectAdmin or Plesk. On Monday someone used stolen credentials to break into its update system and ship a script that planted a backdoor and copied password hashes, SSH files and database settings.

Get the CyberExperts Daily Brief: the day's top security news in 5 minutes. Free.

The latest version removes the backdoor. It cannot take back what the script already copied, so the real work on an affected server is a round of password and key changes.

The cPGuard update removes the backdoor. It does not change the passwords and keys the script already copied.

An attacker pushed a backdoor through cPGuard’s own updates

OPSSHIELD, which makes cPGuard, says an attacker used compromised credentials to get into its update distribution system at 02:06 UTC on November 2 and pushed the malicious script in cPGuard versions 5.88.12 through 5.88.19. The company caught it within 12 hours. It says it does not yet know how the credentials were stolen.

The script uploaded what it gathered to OPSSHIELD’s own licensing server, through a compromised account, for the attacker to collect. OPSSHIELD confirmed that some of that data was retrieved. A spokesperson told BleepingComputer that 2,946 servers were affected and that the company’s billing database was copied as well.

Hosting servers that auto-updated cPGuard on November 2

Any server that installed 5.88.12 to 5.88.19 should be treated as compromised, even if it now runs a clean version, OPSSHIELD says. The collected files include /etc/shadow and /etc/passwd, root’s MySQL or MariaDB settings, root’s shell history and root’s SSH authorized_keys and known_hosts files.

BleepingComputer says hosting firms and server administrators commonly run cPGuard, and Namecheap offers it on its VPS and dedicated servers. A database password or cloud token in root’s shell history is not hashed, so it works for whoever has the file.

Update to 5.88.25, then reset every password and key the script took

Forward this

For whoever runs our web hosting servers: the cPGuard security tool was hijacked through its own update system on November 2, and servers that updated that day may have had password hashes and SSH keys copied. Can we update cPGuard to 5.88.25, check the install log, and reset passwords and keys on any server that took versions 5.88.12 to 5.88.19?

Details

Hunt / verify

Source: OPSSHIELD advisory; BleepingComputer report

Sources

George Bailey

George Bailey is the byline of the CyberExperts editorial desk, the team behind the CyberExperts Daily Brief. The desk covers vulnerabilities, breaches and security news from vendor advisories, CISA alerts and other primary sources, and links those sources in every story. Questions or corrections: [email protected].