{
  "id": "CVE-2021-38647",
  "url": "https://poc.griffinguard.io/cve/CVE-2021-38647",
  "published_at": "2021-09-15T11:24:07Z",
  "title": "Open Management Infrastructure (OMI) Remote Code Execution Vulnerability",
  "vendor": "Microsoft",
  "product": "Azure Automation State Configuration, DSC Extension",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C"
  },
  "kev": {
    "in_kev": true,
    "added_at": "2021-11-03",
    "known_ransomware_campaign_use": "Known",
    "days_after_publication": 49
  },
  "first_poc": {
    "created_at": "2021-09-16T02:11:36Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 0.6,
    "repo": "horizon3ai/CVE-2021-38647",
    "source": "github"
  },
  "poc_repo_count": 9,
  "exploit_count": 2,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Open Management Infrastructure (OMI) Remote Code Execution Vulnerability",
  "cwe": "CWE-noinfo",
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [
    {
      "repo": "m1thryn/CVE-2021-38647",
      "url": "https://github.com/m1thryn/CVE-2021-38647",
      "created_at": null,
      "first_seen_at": "2026-11-14T22:17:34.881Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped"
    },
    {
      "repo": "corelight/CVE-2021-38647",
      "url": "https://github.com/corelight/CVE-2021-38647",
      "created_at": "2021-09-15T04:51:02Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 5,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-09-01T13:08:50Z"
    },
    {
      "repo": "midoxnet/CVE-2021-38647",
      "url": "https://github.com/midoxnet/CVE-2021-38647",
      "created_at": "2021-09-15T21:44:30Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 8,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2017-04-11T14:18:50Z"
    },
    {
      "repo": "horizon3ai/CVE-2021-38647",
      "url": "https://github.com/horizon3ai/CVE-2021-38647",
      "created_at": "2021-09-16T02:11:36Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 233,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2021-02-24T16:20:44Z"
    },
    {
      "repo": "Immersive-Labs-Sec/cve-2021-38647",
      "url": "https://github.com/Immersive-Labs-Sec/cve-2021-38647",
      "created_at": "2021-09-16T08:33:02Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 2,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2021-02-22T12:37:42Z"
    },
    {
      "repo": "marcosimioni/omigood",
      "url": "https://github.com/marcosimioni/omigood",
      "created_at": "2021-09-16T15:34:03Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 20,
      "is_poc": "no",
      "kind": "detection",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-10-07T13:41:20Z"
    },
    {
      "repo": "craig-m-unsw/omigod-lab",
      "url": "https://github.com/craig-m-unsw/omigod-lab",
      "created_at": "2021-09-18T15:25:18Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 15,
      "suspicious": false,
      "suspicion_reasons": [
        "no network code found (normal for a local exploit)"
      ],
      "status": "analyzed",
      "owner_created_at": "2019-08-21T05:46:58Z"
    },
    {
      "repo": "SimenBai/CVE-2021-38647-POC-and-Demo-environment",
      "url": "https://github.com/SimenBai/CVE-2021-38647-POC-and-Demo-environment",
      "created_at": "2021-09-19T15:43:32Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 3,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2017-11-27T21:58:11Z"
    },
    {
      "repo": "AlteredSecurity/CVE-2021-38647",
      "url": "https://github.com/AlteredSecurity/CVE-2021-38647",
      "created_at": "2021-09-20T16:29:48Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 67,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-09-20T13:28:16Z"
    },
    {
      "repo": "abousteif/cve-2021-38647",
      "url": "https://github.com/abousteif/cve-2021-38647",
      "created_at": "2021-09-22T15:20:40Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2021-06-08T16:06:03Z"
    },
    {
      "repo": "Vulnmachines/OMIGOD_cve-2021-38647",
      "url": "https://github.com/Vulnmachines/OMIGOD_cve-2021-38647",
      "created_at": "2021-09-24T10:53:52Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2021-02-13T11:46:24Z"
    },
    {
      "repo": "fr34kyy/omigod",
      "url": "https://github.com/fr34kyy/omigod",
      "created_at": "2021-09-26T18:06:00Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2015-06-19T17:59:55Z"
    },
    {
      "repo": "goofsec/omigod",
      "url": "https://github.com/goofsec/omigod",
      "created_at": "2021-09-26T18:06:00Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2015-06-19T17:59:55Z"
    },
    {
      "repo": "corelight/CVE-2021-38647-noimages",
      "url": "https://github.com/corelight/CVE-2021-38647-noimages",
      "created_at": "2024-03-13T20:05:11Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-09-01T13:08:50Z"
    },
    {
      "repo": "Whiteh4tWolf/OMIGOD",
      "url": "https://github.com/Whiteh4tWolf/OMIGOD",
      "created_at": "2024-04-10T02:59:37Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-07-28T11:44:06Z"
    }
  ],
  "remediation": null,
  "exploit_refs": [
    {
      "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/misc/cve_2021_38647_omigod.rb",
      "source": "metasploit",
      "title": "Metasploit exploit: Microsoft OMI Management Interface Authentication Bypass (exploit/linux/misc/cve_2021_38647_omigod)",
      "published_at": "2021-10-26T14:35:13Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-38647.yaml",
      "source": "nuclei",
      "title": "nuclei template: Microsoft Open Management Infrastructure - Remote Code Execution",
      "published_at": "2023-04-27T04:28:59Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "POST",
      "path_template": "/wsman",
      "headers": [
        {
          "name": "Accept",
          "value": "*/*"
        }
      ],
      "body_markers": [
        "\u003cs:Envelope xmlns:s=\"http://www.w3.org/2003/05/soap-envelope\" xmlns:a=\"http://schemas.xmlsoap.org/ws/2004/08/addressing\"",
        "ExecuteShellCommand",
        "SCX_OperatingSystem",
        "\u003cp:command\u003e{var}\u003c/p:command\u003e",
        "\u003cw:Selector Name=\"__cimnamespace\"\u003eroot/scx\u003c/w:Selector\u003e",
        "http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem/ExecuteShellCommand",
        "ExecuteShellCommand_INPUT"
      ],
      "content_type": "application/soap+xml;charset=UTF-8",
      "ports": [
        5986
      ],
      "user_agents": [
        "Vulnmachines and Rapidsafeuard"
      ],
      "protocol": "https",
      "repos": [
        "AlteredSecurity/CVE-2021-38647",
        "SimenBai/CVE-2021-38647-POC-and-Demo-environment",
        "Vulnmachines/OMIGOD_cve-2021-38647",
        "Whiteh4tWolf/OMIGOD",
        "craig-m-unsw/omigod-lab",
        "horizon3ai/CVE-2021-38647"
      ],
      "repo_count": 6,
      "confidence": 0.85,
      "evidence": [
        "AlteredSecurity/CVE-2021-38647/CVE-2021-38647.py:98",
        "AlteredSecurity/CVE-2021-38647/CVE-2021-38647.py:100",
        "SimenBai/CVE-2021-38647-POC-and-Demo-environment/omigod.py:50",
        "Vulnmachines/OMIGOD_cve-2021-38647/Payload:1",
        "Whiteh4tWolf/OMIGOD/omigod.py:40",
        "craig-m-unsw/omigod-lab/attack-play.yml:27",
        "craig-m-unsw/omigod-lab/attack-play.yml:28",
        "craig-m-unsw/omigod-lab/attack-play.yml:40",
        "craig-m-unsw/omigod-lab/attack-play.yml:52",
        "horizon3ai/CVE-2021-38647/omigod.py:40"
      ]
    }
  ],
  "rules": []
}
