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

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

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

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

工具目录

分类

查看所有分类
Loading categories
CVE-2026-21020-Protobuf-Message-Parsing-Polymorphic-Deserialization-Vulnerability — CVE-2026-21020 的 PoC,演示了 Protobuf Any 类型的多态反序列化,其中攻击者控制的 type_url 可能导致逻辑漏洞、RCE 或权限提升。 | Kitploit
工具/GitHubGitHub/george0papasotiriou/cve-2026-21020-protobuf-message-parsing-polymorphic-deserialization-vulnerability
漏洞分析漏洞利用渗透测试API 安全
GitHubgeorge0papasotiriou/cve-2026-21020-protobuf-message-parsing-polymorphic-deserialization-vulnerability

CVE-2026-21020-Protobuf-Message-Parsing-Polymorphic-Deserialization-Vulnerability

CVE-2026-21020 的 PoC,演示了 Protobuf Any 类型的多态反序列化,其中攻击者控制的 type_url 可能导致逻辑漏洞、RCE 或权限提升。

查看仓库

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享
17天前尚未审核

CVE-2026-21020 – Protobuf 消息解析多态反序列化漏洞

程序代码(Python,使用 protobuf)

root@kitploit:~
# proto_vuln.py - Insecure handling of Any type
import addressbook_pb2  # Example protobuf

# Simulated deserialization that trusts an injected type_url
from google.protobuf import any_pb2

any_msg = any_pb2.Any()
any_msg.type_url = "type.googleapis.com/attacker.Evil"
any_msg.value = b'\x0a\x05admin'  # serialized payload

# Application unpacks to expected type but could instantiate arbitrary class if using dynamic loading
if any_msg.Is(addressbook_pb2.Person.DESCRIPTOR):
    person = addressbook_pb2.Person()
    any_msg.Unpack(person)
    print("Person unpacked, but type_url was spoofed!")

CVE-2026-21020 – 通过 Any 实现的 Protobuf 多态反序列化

Severity: Critical

概述

服务使用 Protocol Buffers 的 Any 类型封装消息,并通过 type_url 字段动态解包,但未验证预期类型。攻击者可以发送带有精心构造的 type_url 的消息,使其指向危险的消息类(或非预期的类),从而造成逻辑错误或代码执行。

漏洞详情

  • 类型: 不可信数据反序列化 / 类型混淆
  • 影响: 可能导致 RCE 或权限提升。
  • 根本原因: 服务器根据攻击者控制的 type_url 反序列化负载,而未进行白名单校验。

漏洞利用演示

运行模拟:

root@kitploit:~
pip install protobuf
python proto_vuln.py

这表明 Any 类型可以被欺骗;如果代码根据 type_url 动态加载类,则可能导致 RCE。

下载工具