Apache OFBiz XML-RPC Java Deserialization

Published on 10 Jan 2022
Vulnerability

Description

At /webtools/control/xmlrpc, OfBiz exposes an XMLRPC endpoint. Because authentication is applied per-service, this is an unauthenticated endpoint. The XMLRPC request, on the other hand, is processed before authentication. Because any serialised arguments for the remote invocation are deserialized as part of this processing, an attacker will be able to run arbitrary system commands on any OfBiz server with the same privileges as the servlet container running OfBiz if the classpath contains any classes that can be used as gadgets to achieve remote code execution.

Recommendation

  • Update Apache OFBiz to the latest version
Rejah Rehim
Written by
Co-founder, Director

Rejah brings more than 12 years of industry experience in Information Technology. He is a fervent security enthusiast and serves as a Project Leader at OWASP Foundation, and Commander (Hon.) at Kerala Police. He has authored two books titled “Effective Python Penetration Testing” and “Python Penetration Testing Cookbook” and is the creator of 9 Mozilla add-ons.

Experience the Beagle Security platform
Unlock one full penetration test and all Advanced plan features free for 14 days
4.8 on G2 • ISO 27001 certified
See How Beagle Security Works
No credit card • No setup required
Launch interactive demo