Skip to main content
← All vulnerabilities
CVE-2022-31138

OS Command Injection in mailcow

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2022-06a
1 proof of concept on GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • mailcow mailcow-dockerized

    fixed in 2022-06a

References 4

GitHub · mailcow/mailcow-dockerized

GitHub · ly1g3/Mailcow-CVE-2022-31138