SaltStack Salt REST API Arbitrary Command Execution
Title source: metasploitExploitation Summary
CVE-2020-16846 is actively exploited and listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added November 3, 2021. EIP tracks 2 public exploits from researchers including hamza-boudouche, zomy22. A Nuclei detection template is also available.
AI-analyzed exploit summary This PoC repository contains a reverse shell payload and a setup script for SaltStack. The payload.sh file initiates a reverse shell connection, while salt_setup.sh automates the installation and configuration of a vulnerable SaltStack environment (v3002).
Description
An issue was discovered in SaltStack Salt through 3002. Sending crafted web requests to the Salt API, with the SSH client enabled, can result in shell injection.
Exploits (2)
This PoC repository contains a reverse shell payload and a setup script for SaltStack. The payload.sh file initiates a reverse shell connection, while salt_setup.sh automates the installation and configuration of a vulnerable SaltStack environment (v3002).
This repository contains a working PoC for CVE-2020-16846, a command injection vulnerability in SaltStack Salt API. The exploit leverages crafted web requests to achieve remote code execution via the SSH client functionality.
Nuclei Templates (1)
References (15)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H