Description
The Widget Connector macro in Atlassian Confluence Server before version 6.6.12 (the fixed version for 6.6.x), from version 6.7.0 before 6.12.3 (the fixed version for 6.12.x), from version 6.13.0 before 6.13.3 (the fixed version for 6.13.x), and from version 6.14.0 before 6.14.2 (the fixed version for 6.14.x), allows remote attackers to achieve path traversal and remote code execution on a Confluence Server or Data Center instance via server-side template injection.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Atlassian | Confluence Server | unspecified – < 6.6.12, 6.7.0 – < unspecified, unspecified – < 6.12.3, next of 6.13.0 – < unspecified, unspecified – < 6.13.3, next of 6.14.0 – < unspecified, unspecified – < 6.14.2 | 6.6.12 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
Atlassian Confluence Widget Connector Macro Velocity Template Injection
exploit/multi/http/confluence_widget_connector
Exploit-DB 2
- Atlassian Confluence Widget Connector Macro - SSTI EDB-49465 · webapps · Jan 22, 2021
- Atlassian Confluence Widget Connector Macro - Velocity Template Injection (Metasploit) EDB-46731 · remote · Apr 19, 2019 · verified
GitHub 22 repositories · most starred shown
-
Yt1g3r/CVE-2019-3396_EXP ★ 174 · Apr 10, 2019
CVE-2019-3396 confluence SSTI RCE
-
jas502n/CVE-2019-3396 ★ 144 · Apr 10, 2019
Confluence 未授权 RCE (CVE-2019-3396) 漏洞
-
pyn3rd/CVE-2019-3396 ★ 39 · Apr 10, 2019
Confluence Widget Connector RCE
-
x-f1v3/CVE-2019-3396 ★ 22 · Apr 9, 2019
Confluence Widget Connector path traversal (CVE-2019-3396)
-
0xNinjaCyclone/cve-2019-3396 ★ 3 · Feb 1, 2021
-
Avento/CVE-2019-3396-Memshell-for-Behinder ★ 2 · May 21, 2024
CVE-2019-3396 Memshell for Behinder
-
PetrusViet/cve-2019-3396 ★ 2 · May 1, 2021
Confluence unauthorize template injection
-
s1xg0d/CVE-2019-3396 ★ 0 · Apr 10, 2019
-
xiaoshuier/CVE-2019-3396 ★ 0 · Apr 9, 2019
-
dothanthitiendiettiende/CVE-2019-3396 ★ 0 · Apr 9, 2019
Confluence Widget Connector RCE
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Atlassian Confluence Server - Path Traversal http/cves/2019/CVE-2019-3396.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
References
- https://jira.atlassian.com/browse/CONFSERVER-57974
- http://packetstormsecurity.com/files/152568/Atlassian-Confluence-Widget-Connector-Macro-Velocity-Template-Injection.html
- http://www.rapid7.com/db/modules/exploit/multi/http/confluence_widget_connector
- 46731 exploit
- http://packetstormsecurity.com/files/161065/Atlassian-Confluence-6.12.1-Template-Injection.html