module

Apache NiFi API Remote Code Execution

Disclosed
2020-10-03
Created
2020-12-03

Description

This module uses the NiFi API to create an ExecuteProcess processor that will execute OS commands. The API must
be unsecured (or credentials provided) and the ExecuteProcess processor must be available. An ExecuteProcessor
processor is created then is configured with the payload and started. The processor is then stopped and
deleted.

Verified against 1.12.1, 1.12.1-RC2, and 1.20.0

Author

Graeme Robinson

Platform

Linux,OSX,Unix,Windows

Architectures

x86, x64

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

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.