CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2022 · Mailcow

CVE-2022-31138
Mailcow\ vulnerability

mailcow is a mailserver suite. Prior to mailcow-dockerized version 2022-06a, an extended privilege vulnerability can be exploited by manipulating the custom parameters regexmess, skipmess, regexflag, delete2foldersonly, delete2foldersbutnot, regextrans2, pipemess, or maxlinelengthcmd to execute arbitrary code. Users should update their mailcow instances with the `update.sh` script in the mailcow root directory to 2022-06a or newer to receive a patch for this issue. As a temporary workaround, the Syncjob ACL can be removed from all mailbox users, preventing changes to those settings.

Affected products

Mailcow\. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Mailcow\ runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Mailcow products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.