Rapid7 Vulnerability & Exploit Database

Atlassian Confluence Unauth JSON setup-restore Improper Authorization leading to RCE (CVE-2023-22518)

Back to Search

Atlassian Confluence Unauth JSON setup-restore Improper Authorization leading to RCE (CVE-2023-22518)

Disclosed
10/31/2023
Created
12/18/2023

Description

This Improper Authorization vulnerability allows an unauthenticated attacker to reset Confluence and create a Confluence instance administrator account. Using this account, an attacker can then perform all administrative actions that are available to Confluence instance administrator. This module uses the administrator account to install a malicious .jsp servlet plugin which the user can trigger to gain code execution on the target in the context of the of the user running the confluence server.

Author(s)

  • Atlassian
  • jheysel-r7

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

;