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

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

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

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

工具目录

分类

查看所有分类
Loading categories
CVE-2019-17564-FastJson-Gadget — 用于创建 Alibaba FastJson + Spring gadget 链的基本代码,用于利用 CVE-2019-17564 中的 Apache Dubbo - 更多信息请访问 https://www.checkmarx.com/blog/apache-dubbo-unauthenticated-remote-code-execution-vulnerability | Kitploit
工具/GitHubGitHub/dor-tumarkin/cve-2019-17564-fastjson-gadget
Payload生成漏洞分析代码分析漏洞利用Web应用程序漏洞利用渗透测试
GitHubdor-tumarkin/cve-2019-17564-fastjson-gadget

CVE-2019-17564-FastJson-Gadget

用于创建 Alibaba FastJson + Spring gadget 链的基本代码,用于利用 CVE-2019-17564 中的 Apache Dubbo - 更多信息请访问 https://www.checkmarx.com/blog/apache-dubbo-unauthenticated-remote-code-execution-vulnerability

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享
查看仓库
16223年前尚未审核

CVE-2019-17564 FastJson + SpringFramework 利用链(针对 Dubbo 2.7.3)

完整的分析文章可在 https://www.checkmarx.com/blog/apache-dubbo-unauthenticated-remote-code-execution-vulnerability 获取

注意:这并非一个漏洞利用程序;它是一个用于演示在包含特定依赖项的作用域中反序列化的 POC 利用链。

概述

用于创建阿里巴巴 FastJson + Spring 利用链的基本代码,该链被用于在 CVE-2019-17564 中利用 Apache Dubbo。此代码将打印并本地反序列化一个基于 Dubbo 2.7.3、Dubbo Common 2.7.3 和 Spring Framework 作用域内可用依赖项的利用链。

利用链结构

  1. HashMap.putVal(h,k,v) a. 对于 HotSwappableTargetSource 对象,hashCode() 的结果 h 是相同的,当插入第二个值时,会触发对 HashMap 键的更深入的 equals() 调用。
  2. HotSwappableTargetSource.equals()
  3. XString.equals()
  4. com.alibaba.fastjson.JSON.toString()
  5. com.alibaba.fastjson.JSON.toJSONString()
  6. com.alibaba.fastjson.serializer.MapSerializer.write()
  7. TemplatesImpl.getOutputProperties()
  8. TemplatesImpl.newTransformer()
  9. TemplatesImpl.getTransletInstance()
  10. TemplatesImpl.defineTransletClasses()
  11. ClassLoader.defineClass()
  12. Class.newInstance()
  13. MaliciousClass.()
  14. Runtime.exec()

致谢

感谢 Chris Frohoff 和 Moritz Bechler 的研究和工具(ysoserial 和 marshalsec),因为他们的部分代码被用于该利用链,并且他们的研究为这个漏洞利用奠定了基础。

同样感谢 Checkmarx,他们支持了这类研究,以及我们出色的研究小组,他们提出了想法、进行了审阅,并忍受了我对这类话题喋喋不休的事实。

下载工具