Rapid7 Vulnerability & Exploit Database

WebLogic Server Deserialization RCE BadAttributeValueExpException ExtComp

Back to Search

WebLogic Server Deserialization RCE BadAttributeValueExpException ExtComp

Disclosed
04/30/2020
Created
06/04/2020

Description

There exists a Java object deserialization vulnerability in multiple versions of WebLogic. Unauthenticated remote code execution can be achieved by sending a serialized `BadAttributeValueExpException` object over the T3 protocol to vulnerable versions of WebLogic. Leveraging an `ExtractorComparator` enables the ability to trigger `method.invoke()`, which will execute arbitrary code.

Author(s)

  • Quynh Le
  • Y4er
  • Shelby Pace
  • Steve Embling

Platform

Linux,Unix,Windows

Architectures

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/multi/misc/weblogic_deserialize_badattr_extcomp
msf exploit(weblogic_deserialize_badattr_extcomp) > show targets
    ...targets...
msf exploit(weblogic_deserialize_badattr_extcomp) > set TARGET < target-id >
msf exploit(weblogic_deserialize_badattr_extcomp) > show options
    ...show and set options...
msf exploit(weblogic_deserialize_badattr_extcomp) > 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

;