module

Atlassian Confluence Unauthenticated Remote Code Execution

Disclosed
Oct 4, 2023
Created
Oct 19, 2023

Description

This module exploits an improper input validation issue in Atlassian Confluence, allowing arbitrary HTTP
parameters to be translated into getter/setter sequences via the XWorks2 middleware and in turn allows for
Java objects to be modified at run time. The exploit will create a new administrator user and upload a
malicious plugins to get arbitrary code execution. All versions of Confluence between 8.0.0 through to 8.3.2,
8.4.0 through to 8.4.2, and 8.5.0 through to 8.5.1 are affected.

Author

sfewer-r7

Platform

Java

Architectures

java

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