6.8medium
Unprivileged Stalwart Mail Server user can read files as root
- Severity
- 6.8medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.62% (higher than 51% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| stalwartlabs mail-server | < 0.8.0, before 0.8.0 | CVE List |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Stalwart Mail Server es un servidor de correo de código abierto. Antes de la versión 0.8.0, al usar `RUN_AS_USER`, el usuario especificado (y, por lo tanto, los administradores de la interfaz web) pueden leer archivos arbitrarios como root. Este problema afecta a los administradores que han configurado la ejecución de stalwart con `RUN_AS_USER` y que han entregado credenciales de administrador al servidor de correo, pero esperan que estas solo otorguen acceso de acuerdo con `RUN_AS_USER` y son atacados cuando los atacantes lograron ejecutar código arbitrario utilizando otra vulnerabilidad. La versión 0.8.0 contiene un parche para el problema.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-35179 changed 2024-08-02 | CVE Terms of Use |
| NVD | CVE-2024-35179 changed 2026-06-17 | Public domain |