{
  "Name": "SaltStack RCE (CVE-2020-16846)",
  "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.",
  "Product": "SaltStack",
  "Homepage": "https://www.saltstack.com/",
  "DisclosureDate": "2020-11-06",
  "Author": "itardc@163.com",
  "GifAddress": "https://raw.githubusercontent.com/gobysec/GobyVuls/master/SaltStack/CVE-2020-16846/CVE-2020-16846.gif",
  "FofaQuery": "header=\"application/json\" && header=\"CherryPy\" && body=\"clients\"",
  "GobyQuery": "",
  "Level": "3",
  "Impact": "This CVE affects any users running the Salt API. An unauthenticated user with network access to the Salt API can use shell injections to run code on the Salt-API using the SSH client.",
  "Recommendation": "Prevent shell injections in netapi SSH client.",
  "References": [
    "http://lists.opensuse.org/opensuse-security-announce/2020-11/msg00029.html",
    "http://packetstormsecurity.com/files/160039/SaltStack-Salt-REST-API-Arbitrary-Command-Execution.html",
    "https://github.com/saltstack/salt/releases",
    "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TPOGB2F6XUAIGFDTOCQDNB2VIXFXHWMA/",
    "https://security.gentoo.org/glsa/202011-13",
    "https://www.saltstack.com/blog/on-november-3-2020-saltstack-publicly-disclosed-three-new-cves/",
    "https://nvd.nist.gov/vuln/detail/CVE-2020-16846",
    "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-16846"
  ],
  "HasExp": true,
  "ExpParams": [
    {
      "Name": "AttackType",
      "Type": "select",
      "Value": "goby_shell_linux"
    }
  ],
  "ExpTips": {
    "Type": "",
    "Content": ""
  },
  "ScanSteps": null,
  "ExploitSteps": null,
  "Tags": ["rce"],
  "CVEIDs": [
    "CVE-2020-16846"
  ],
  "CVSSScore": "9.8",
  "AttackSurfaces": {
    "Application": ["SaltStack"],
    "Support": null,
    "Service": null,
    "System": null,
    "Hardware": null
  },
  "Disable": false
}