Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2022-29063 PoC — Java Deserialization via RMI Connection from the Solr plugin of Apache OFBiz

Source
Associated Vulnerability
Title:Java Deserialization via RMI Connection from the Solr plugin of Apache OFBiz (CVE-2022-29063)
Description:The Solr plugin of Apache OFBiz is configured by default to automatically make a RMI request on localhost, port 1099. In version 18.12.05 and earlier, by hosting a malicious RMI server on localhost, an attacker may exploit this behavior, at server start-up or on a server restart, in order to run arbitrary code. Upgrade to at least 18.12.06 or apply patches at https://issues.apache.org/jira/browse/OFBIZ-12646.
Description
CVE-2022-29063: Java Deserialization via RMI Connection in Apache OfBiz
Readme
# CVE-2022-29063: Java Deserialization via RMI Connection in Apache OfBiz

The OfBiz Solr plugin is configured by default to automatically make a RMI request on localhost, port 1099.
By hosting a malicious RMI server on localhost, an attacker may exploit this behavior, at server start-up or on a server restart, in order to run arbitrary code as the user that started OfBiz and potentially elevate his/her privileges.

### Vendor Disclosure:

The vendor's disclosure and fix for this vulnerability can be found [here](https://issues.apache.org/jira/browse/OFBIZ-12646).

### Requirements:

This vulnerability requires:
<br/>
- Run a malicious RMI server on localhost:1099
- Wait for Apache OfBiz application to start/restart

### Proof Of Concept:

More details and the exploitation process can be found in this [PDF](https://github.com/mbadanoiu/CVE-2022-29063/blob/main/Apache%20OfBiz%20-%20CVE-2022-29063.pdf).
File Snapshot

[4.0K] /data/pocs/260de61b9c3a3dba0b8853316263f03f7a1ffa2a ├── [704K] Apache OfBiz - CVE-2022-29063.pdf └── [ 915] README.md 0 directories, 2 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →