Rapid7 Vulnerability & Exploit Database

Apache OFBiz XML-RPC Java Deserialization

Back to Search

Apache OFBiz XML-RPC Java Deserialization

Disclosed
07/13/2020
Created
03/12/2021

Description

This module exploits a Java deserialization vulnerability in Apache OFBiz's unauthenticated XML-RPC endpoint /webtools/control/xmlrpc for versions prior to 17.12.01 using the ROME gadget chain. Versions up to 18.12.11 are exploitable utilizing an auth bypass CVE-2023-51467 and use the CommonsBeanutils1 gadget chain. Verified working on 18.12.09, 17.12.01, and 15.12

Author(s)

  • Alvaro Muñoz
  • wvu <wvu@metasploit.com>
  • h00die

Platform

Linux,Unix

Architectures

cmd, x86, x64

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/linux/http/apache_ofbiz_deserialization
msf exploit(apache_ofbiz_deserialization) > show targets
    ...targets...
msf exploit(apache_ofbiz_deserialization) > set TARGET < target-id >
msf exploit(apache_ofbiz_deserialization) > show options
    ...show and set options...
msf exploit(apache_ofbiz_deserialization) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;