module

Atlassian Confluence Widget Connector Macro Velocity Template Injection

Disclosed
2019-03-25
Created
2019-04-22

Description

Widget Connector Macro is part of Atlassian Confluence Server and Data Center that
allows embed online videos, slideshows, photostreams and more directly into page.
A _template parameter can be used to inject remote Java code into a Velocity template,
and gain code execution. Authentication is unrequired to exploit this vulnerability.
By default, Java payload will be used because it is cross-platform, but you can also
specify which native payload you want (Linux or Windows).

Confluence before version 6.6.12, from version 6.7.0 before 6.12.3, from version
6.13.0 before 6.13.3 and from version 6.14.0 before 6.14.2 are affected.

This vulnerability was originally discovered by Daniil Dmitriev
https://twitter.com/ddv_ua.

Authors

Daniil Dmitriev
Dmitry (rrock) Shchannikov

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