Rapid7 VulnDB

Atlassian Confluence Widget Connector Macro Velocity Template Injection

Back to Search

Atlassian Confluence Widget Connector Macro Velocity Template Injection

Disclosed
03/25/2019
Created
04/22/2019

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.

Author(s)

  • Daniil Dmitriev
  • Dmitry (rrock) Shchannikov

Development

References

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

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

;