Summary
On the Salt master, the eauth token directory is created with mode 0755, so any user on the system can list its contents. Because each token file is named after the bearer token value itself, the directory listing exposes valid tokens (CWE-732: Incorrect Permission Assignment for Critical Resource).
Per the CVSS vector (8.8, high), the attack is local: the attacker needs a low-privileged account on the Salt master, the attack is low complexity and requires no user interaction. Scope is changed (S:C) because a stolen token can be used to authenticate to the Salt API with the original owner's permissions, potentially leading to full compromise of confidentiality, integrity and availability of managed systems.
The vulnerability is not in the CISA KEV catalog, and the EPSS exploitation probability is low (about 0.16%).
Who is affected
Organizations running Salt master versions 3006.0–3006.30, 3007.0–3007.17 or 3008.0–3008.5, especially where other local user accounts exist on the master.
What to do
- Upgrade Salt to 3006.31, 3007.18 or 3008.6 (depending on branch), where the token directory is created with mode 0700.
- Check the installed Salt version on all Salt masters and the permissions of the existing eauth token directory.
- After upgrading, consider revoking existing eauth tokens, as they may already have been exposed.
- Review local user accounts on the Salt master and Salt API logs for suspicious token usage.
- Follow the official advisory: https://saltproject.io/blog/advisory-3006-31-3007-18-3008-6
Vendor solution
The token directory is created with mode 0700. Upgrade to Salt 3006.31, 3007.18, or 3008.6, which contain the fix.
Original text from the vendor's CVE record.
Affected products and versions
CVSS vector, explained
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Regular user
- User interaction
- Not required
- Scope
- Affects other components
- Confidentiality
- High impact
- Integrity
- High impact
- Availability
- High impact
Weakness type (CWE)
- CWE-732 Incorrect Permission Assignment for Critical Resource
References
- saltproject.io/blog/advisory-3006-31-3007-18-3008-6 vendor advisory
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.