THREATPORT/VULNERABILITY/CVE-2022-31138
HIGH SEVERITY

CVE-2022-31138

Mailcow\ vulnerability

CVSS
8.8
EPSS
3.1%
EPSS pct
86th
Exploited
No known
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 vendor
Mailcow
Affected product
Mailcow\
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness type (CWE)
  • CWE-78 — OS Command Injection
Published
2022-07-11

Risk analysis

Based on its CVSS vector, this vulnerability is exploitable over the network, low attack complexity, requiring low privileges, no user interaction. Successful exploitation leads to high impact to confidentiality, high impact to integrity, high impact to availability.

Its EPSS score of 3.1% reflects a lower probability of exploitation activity in the wild over the next 30 days, placing it above 86% of all scored CVEs.

Check your external exposure to CVE-2022-31138

  • Confirm whether Mailcow Mailcow\ is running on any internet-facing host or subdomain.
  • Match discovered service fingerprints against the version affected by CVE-2022-31138.
  • Prioritise remediation if the asset is public, business-critical, or near authentication/payment flows.

How ThreatPort helps with CVE-2022-31138

ThreatPort's external attack surface scanner checks your internet-facing assets — agentlessly, from the outside in — for the exposed services and versions that CVE-2022-31138 affects, then prioritises the finding by real risk using CISA KEV and FIRST.org EPSS.

Run a free external exposure scan

Are you exposed to CVE-2022-31138?

Run an instant, non-intrusive external scan to check your attack surface for CVE-2022-31138.

Start free scan

No credit card. Agentless.