An issue was discovered in SaltStack Salt in versions before 3002.9, 3003.5, 3004.2. PAM auth fails to reject locked accounts, which allows a previously authorized user whose account is locked still run Salt commands when their account is locked. This affects both local shell accounts with an active session and salt-api users that authenticate via PAM eauth.
The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. This allows attackers to bypass intended access restrictions.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Salt | Saltstack | * | 3002.9 (excluding) |
Salt | Saltstack | 3003 (including) | 3003.5 (excluding) |
Salt | Saltstack | 3004 (including) | 3004.2 (excluding) |
Salt | Ubuntu | bionic | * |
Salt | Ubuntu | impish | * |
Salt | Ubuntu | kinetic | * |
Salt | Ubuntu | trusty/esm | * |
Assuming a user with a given identity, authorization is the process of determining whether that user can access a given resource, based on the user’s privileges and any permissions or other access-control specifications that apply to the resource. When access control checks are incorrectly applied, users are able to access data or perform actions that they should not be allowed to perform. This can lead to a wide range of problems, including information exposures, denial of service, and arbitrary code execution.