Situation
A vulnerability was found in the MESSENGER service in the ConfigServer Security & Firewall (CSF) software which could allow an unauthenticated remote attacker to execute arbitrary commands as the CSF service account.
Note: By default, the MESSENGER service is disabled.
Affected Product versions
| Product | Affected Versions | Patched Versions |
|---|---|---|
| CSF | 14.00 through 16.29 | 16.30+ |
Impact
Exploiting this could lead to unauthenticated remote code execution as an unprivileged service account.
Call to action
Update to the latest version of the ConfigServer Firewall plugin:
# yum clean all
# /scripts/update-packages
# dnf clean all
# /scripts/update-packages
# apt update
# /scripts/update-packages
Mitigation
It is highly recommended that you update the installed CSF version as soon as possible.
This vulnerability is only reachable when the MESSENGER service is enabled and a reCAPTCHA secret is configured. Neither is enabled by default.
If updating is not possible, you can disable the MESSENGER service in CSF.
- Access the server as the
rootuser via SSH, or the Terminal in WHM. Edit the CSF configuration file:
# nano /etc/csf/csf.conf
Update the
MESSENGERoption to be disabled:CONFIG_TEXT: MESSENGER = 0
Save and restart the CSF and LFD services:
# systemctl restart csf lfd
Comments
0 comments
Article is closed for comments.