GSD-2020-28243

Vulnerability from gsd - Updated: 2023-12-13 01:22
Details
An issue was discovered in SaltStack Salt before 3002.5. The minion's restartcheck is vulnerable to command injection via a crafted process name. This allows for a local privilege escalation by any user able to create a files on the minion in a non-blacklisted directory.
Aliases
Aliases

{
  "GSD": {
    "alias": "CVE-2020-28243",
    "description": "An issue was discovered in SaltStack Salt before 3002.5. The minion\u0027s restartcheck is vulnerable to command injection via a crafted process name. This allows for a local privilege escalation by any user able to create a files on the minion in a non-blacklisted directory.",
    "id": "GSD-2020-28243",
    "references": [
      "https://www.suse.com/security/cve/CVE-2020-28243.html",
      "https://www.debian.org/security/2021/dsa-5011",
      "https://security.archlinux.org/CVE-2020-28243"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2020-28243"
      ],
      "details": "An issue was discovered in SaltStack Salt before 3002.5. The minion\u0027s restartcheck is vulnerable to command injection via a crafted process name. This allows for a local privilege escalation by any user able to create a files on the minion in a non-blacklisted directory.",
      "id": "GSD-2020-28243",
      "modified": "2023-12-13T01:22:01.259384Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2020-28243",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "n/a",
                    "version": {
                      "version_data": [
                        {
                          "version_value": "n/a"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "n/a"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "An issue was discovered in SaltStack Salt before 3002.5. The minion\u0027s restartcheck is vulnerable to command injection via a crafted process name. This allows for a local privilege escalation by any user able to create a files on the minion in a non-blacklisted directory."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://saltproject.io/security_announcements/active-saltstack-cve-release-2021-feb-25/",
            "refsource": "CONFIRM",
            "url": "https://saltproject.io/security_announcements/active-saltstack-cve-release-2021-feb-25/"
          },
          {
            "name": "https://github.com/stealthcopter/CVE-2020-28243",
            "refsource": "MISC",
            "url": "https://github.com/stealthcopter/CVE-2020-28243"
          },
          {
            "name": "https://sec.stealthcopter.com/cve-2020-28243/",
            "refsource": "MISC",
            "url": "https://sec.stealthcopter.com/cve-2020-28243/"
          },
          {
            "name": "FEDORA-2021-904a2dbc0c",
            "refsource": "FEDORA",
            "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YOGNT2XWPOYV7YT75DN7PS4GIYWFKOK5/"
          },
          {
            "name": "FEDORA-2021-5756fbf8a6",
            "refsource": "FEDORA",
            "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7GRVZ5WAEI3XFN2BDTL6DDXFS5HYSDVB/"
          },
          {
            "name": "FEDORA-2021-43eb5584ad",
            "refsource": "FEDORA",
            "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FUGLOJ6NXLCIFRD2JTXBYQEMAEF2B6XH/"
          },
          {
            "name": "GLSA-202103-01",
            "refsource": "GENTOO",
            "url": "https://security.gentoo.org/glsa/202103-01"
          },
          {
            "name": "[debian-lts-announce] 20211110 [SECURITY] [DLA 2815-1] salt security update",
            "refsource": "MLIST",
            "url": "https://lists.debian.org/debian-lts-announce/2021/11/msg00009.html"
          },
          {
            "name": "DSA-5011",
            "refsource": "DEBIAN",
            "url": "https://www.debian.org/security/2021/dsa-5011"
          },
          {
            "name": "[debian-lts-announce] 20220103 [SECURITY] [DLA 2480-2] salt regression update",
            "refsource": "MLIST",
            "url": "https://lists.debian.org/debian-lts-announce/2022/01/msg00000.html"
          },
          {
            "name": "GLSA-202310-22",
            "refsource": "GENTOO",
            "url": "https://security.gentoo.org/glsa/202310-22"
          }
        ]
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003c2015.8.13||\u003e=2016.3.0,\u003c2016.11.5||\u003e=2016.11.7,\u003c2016.11.10|| \u003e=2017.5.0,\u003c2017.7.8||\u003e=2018.2.0,\u003c=2018.3.5||\u003e=2019.2.0,\u003c2019.2.8|| \u003e=3000,\u003c3000.6||\u003e=3001,\u003c3001.4||\u003e=3002,\u003c3002.5",
          "affected_versions": "All versions before 2015.8.13, all versions starting from 2016.3.0 before 2016.11.5, all versions starting from 2016.11.7 before 2016.11.10, all versions starting from 2017.5.0 before 2017.7.8, all versions starting from 2018.2.0 up to 2018.3.5, all versions starting from 2019.2.0 before 2019.2.8, all versions starting from 3000 before 3000.6, all versions starting from 3001 before 3001.4, all versions starting from 3002 before 3002.5",
          "cvss_v2": "AV:L/AC:L/Au:N/C:P/I:P/A:P",
          "cvss_v3": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-77",
            "CWE-937"
          ],
          "date": "2021-11-23",
          "description": "An issue was discovered in SaltStack Salt. The minion\u0027s `restartcheck` is vulnerable to command injection via a crafted process name. This allows for a local privilege escalation by any user able to create a files on the minion in a non-ignored directory.",
          "fixed_versions": [
            "2015.8.13",
            "2016.11.5",
            "2016.11.10",
            "2017.7.8",
            "2019.2.8",
            "3000.6",
            "3001.4",
            "3002.5"
          ],
          "identifier": "CVE-2020-28243",
          "identifiers": [
            "CVE-2020-28243"
          ],
          "not_impacted": "All versions starting from 2015.8.13 before 2016.3.0, all versions starting from 2016.11.5 before 2016.11.7, all versions starting from 2016.11.10 before 2017.5.0, all versions starting from 2017.7.8 before 2018.2.0, all versions after 2018.3.5 before 2019.2.0, all versions starting from 2019.2.8 before 3000, all versions starting from 3000.6 before 3001, all versions starting from 3001.4 before 3002, all versions starting from 3002.5",
          "package_slug": "pypi/salt",
          "pubdate": "2021-02-27",
          "solution": "Upgrade to versions 2015.8.13, 2016.11.5, 2016.11.10, 2017.7.8, 2019.2.8, 3000.6, 3001.4, 3002.5 or above.",
          "title": "Command Injection",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2020-28243",
            "https://saltproject.io/security_announcements/active-saltstack-cve-release-2021-feb-25/"
          ],
          "uuid": "1394120d-5c2e-4c6f-826a-256557b5fd60"
        }
      ]
    },
    "nvd.nist.gov": {
      "cve": {
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "0F9405E3-F2B0-41BA-A39D-61BB38475A59",
                    "versionEndExcluding": "2015.8.10",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "A35C23D3-82D4-46E7-BF08-9229C04C0C3D",
                    "versionEndExcluding": "2015.8.13",
                    "versionStartIncluding": "2015.8.11",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "B4741BD5-4C40-48BC-A2C1-E6AB33818201",
                    "versionEndExcluding": "2016.3.4",
                    "versionStartIncluding": "2016.3.0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "7D28A2B5-316A-45DC-AC85-A0F743C4B3C4",
                    "versionEndExcluding": "2016.3.6",
                    "versionStartIncluding": "2016.3.5",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "17C96153-85C1-45DC-A48B-46A3900246E2",
                    "versionEndExcluding": "2016.3.8",
                    "versionStartIncluding": "2016.3.7",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "67FBC561-336A-4F25-B347-C4CA029B6E30",
                    "versionEndExcluding": "2016.11.3",
                    "versionStartIncluding": "2016.3.9",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "A5E17739-655C-4FAC-A73B-985132B32C73",
                    "versionEndExcluding": "2016.11.5",
                    "versionStartIncluding": "2016.11.4",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "11D84847-0C8A-473A-9186-46FABD7BB59A",
                    "versionEndExcluding": "2016.11.10",
                    "versionStartIncluding": "2016.11.7",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "3721B047-2595-4E79-8FDD-B1224FC0DD2C",
                    "versionEndExcluding": "2017.7.8",
                    "versionStartIncluding": "2017.5.0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "EB8FA088-6AAD-46DF-884C-7362CB4BE430",
                    "versionEndIncluding": "2018.3.5",
                    "versionStartIncluding": "2018.2.0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "F7A2912C-7F48-465D-B7F2-93ECD0D0CB74",
                    "versionEndExcluding": "2019.2.5",
                    "versionStartIncluding": "2019.2.0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "40369149-A5C3-4759-844F-3510559397C5",
                    "versionEndExcluding": "2019.2.8",
                    "versionStartIncluding": "2019.2.6",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "906D2835-186A-455E-84EB-E982564B9CBD",
                    "versionEndExcluding": "3000.6",
                    "versionStartIncluding": "3000",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "5F0E0DA3-49F7-4938-9FBD-F3680B1BDBB6",
                    "versionEndExcluding": "3001.4",
                    "versionStartIncluding": "3001",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "6B757DF0-6490-4FE7-9C98-5D8C700A4377",
                    "versionEndExcluding": "3002.5",
                    "versionStartIncluding": "3002",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          },
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*",
                    "matchCriteriaId": "36D96259-24BD-44E2-96D9-78CE1D41F956",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*",
                    "matchCriteriaId": "E460AA51-FCDA-46B9-AE97-E6676AA5E194",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*",
                    "matchCriteriaId": "A930E247-0B43-43CB-98FF-6CE7B8189835",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          },
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "DEECE5FC-CACF-4496-A3E7-164736409252",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "07B237A9-69A3-4A9C-9DA0-4E06BD37AE73",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "FA6FEEC2-9F11-4643-8827-749718254FED",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "descriptions": [
          {
            "lang": "en",
            "value": "An issue was discovered in SaltStack Salt before 3002.5. The minion\u0027s restartcheck is vulnerable to command injection via a crafted process name. This allows for a local privilege escalation by any user able to create a files on the minion in a non-blacklisted directory."
          },
          {
            "lang": "es",
            "value": "Se detect\u00f3 un problema en SaltStack Salt versiones anteriores a 3002.5.\u0026#xa0;La comprobaci\u00f3n de reinicio del minion es vulnerable a una inyecci\u00f3n de comandos por medio de un nombre de proceso dise\u00f1ado.\u0026#xa0;Esto permite una escalada de privilegios local por parte de cualquier usuario capaz de crear archivos en el minion en un directorio no incluido en la lista negra"
          }
        ],
        "id": "CVE-2020-28243",
        "lastModified": "2023-12-21T18:31:01.147",
        "metrics": {
          "cvssMetricV2": [
            {
              "acInsufInfo": false,
              "baseSeverity": "MEDIUM",
              "cvssData": {
                "accessComplexity": "MEDIUM",
                "accessVector": "LOCAL",
                "authentication": "NONE",
                "availabilityImpact": "PARTIAL",
                "baseScore": 4.4,
                "confidentialityImpact": "PARTIAL",
                "integrityImpact": "PARTIAL",
                "vectorString": "AV:L/AC:M/Au:N/C:P/I:P/A:P",
                "version": "2.0"
              },
              "exploitabilityScore": 3.4,
              "impactScore": 6.4,
              "obtainAllPrivilege": false,
              "obtainOtherPrivilege": false,
              "obtainUserPrivilege": false,
              "source": "nvd@nist.gov",
              "type": "Primary",
              "userInteractionRequired": false
            }
          ],
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 5.9,
              "source": "nvd@nist.gov",
              "type": "Primary"
            }
          ]
        },
        "published": "2021-02-27T05:15:13.630",
        "references": [
          {
            "source": "cve@mitre.org",
            "tags": [
              "Exploit",
              "Third Party Advisory"
            ],
            "url": "https://github.com/stealthcopter/CVE-2020-28243"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Mailing List",
              "Third Party Advisory"
            ],
            "url": "https://lists.debian.org/debian-lts-announce/2021/11/msg00009.html"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Mailing List",
              "Third Party Advisory"
            ],
            "url": "https://lists.debian.org/debian-lts-announce/2022/01/msg00000.html"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Mailing List",
              "Third Party Advisory"
            ],
            "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7GRVZ5WAEI3XFN2BDTL6DDXFS5HYSDVB/"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Mailing List",
              "Third Party Advisory"
            ],
            "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FUGLOJ6NXLCIFRD2JTXBYQEMAEF2B6XH/"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Mailing List",
              "Third Party Advisory"
            ],
            "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YOGNT2XWPOYV7YT75DN7PS4GIYWFKOK5/"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Vendor Advisory"
            ],
            "url": "https://saltproject.io/security_announcements/active-saltstack-cve-release-2021-feb-25/"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Exploit",
              "Third Party Advisory"
            ],
            "url": "https://sec.stealthcopter.com/cve-2020-28243/"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Third Party Advisory"
            ],
            "url": "https://security.gentoo.org/glsa/202103-01"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Third Party Advisory"
            ],
            "url": "https://security.gentoo.org/glsa/202310-22"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Third Party Advisory"
            ],
            "url": "https://www.debian.org/security/2021/dsa-5011"
          }
        ],
        "sourceIdentifier": "cve@mitre.org",
        "vulnStatus": "Analyzed",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-77"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…