Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

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

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
CVE-2026-3333-DNS-Rebinding-to-Steal-Cloud-Metadata — 针对 CVE-2026-3333 的 Python 漏洞利用脚本,演示如何通过存在 SSRF 漏洞的 Web 应用执行 DNS 重绑定来访问云元数据并窃取 IAM 凭据。 | Kitploit
工具/GitHubGitHub/george0papasotiriou/cve-2026-3333-dns-rebinding-to-steal-cloud-metadata
漏洞分析漏洞利用Web应用程序漏洞利用数据泄露渗透测试云安全红队
GitHubgeorge0papasotiriou/cve-2026-3333-dns-rebinding-to-steal-cloud-metadata

CVE-2026-3333-DNS-Rebinding-to-Steal-Cloud-Metadata

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →

针对 CVE-2026-3333 的 Python 漏洞利用脚本,演示如何通过存在 SSRF 漏洞的 Web 应用执行 DNS 重绑定来访问云元数据并窃取 IAM 凭据。

查看仓库
71个月前尚未审核
分享

CVE-2026-3333 – DNS 重绑定以窃取云元数据

程序代码(Python 攻击者服务器 + 易受攻击的应用)

root@kitploit:~
#!/usr/bin/env python3
# dns_rebinding_server.py - Malicious DNS server that alternates between attacker IP and 169.254.169.254
import socket, threading, time

# This simple server resolves any subdomain of our domain to 169.254.169.254 and attacker IP alternately.
DNS_QUERIES = {}

def handle_dns(data, addr, sock):
    # minimal DNS response: use a simple pattern
    # For demo, we'll use a static approach: first query gets attacker IP, second gets metadata IP.
    # We'll simulate by running an HTTP server that the victim will contact.
    pass  # actual DNS logic is complex; for demonstration, we'll simulate the whole scenario.

CVE-2026-3333 – DNS 重绑定以窃取云元数据

Severity: High

概述

运行在云环境中的 Web 应用程序容易受到 DNS 重绑定攻击。通过使用一个在攻击者 IP 和云元数据 IP(169.254.169.254)之间交替解析的域名,攻击者可以窃取 IAM 凭证。

漏洞详情

  • 类型: DNS 重绑定 → SSRF
  • 影响: 通过窃取的临时凭证实现云账户接管。
  • 根本原因: 应用程序在 TTL 过期后重新解析主机名,从而产生竞态条件,使同一主机名指向私有 IP。

漏洞利用演示

  1. 启动易受攻击的应用:
    root@kitploit:~
    python vulnerable_web_app.py
    
  2. 运行漏洞利用程序(模拟):
    root@kitploit:~
    python exploit_dns_rebinding.py
    
root@kitploit:~
下载工具