Rapid7 Vulnerability & Exploit Database

Atlassian Confluence SSTI Injection

Back to Search

Atlassian Confluence SSTI Injection

Disclosed
01/16/2024
Created
01/25/2024

Description

This module exploits an SSTI injection in Atlassian Confluence servers. A specially crafted HTTP request uses the injection to evaluate an OGNL expression resulting in OS command execution. Versions 8.5.0 through 8.5.3 and 8.0 to 8.4 are known to be vulnerable.

Author(s)

  • Rahul Maini
  • Harsh Jaiswal
  • Spencer McIntyre

Platform

Linux,Unix,Windows

Architectures

cmd

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

;