Skip to content

CVE-2022-31138 OS Command Injection in mailcow

HighCVSS 8.8 EPSS 3.3%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

Description

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
mailcow dockerized < 2022-06a 2022-06a Fixed
mailcow-dockerized = < 2022-06a No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
mailcow-dockerized = < 2022-06a No fix listed
mailcow dockerized < 2022-06a 2022-06a

References