Learn about CVE-2022-22967 affecting SaltStack Salt versions before 3002.9, 3003.5, 3004.2. Understand the impact, technical details, and mitigation steps for this security vulnerability.
An issue was discovered in SaltStack Salt where PAM auth fails to reject locked accounts, allowing unauthorized access to run Salt commands.
Understanding CVE-2022-22967
This CVE affects SaltStack Salt versions before 3002.9, 3003.5, 3004.2, enabling previously authorized users with locked accounts to execute commands.
What is CVE-2022-22967?
CVE-2022-22967 highlights a vulnerability in SaltStack Salt that permits users with locked accounts to still run Salt commands, compromising system security.
The Impact of CVE-2022-22967
The impact of this CVE is significant as it enables users with locked accounts to perform unauthorized actions within the SaltStack Salt environment.
Technical Details of CVE-2022-22967
This section outlines the vulnerability description, affected systems, and the exploitation mechanism.
Vulnerability Description
SaltStack Salt fails to properly reject commands from users with locked accounts, allowing them to execute Salt commands.
Affected Systems and Versions
SaltStack Salt versions prior to 3002.9, 3003.5, 3004.2 are affected by this vulnerability, impacting both local shell accounts and salt-api users authenticating via PAM eauth.
Exploitation Mechanism
Unauthorized users can exploit the CVE by utilizing their locked accounts to execute Salt commands, bypassing security protocols.
Mitigation and Prevention
To mitigate the risks posed by CVE-2022-22967, immediate actions, long-term security practices, and patching guidelines are crucial.
Immediate Steps to Take
Immediate steps include restricting access to users with locked accounts, updating to the patched versions, and monitoring SaltStack activity closely.
Long-Term Security Practices
Implementing strict access controls, regularly auditing user permissions, and educating users on security best practices are essential for long-term security.
Patching and Updates
It is vital to update SaltStack Salt to versions 3002.9, 3003.5, 3004.2 or later to address the vulnerability and enhance system security.