cve/2024/CVE-2024-35179.md
2024-06-18 02:51:15 +02:00

18 lines
1.1 KiB
Markdown

### [CVE-2024-35179](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-35179)
![](https://img.shields.io/static/v1?label=Product&message=mail-server&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%20%3C%200.8.0%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-271%3A%20Privilege%20Dropping%20%2F%20Lowering%20Errors&color=brighgreen)
### 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.
### POC
#### Reference
- https://github.com/stalwartlabs/mail-server/security/advisories/GHSA-5pfx-j27j-4c6h
#### Github
- https://github.com/fkie-cad/nvd-json-data-feeds