2021-01-02 04:56:15 +00:00
id : CVE-2020-16846
2020-11-18 17:21:07 +00:00
info :
2022-04-29 19:58:07 +00:00
name : SaltStack <=3002 - Shell Injection
2020-11-18 17:21:07 +00:00
author : dwisiswant0
severity : critical
2022-04-29 19:58:07 +00:00
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.
2021-08-18 11:37:49 +00:00
reference :
2022-04-29 19:58:07 +00:00
- https://saltproject.io/on-november-3-2020-saltstack-publicly-disclosed-three-new-cves/
2020-11-18 17:21:07 +00:00
- https://mp.weixin.qq.com/s/R8qw_lWizGyeJS0jOcYXag
- https://github.com/vulhub/vulhub/tree/master/saltstack/CVE-2020-16846
2022-04-29 19:58:07 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2020-16846
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2022-04-22 10:38:41 +00:00
cvss-score : 9.8
2021-09-10 11:26:40 +00:00
cve-id : CVE-2020-16846
cwe-id : CWE-78
2022-07-21 17:18:22 +00:00
tags : cve,cve2020,saltstack,kev
2020-11-18 17:21:07 +00:00
requests :
- method : POST
path :
- "{{BaseURL}}/run"
body : "token=1337&client=ssh&tgt=*&fun=a&roster=projectdiscovery&ssh_priv=nuclei"
headers :
Content-Type : application/x-www-form-urlencoded # CherryPy will abort w/o define this header
matchers-condition : and
matchers :
- type : status
status :
- 500
- type : word
words :
- "application/json"
part : header
- type : word
words :
- "An unexpected error occurred"
2022-04-29 19:58:07 +00:00
part : body
# Enhanced by mp on 2022/04/27