kritisch9.8
CVE-2019-1010259
SaltStack Salt SQL Injection vulnerability in mysql.user_chpass function
Auswirkung
SaltStack Salt 2018.3 is affected by: SQL Injection. The impact is: An attacker could escalate privileges on MySQL server deployed by cloud provider. It leads to RCE. The component is: The `mysql.user_chpass` function from the MySQL module for Salt (https://github.com/saltstack/salt/blob/develop/salt/modules/mysql.py#L1462). The attack vector is: specially crafted password string. The fixed version is: 2018.3.4.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| pip | salt | >= 2018.3.0, < 2018.3.4 | 2018.3.4 |
Betroffene Produkte · Saltstack
| Produkt | Betroffene Versionen |
|---|---|
| Salt 2018 | Version 3.0 |
| Salt 2019 | Version 2.0 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/ShantonRU/salt/commit/a46c86a987c78e74e87969d8d3b27094e6544b7a
- https://github.com/saltstack/salt/blob/f22de0887cd7167887f113bf394244b74fb36b6b/salt/modules/mysql.py#L1534
- https://github.com/saltstack/salt/pull/51462
- https://github.com/advisories/GHSA-h8xp-h3jf-wv4v
- https://nvd.nist.gov/vuln/detail/CVE-2019-1010259
- https://github.com/pypa/advisory-database/tree/main/vulns/salt/PYSEC-2019-119.yaml