XLab researchers found cwpdoor, a backdoor hidden in the Control Web Panel web server that no antivirus detected and that wipes its own trail from the logs. How to tell whether your server is infected.
On November 5, 2026, XLab, the research lab of security firm QiAnXin, disclosed cwpdoor, a backdoor hidden in Control Web Panel (CWP), a free panel for managing Linux servers with websites, DNS and email. According to XLab, no antivirus detected it and it already has real victims: on September 30, someone in Brazil uploaded a sample to VirusTotal, the service that scans files with dozens of antivirus engines, and none of them recognized it.
How it works
CWP has its own web server, cwpsrv, which serves the admin panel. The attackers took its source code, added the backdoor and recompiled it, so the tampered program works just like the original. It only wakes up when it receives a request with special headers signed by the attacker: it then runs the commands sent, returns the encrypted result and keeps that request out of the logs. That is why XLab calls it invisible, and why it stays hidden from routine checks.
To install it, the attackers use a script disguised as an update that needs root privileges (the user with full control of the server), replaces the original program and restores the file's timestamps, so it looks as if nobody touched it. The archive uploaded from Brazil also contained Ebury, another well-known backdoor, although XLab does not know whether the two are related.
Who is exposed
XLab found tampered builds of cwpsrv 1.15.10 and 1.24.0, and estimates, using its Hunter platform, that more than 340,000 CWP panels were exposed to the internet over the past month, all of them potential targets. It does not know how the attackers get in: since the script needs root, they must first have full control of the server. CWP's release notes do not mention cwpdoor, but on November 3 the project released version 1.30.1, a security update it recommends for every server.
What to do
- If you have a server with CWP, log in over SSH and run
ss -axp | grep integrity. If thengx_http_integrity_helpersocket shows up, the server is infected. - Also check
strings /usr/local/cwpsrv/bin/cwpsrv | grep X-Ngx-Integrityandps aux | grep cwpsrv: theX-Ngx-Integritystrings or unusual cwpsrv helper processes are signs of infection. - If it is infected, follow XLab's steps: replace the tampered program with a legitimate one, update CWP to the latest version, confirm that the first command no longer returns anything and change every panel password.
- Treat the server as compromised, as XLab recommends: review users, SSH keys and scheduled tasks, because the backdoor can run any command. If you cannot rule out other damage, rebuild it from a clean backup.
- Even if it is not infected, update CWP to the latest version (1.30.35 as of November 23), turn on two-factor authentication for panel logins, review the findings of its security audit and do not leave the panel open to the whole internet: restrict it with the firewall to your team's IP addresses.
November 8 update: more CWP security releases
After 1.30.1, Control Web Panel released further versions, according to its release notes: 1.30.2 (November 3), which it describes as a security update recommended for every server; 1.30.3 (November 4), which stops passing passwords on the command line and adds a daily audit that detects hidden cryptocurrency miners and warns when remote API port 2304 is open to every IP address but unused; and 1.30.5 (November 8), which, among other fixes, hands the /root/.ssh folder and its authorized keys back to root if they belong to another user. None of them mentions cwpdoor. That is why we corrected the last step of this article: instead of 1.30.1, install the latest version. If you do not use the remote API, also close port 2304 in the firewall.
November 13 update: CWP 1.30.10 hardens security
Control Web Panel kept releasing versions: 1.30.6 (November 10), 1.30.7 and 1.30.8 (November 11), 1.30.9 (November 12), and 1.30.10 and 1.30.11 (November 13). Version 1.30.10 is a security release. It validates and escapes data coming from backups, imports from cPanel or other panels, server-to-server migrations, DNS clusters and the remote API, so a tampered archive cannot affect anything beyond the account being restored. It also removed a leftover file that held a hard-coded database password, stops one account's file manager from reaching another account's folder, and cuts the validity of the one-click webmail login link from 10 hours to 5 minutes. None of these releases mentions cwpdoor. Based on this, we changed the last step: the latest version is now 1.30.11.
November 15 update: CWP 1.30.13 hunts for credential stealers
On November 14, Control Web Panel released version 1.30.13. Its security audit now reports as a critical credential-stealer finding any shared library (a code file that programs load) that no system package owns and that is loaded into a service that handles passwords: SSH, the Dovecot and Postfix mail stack, OpenDKIM or saslauthd. The alert lists every process that loads it, and the check does not rely on package verification, which a tampered package database can make look clean. The release also adds Apache 2.4.71 to the panel's Apache Builder; that is the version that fixes the critical Apache HTTP/2 flaw. The notes do not mention cwpdoor either. Based on this, we changed the last step: the latest version is now 1.30.13, and it is worth reviewing what its audit reports.
November 16 update: CWP 1.30.14 hardens its internal access
On November 15, Control Web Panel released version 1.30.14, with security fixes to the OAuth system (the authorization mechanism) used by its internal API. According to its notes, each account's client secret was in several cases derived from a small, time-based value; it is now created with a secure random generator, and every server automatically rotates the stored secrets of all accounts once. In addition, the service that issues authorization codes now refuses requests when it cannot identify the caller, instead of allowing them, and the service that issues access tokens now limits attempts per client. Normal panel logins are unaffected. The same release stops a backup that fails partway through, for example because the disk filled up, from being reported as successful. Version 1.30.15 followed the same day with DNS fixes, and by November 16 the CWP site already listed 1.30.16 as the current version, still without release notes. None of them mentions cwpdoor. Based on this, we changed the last step: the latest version is now 1.30.16.
November 18 update: CWP adds two-factor login and an Ebury cleanup
Control Web Panel kept releasing versions, according to its release notes. Version 1.30.17 (November 16) adds a cleanup tool for Ebury, the server backdoor XLab found alongside cwpdoor in the archive uploaded from Brazil, although the notes do not link it to cwpdoor. Version 1.30.18, from the same day, automatically repairs UEFI boot on Enterprise Linux 8, 9 and 10 servers that an earlier version of its Secure Kernel could leave unable to boot. Version 1.30.19 (November 18) brings two-factor authentication for admin panel logins, using an app such as Google Authenticator or Authy with QR code setup. Versions 1.30.20 and 1.30.21 followed the same day, with fixes to panel updates, mail, phpMyAdmin and ModSecurity. None of them mentions cwpdoor. Based on this, we changed the last step: the latest version is now 1.30.21, and it is worth turning on two-factor authentication.
November 19 update: the CWP audit detects a tampered web server
On November 18, Control Web Panel released version 1.30.22. According to its notes, its security audit now detects when the CWP web server or its PHP binary no longer matches the installed package, a sign of possible tampering like the one cwpdoor performs when it replaces cwpsrv. It also looks for more signs of kernel rootkits (hidden programs with full control of the system): rogue modules, fake system services and outbound tunnels to command-and-control servers. The notes do not mention cwpdoor. Version 1.30.23, from the same day, refreshes the rules of ModSecurity, the panel's web application firewall, and adds OWASP CRS 4 as a free option. Version 1.30.24 (November 19) fixes a bug in 1.30.22 that could install its Secure Kernel and set it as the default on servers that never had it. Based on this, we changed the last step: the latest version is now 1.30.24, and it is worth reviewing what the audit reports.
November 20 update: CWP 1.30.27 locks down access and ships fixed PHP
Control Web Panel released eight more versions, according to its release notes. Version 1.30.26 (November 19) adds PHP 8.2.36, 8.3.37, 8.4.28 and 8.5.13 to its PHP Selector; they fix 18 PHP security flaws. Version 1.30.27 (November 20) hardens security: the file manager now enforces a verification token on uploads (CSRF protection) and no longer lets anyone upload executable files, such as .php files, to web-served folders; the panel's internal scripts= routes now require an admin session, and two pages validate their input more strictly. The panel also keeps its web server, cwpsrv, patched on servers installed without the CWP repository, and the audit warns when it is below the fixed version. Version 1.30.28 fixes a bug that, when PHP-FPM updated itself automatically, could leave every site on that PHP version returning a 503 error; the repair happens automatically with the next CWP update. Versions 1.30.30, 1.30.31 and 1.30.32 followed on November 20 as well. The last one updates the panel's own PHP (cwpphp) to PHP 8.3.37, with the November 19 security fixes, and stops automatic certificate renewal (AutoSSL) from replacing a valid certificate with a self-signed one when the connection drops for a moment. The notes do not mention cwpdoor. Based on this, we changed the last step: the latest version is now 1.30.32.
November 23 update: CWP now detects a cwpdoor variant
On November 23, Control Web Panel released version 1.30.33, and for the first time its release notes mention cwpdoor. Its security audit now detects a new variant of this trojan: a malicious cwpsrv binary delivered through a tampered update. The notes do not explain how that update was tampered with or how many servers received it. The same release signs and verifies its package repositories with GPG (a digital signature that proves a package was not altered) on every supported OS version, from EL7 to EL10. It also hardens the remote API's MySQL database management against command and SQL injection, and recovers servers left without cwpsrv after an interrupted update.
Versions 1.30.34 and 1.30.35 followed the same day, and both harden panel updates, the path that variant takes according to the 1.30.33 notes. Version 1.30.34 automatically moves the CWP package repository to HTTPS with GPG signature checks, and keeps the switch only if a real CWP package verifies against the signing key; otherwise it rolls the change back. According to its notes, this protects updates against a tampered mirror (a copy of the repository hosted on another server). It also closes a stored XSS path (malicious code saved into a panel page) in the names of resource-limit policies. Version 1.30.35 makes the update of the panel's own PHP (cwpphp), which runs with root privileges, verify the package's GPG signature and refuse an unsigned or altered one. Based on this, we changed the last step: the latest version is now 1.30.35, and it is worth running the security audit right after updating.
How we help you
With Pronetsys Linux server management we check your servers for these signs, apply panel updates and restrict access with the firewall. If you would rather not run your own panel, our managed business hosting takes care of server security for you. Ask for a review of your server.
Sources
- XLab (QiAnXin): analysis of the cwpdoor backdoor (November 5, 2026)
- Control Web Panel: release notes for versions 1.30.1 to 1.30.35 (November 3 to 23, 2026)
Source: XLab (QiAnXin)