Giter Site home page Giter Site logo

ofbiz-attack's Introduction

OFBiz-Attack

A Tool For CVE-2023-49070/CVE-2023-51467 Attack

测试环境

vulhub/ofbiz:18.12.09

使用

启动

java -jar OFBiz-Attack.jar

共有三个模块,分别是:

  • 漏洞检测

    1

    仅输入目标URL即可,无限额外添加路由,否则影响后续模块利用。仅支持发送Https请求,运行速度取决于Web服务器性能

    验证完成后请勿修改URL,后续利用会从此框获取URL

  • 命令执行

    使用前需完成漏洞校验,使用的是CVE-2023-51467来执行命令,也方便回显

    2

    执行失败会返回Not executed for security reason信息

    部分命令无法执行原因是(可能是因为)security.properties文件中设置了黑名单

    3

    但还是能执行到反弹shell,该模块体验不佳的话请移步下一个模块

  • 注入内存马

    ⚠️慎用,伤害不可逆

    使用前需完成漏洞校验,使用CVE-2023-49070反序列化注入内存马,模块支持注入CMD/Behinder内存马,原则上只能注入一种

    4

    连接Behinder,默认密码,不要忘记最后的/

    5

    两种内存马都是注入到/webtool/*的Filter

结语

⚠️此工具仅用于学习交流,切勿用于非法用途

如果模块给你带来了不好的体验,在此深表歉意,还请为工具提出建议,后续进行改进🙏

感谢使用

ofbiz-attack's People

Contributors

n1vi4 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

nanaao

ofbiz-attack's Issues

Not Executed for Security Reasons

I can no longer execute any command, the tool always gives me the same message.

Not Executed for Security Reasons

This is the message that appears in the logs

┌──(kali㉿kali)-[~/…/OFBiz-Attack/out/artifacts/OFBiz_Attack_jar]
└─$ java -jar OFBiz-Attack.jar
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
Feb 29, 2024 8:56:59 AM okhttp3.internal.platform.Platform log
WARNING: A connection to https://bizness.htb/ was leaked. Did you forget to close a response body? To see where this was allocated, set the OkHttpClient logger level to FINE: Logger.getLogger(OkHttpClient.class.getName()).setLevel(Level.FINE);

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.