SaltStack <=3002 - Shell Injection
| Reporter | Title | Published | Views | Family All 120 |
|---|---|---|---|---|
| SaltStack Salt REST API Arbitrary Command Execution Exploit | 12 Nov 202000:00 | – | zdt | |
| salt -- multiple vulnerabilities | 6 Nov 202000:00 | – | freebsd | |
| Exploit for OS Command Injection in Saltstack Salt | 14 Oct 202110:09 | – | githubexploit | |
| CVE-2020-16846 — SaltStack Unauthenticated Shell Injection | 6 Nov 202000:00 | – | attackerkb | |
| CVE-2020-25592 — SaltStack Authentication Bypass and Salt SSH Command Execution | 6 Nov 202000:00 | – | attackerkb | |
| CVE-2020-16846 | 6 Nov 202007:27 | – | alpinelinux | |
| [ASA-202011-7] salt: multiple issues | 10 Nov 202000:00 | – | archlinux | |
| configuration management system and Data Compromise | 6 Apr 202100:00 | – | bdu_fstec | |
| CVE-2020-16846 | 11 Nov 202019:52 | – | circl | |
| SaltStack Salt Shell Injection Vulnerability | 3 Nov 202100:00 | – | cisa_kev |
10
id: CVE-2020-16846
info:
name: SaltStack <=3002 - Shell Injection
author: dwisiswant0
severity: critical
description: |
SaltStack Salt through 3002 allows an unauthenticated user with network access to the Salt API to use shell injections to run code on the Salt-API using the SSH client.
impact: |
Unauthenticated attackers can execute arbitrary shell commands via the Salt API, leading to complete server compromise and access to all managed systems.
remediation: |
Upgrade to a patched version of SaltStack (>=3003) to mitigate this vulnerability.
reference:
- https://saltproject.io/on-november-3-2020-saltstack-publicly-disclosed-three-new-cves/
- https://mp.weixin.qq.com/s/R8qw_lWizGyeJS0jOcYXag
- https://github.com/vulhub/vulhub/tree/master/saltstack/CVE-2020-16846
- https://nvd.nist.gov/vuln/detail/CVE-2020-16846
- http://lists.opensuse.org/opensuse-security-announce/2020-11/msg00029.html
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2020-16846
cwe-id: CWE-78
epss-score: 0.99585
epss-percentile: 0.99946
cpe: cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: saltstack
product: salt
tags: cve2020,cve,vulhub,saltstack,kev,vkev,vuln
variables:
priv: "{{to_lower(rand_text_alpha(5))}}"
roaster: "{{to_lower(rand_text_alpha(6))}}"
http:
- method: POST
path:
- "{{BaseURL}}/run"
body: "token=1337&client=ssh&tgt=*&fun=a&roster={{roaster}}&ssh_priv={{priv}}"
headers:
Content-Type: application/x-www-form-urlencoded # CherryPy will abort w/o define this header
matchers-condition: and
matchers:
- type: dsl
dsl:
- regex("CherryPy\/([0-9.]+)", header) || regex("CherryPy ([0-9.]+)", body)
- type: word
part: body
words:
- "An unexpected error occurred"
- type: word
part: header
words:
- "application/json"
- type: status
status:
- 500
# digest: 4a0a00473045022059a9ec2c061d1e96a376c24754158f271fedae934ca8183d9f0b2f14335377f5022100ca5465375e8ae332730e17eb81a11639930c8e8a04f873532e1cb74162142d86:922c64590222798bb761d5b6d8e72950Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
04 Feb 2026 07:00Current
8.1High risk
Vulners AI Score8.1
CVSS 27.5
CVSS 3.19.8
EPSS0.99585
SSVC