CVE-2018-25117
VestaCP Debian Installer Malicious Backdoor Supply Chain Compromise
Check your servers for CVE-2018-25117
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2018-25117 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
VestaCP commit a3f0fa1 (2018-05-31) up to commit ee03eff (2018-06-13) contain embedded malicious code that resulted in a supply-chain compromise. New installations created from the compromised installer since at least May 2018 were subject to installation of Linux/ChachaDDoS, a multi-stage DDoS bot that uses Lua for second- and third-stage components. The compromise leaked administrative credentials (base64-encoded admin password and server domain) to an external URL during installation and/or resulted in the installer dropping and executing a DDoS malware payload under local system privileges. Compromised servers were subsequently observed participating in large-scale DDoS activity. Vesta acknowledged exploitation in the wild in October 2018.
Severity (CVSS)
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Attack requirements
- none: an attack works without special conditions on the target
- Privileges required
- none: the attacker does not need an account
- User interaction
- active: a user has to take a deliberate step, such as installing or running something
- Impact on the vulnerable system
- confidentiality high, integrity high, availability none: what an attacker can read, change or stop in the vulnerable component
- Impact on other systems
- confidentiality high, integrity high, availability none: what an attacker can read, change or stop beyond it
Exploitation
EPSS 0.44%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 30.1% of all scored CVEs. Scores of 28 Nov 2026.
The assessment of CISA (SSVC, 15 Oct 2025):
- Exploitation
- poc: a proof of concept is public
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-506 Embedded Malicious Code
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Control Panel (CP) |
affected from a3f0fa1501d424477786e3e7150bb05c0b99518f, before ee03eff016e03cb76fac7ae3a0f9d1ef0f8ee35b
Other versions: unaffected
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2018-25117 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2018-25117RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2018-25117Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2018-25117
trivy image --scanners vuln IMAGE | grep CVE-2018-25117
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- https://forum.vestacp.com/viewtopic.php?f=10&t=17641&start=180#p73907 forum.vestacp.com · vendor advisory, patch
- https://www.vulncheck.com/advisories/vestacp-debian-installer-malicious-backdoor-supply-chain-compromise vulncheck.com · third party advisory
Patches and release notes
- https://github.com/outroll/vesta/commit/ee03eff016e03cb76fac7ae3a0f9d1ef0f8ee35b#diff-df8da0c91e9086454c60cd468849630dL1270 github.com · patch
- https://github.com/outroll/vesta/commit/a3f0fa1501d424477786e3e7150bb05c0b99518f#diff-df8da0c91e9086454c60cd468849630dR1256 github.com · patch
Other references
- https://www.welivesecurity.com/2018/10/18/new-linux-chachaddos-malware-distributed-servers-vestacp-installed/ welivesecurity.com · technical description
- https://forum.vestacp.com/viewtopic.php?f=10&t=17641&p=73282 forum.vestacp.com · issue tracking
- https://vestacp.com/ vestacp.com · product
- https://github.com/outroll/vesta github.com · product
Source: the record CVE-2018-25117 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse