CVE-2022-31245 Command injection in n/a

High 8.8 Published Updated

Remote authenticated users can inject OS commands via Sync Jobs debug options to escalate privileges to domain admin in mailcow.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-31245?

CVE-2022-31245 is a high-severity command injection vulnerability in n/a, published on 20 May 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

mailcow before 2022-05d allows a remote authenticated user to inject OS commands and escalate privileges to domain admin via the --debug option in conjunction with the ---PIPEMESS option in Sync Jobs.

Weakness: CWE-78

Which versions are affected by CVE-2022-31245?

It affects 1 product.

Products include Mailcow Mailcow\.

How do I fix CVE-2022-31245?

No fix has been published for CVE-2022-31245 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2022-31245 being exploited?

There is no known exploitation of CVE-2022-31245 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-724h-f4rh-cc47.

Is CVE-2022-31245 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free