module
UniFi Network Application Unauthenticated JNDI Injection RCE (via Log4Shell)
Disclosed | Created |
---|---|
12/09/2021 | 01/22/2022 |
Disclosed
12/09/2021
Created
01/22/2022
Description
The Ubiquiti UniFi Network Application versions 5.13.29 through 6.5.53 are affected by the Log4Shell
vulnerability whereby a JNDI string can be sent to the server via the 'remember' field of a POST request to the
/api/login endpoint that will cause the server to connect to the attacker and deserialize a malicious Java
object. This results in OS command execution in the context of the server application.
This module will start an LDAP server that the target will need to connect to.
vulnerability whereby a JNDI string can be sent to the server via the 'remember' field of a POST request to the
/api/login endpoint that will cause the server to connect to the attacker and deserialize a malicious Java
object. This results in OS command execution in the context of the server application.
This module will start an LDAP server that the target will need to connect to.
Authors
Spencer McIntyreRageLtMan Nicholas Anastasi
References
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/ubiquiti_unifi_log4shell msf /(l) > show actions ...actions... msf /(l) > set ACTION < action-name > msf /(l) > show options ...show and set options... msf /(l) > run

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