CVE-2024-35179CWE-271

Unprivileged Stalwart Mail Server user can read files as root

Medium · published May 15, 2024

CVSS v3.1
6.8
EPSS
1%
Percentile
49.1
In the wild
Unconfirmed
What it is

Stalwart Mail Server is an open-source mail server. Prior to version 0.8.0, when using `RUN_AS_USER`, the specified user (and therefore, web interface admins) can read arbitrary files as root. This issue affects admins who have set up to run stalwart with `RUN_AS_USER` who handed out admin credentials to the mail server but expect these to only grant access according to the `RUN_AS_USER` and are attacked where the attackers managed to achieve Arbitrary Code Execution using another vulnerability. Version 0.8.0 contains a patch for the issue.

The record
Technical detail
CVSS v3.1
6.8 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00621 · 49.1th percentile
Weakness
CWE-271 · Privilege Dropping / Lowering Errors
Published
2024-05-15T15:55Z
EPSS history
Timeline
  • 15 MAY 15:55Z
    Unprivileged Stalwart Mail Server user can read files as root
    cvelistv5