Rapid7 Vulnerability & Exploit Database

Atlassian Confluence Namespace OGNL Injection

Back to Search

Atlassian Confluence Namespace OGNL Injection

Disclosed
06/02/2022
Created
06/08/2022

Description

This module exploits an OGNL injection in Atlassian Confluence servers. A specially crafted URI can be used to evaluate an OGNL expression resulting in OS command execution.

Author(s)

  • Unknown
  • bturner-r7
  • jbaines-r7
  • Spencer McIntyre

Platform

Linux,Unix,Windows

Architectures

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

;