CVE-2024-35179
Unprivileged Stalwart Mail Server user can read files as root
- State
- Published
- Severity
- 6.8 Medium
- Published
- May 15, 2024
- Updated
- Aug 2, 2024
- Reserved
- May 10, 2024
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 6.8 Medium | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N | GitHub_M |
Weaknesses
- CWE-271 Privilege Dropping / Lowering Errors
Affected Products
| Product | Versions |
|---|---|
mail-serverstalwartlabs |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.