CVE-2024-35187CWE-863

Stalwart Mail Server has privilege escalation by design

Critical · published May 16, 2024

CVSS v3.1
9.1
EPSS
1%
Percentile
54.0
In the wild
Unconfirmed
What it is

🔥 A web admin with an exploit can take control of your entire server, all thanks to a fatal oversight in Stalwart Mail Server! This vulnerability is like a hotel where anyone with a key can suddenly access the master suite — a total breach of trust that can lead to chaos. Just because you've locked up the front desk doesn't mean someone can’t waltz in through the back! An attacker who gains Arbitrary Code Execution as the stalwart-mail user can elevate their privileges to full root access, allowing them to wreak havoc across the entire system. This could lead to data breaches, system manipulation, or worse, an irreversible loss of critical information. The risks are absolutely devastating!

Put simply

This vulnerability is like a hotel where anyone with a key can suddenly access the master suite — a total breach of trust that can lead to chaos. Just because you've locked up the front desk doesn't mean someone can’t waltz in through the back! Prior to version 0.8.0, Stalwart Mail Server had a serious flaw where an attacker could exploit arbitrary code execution, bypassing its intended user isolation and granting themselves root permissions. This essentially negates the protective measures normally put in place to safeguard other system services.

What to do

An attacker who gains Arbitrary Code Execution as the stalwart-mail user can elevate their privileges to full root access, allowing them to wreak havoc across the entire system. This could lead to data breaches, system manipulation, or worse, an irreversible loss of critical information. The risks are absolutely devastating! Immediately upgrade your Stalwart Mail Server to version 0.8.0 or later to patch this critical vulnerability. Review admin credential sharing practices to limit access and ensure that security measures are in place to prevent unauthorized access. You've got this! Following these steps will help you re-secure your server and keep those sneaky attackers at bay! 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00738 · 54.0th percentile
Weakness
CWE-863 · Incorrect Authorization
Published
2024-05-16T15:16Z
EPSS history
Timeline
  • 16 MAY 15:16Z
    Stalwart Mail Server has privilege escalation by design
    cvelistv5