{"id":"CVE-2024-35179","published":"2024-05-15T15:55:28Z","modified":"2024-08-02T03:07:46Z","title":"Unprivileged Stalwart Mail Server user can read files as root","vendor":"stalwartlabs","product":"mail-server","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00912,"percentile":0.58145,"provenance":"source"},"cwes":[{"id":"CWE-271","name":"Privilege Dropping / Lowering Errors"}],"references":[{"url":"https://github.com/stalwartlabs/mail-server/security/advisories/GHSA-5pfx-j27j-4c6h","tags":["x_refsource_CONFIRM"]}],"priority":{"score":16.4,"factors":[{"name":"EPSS percentile","points":11.63},{"name":"CVSS severity","points":4.76}]},"vendorSlug":"stalwartlabs","affectedVersions":[{"vendor":"stalwartlabs","product":"mail-server","versions":["< 0.8.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-05-15T18:11:30.074795Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-35228","exploited":false,"provenance":"source"}}