CVE-2020-25592

CRITICAL

SaltStack Salt - Improper Authentication Bypass via eauth Credential Validation

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2020-25592. PoCs published by KPC, wvu, including Metasploit module exploits/linux/http/saltstack_salt_api_cmd_exec.

AI-analyzed exploit summary This Metasploit module exploits an authentication bypass (CVE-2020-25592) and command injection (CVE-2020-16846) in SaltStack Salt's REST API to execute arbitrary commands as root. It leverages the 'ssh_priv' parameter in the REST API to inject commands, bypassing authentication via the 'eauth' parameter.

Description

In SaltStack Salt through 3002, salt-netapi improperly validates eauth credentials and tokens. A user can bypass authentication and invoke Salt SSH.

Exploits (1)

metasploit WORKING POC EXCELLENT
by KPC, wvu · rubypocunix
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/saltstack_salt_api_cmd_exec.rb

This Metasploit module exploits an authentication bypass (CVE-2020-25592) and command injection (CVE-2020-16846) in SaltStack Salt's REST API to execute arbitrary commands as root. It leverages the 'ssh_priv' parameter in the REST API to inject commands, bypassing authentication via the 'eauth' parameter.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: SaltStack Salt (versions before 2015.8.10, 2015.8.13, 2016.3.4, 2016.3.6, 2016.3.8, 2016.11.3, 2016.11.6, 2016.11.10, 2017.7.4, 2017.7.8, 2018.3.5, 2019.2.5, 2019.2.6, 3000.3, 3000.4, 3001.1, 3001.2, and 3002)
No auth needed
Prerequisites: Network access to the SaltStack REST API (typically port 8000) · REST API must be exposed and accessible
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (8)

Core 8
Core References
Release Notes, Vendor Advisory x_refsource_misc
https://docs.saltstack.com/en/latest/topics/releases/index.html
Third Party Advisory vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2020-11/msg00029.html
Third Party Advisory vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/202011-13
Mailing List, Third Party Advisory mailing-list x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2020/12/msg00007.html
Third Party Advisory vendor-advisory x_refsource_debian
https://www.debian.org/security/2021/dsa-4837

Scores

CVSS v3 9.8
EPSS 0.4494
EPSS Percentile 97.7%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-287
Status published
Products (5)
debian/debian_linux 9.0
debian/debian_linux 10.0
pypi/salt 0 - 2015.8.13PyPI
saltstack/salt 3001
saltstack/salt < 2015.8.10
Published Nov 06, 2020
Tracked Since Feb 18, 2026