CVE-2022-31245 Command injection in n/a
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.
Other vulnerabilities in n/a
- CVE-2025-53909 mailcow: dockerized vulnerable to SSTI in Quota and Quarantine Notification Template
- CVE-2024-24760 Mailcow Docker Container Exposure to Local Network
- CVE-2023-34108 Manipulation of Internal Dovecot Variables in mailcow via crafted Passwords
- CVE-2022-31138 OS Command Injection in mailcow
- CVE-2017-8928 Cross-site request forgery in n/a
Sources
Also known as GHSA-724h-f4rh-cc47.