CVE-2024-35179 Unprivileged Stalwart Mail Server user can read files as root
MediumCVSS 6.8
EPSS 0.62%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| stalwartlabs mail-server | < 0.8.0; = < 0.8.0 | 0.8.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| stalwartlabs mail-server | = < 0.8.0 | No fix listed |
| stalwartlabs mail-server | < 0.8.0 | 0.8.0 |