Rapid7 Vulnerability & Exploit Database

Nexus Repository Manager Java EL Injection RCE

Back to Search

Nexus Repository Manager Java EL Injection RCE

Disclosed
03/31/2020
Created
04/16/2020

Description

This module exploits a Java Expression Language (EL) injection in Nexus Repository Manager versions up to and including 3.21.1 to execute code as the Nexus user. This is a post-authentication vulnerability, so credentials are required to exploit the bug. Any user regardless of privilege level may be used. Tested against 3.21.1-01.

Author(s)

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

Platform

Linux

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/linux/http/nexus_repo_manager_el_injection
msf exploit(nexus_repo_manager_el_injection) > show targets
    ...targets...
msf exploit(nexus_repo_manager_el_injection) > set TARGET < target-id >
msf exploit(nexus_repo_manager_el_injection) > show options
    ...show and set options...
msf exploit(nexus_repo_manager_el_injection) > 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

;