Atlassian Confluence Server Webwork OGNL Injection (CVE-2021-26084) - Nessus

Critical   Plugin ID: 153087

This page contains detailed information about the Atlassian Confluence Server Webwork OGNL Injection (CVE-2021-26084) Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 153087
Name: Atlassian Confluence Server Webwork OGNL Injection (CVE-2021-26084)
Filename: confluence_cve_2021_26084.nbin
Vulnerability Published: 2021-08-25
This Plugin Published: 2021-09-07
Last Modification Time: 2022-05-03
Plugin Version: 1.016
Plugin Type: remote
Plugin Family: CGI abuses
Dependencies: confluence_detect.nasl
Required KB Items [?]: installed_sw/confluence

Vulnerability Information


Severity: Critical
Vulnerability Published: 2021-08-25
Patch Published: 2021-08-25
CVE [?]: CVE-2021-26084
CPE [?]: cpe:/a:atlassian:confluence
Exploited by Malware: True

Synopsis

The remote web server hosts a web application that is affected by an OGNL injection vulnerability.

Description

The remote Atlassian Confluence application running on the remote host is affected by an OGNL injection vulnerability that would allow an unauthenticated user to execute arbitrary code on a Confluence Server or Data Center instance by sending a specially crafted HTTP request.

Solution

Upgrade to Atlassian Confluence version 6.13.23, 7.4.11, 7.11.6, 7.12.5 or later.

Public Exploits


Target Network Port(s): 8090
Target Asset(s): Services/www
Exploit Available: True (Metasploit Framework, Exploit-DB, GitHub)
Exploit Ease: Exploits are available

Here's the list of publicly known exploits and PoCs for verifying the Atlassian Confluence Server Webwork OGNL Injection (CVE-2021-26084) vulnerability:

  1. Metasploit: exploit/linux/http/atlassian_confluence_webwork_ognl_injection
    [Atlassian Confluence WebWork OGNL Injection]
  2. Metasploit: exploit/multi/http/atlassian_confluence_webwork_ognl_injection
    [Atlassian Confluence WebWork OGNL Injection]
  3. Exploit-DB: exploits/java/webapps/50243.py
    [EDB-50243: Confluence Server 7.12.4 - 'OGNL injection' Remote Code Execution (RCE) (Unauthenticated)]
  4. GitHub: https://github.com/0x727/ShuiZe_0x727
    [CVE-2021-26084]
  5. GitHub: https://github.com/0xsyr0/OSCP
    [CVE-2021-26084]
  6. GitHub: https://github.com/AlAIAL90/CVE-2021-26084
    [CVE-2021-26084: PoC for exploiting CVE-2021-26084 : In affected versions of Confluence Server and ...]
  7. GitHub: https://github.com/FDlucifer/firece-fish
    [CVE-2021-26084]
  8. GitHub: https://github.com/FanqXu/CVE-2021-26084
    [CVE-2021-26084: CVE-2021-26084 Remote Code Execution on Confluence Servers]
  9. GitHub: https://github.com/Mr-xn/Penetration_Testing_POC
    [CVE-2021-26084]
  10. GitHub: https://github.com/S3cur3Th1sSh1t/Pentest-Tools
    [CVE-2021-26084]
  11. GitHub: https://github.com/TesterCC/exp_poc_library
    [CVE-2021-26084]
  12. GitHub: https://github.com/ZZ-SOCMAP/pocs
    [CVE-2021-26084]
  13. GitHub: https://github.com/alt3kx/CVE-2021-26084_PoC
    [CVE-2021-26084]
  14. GitHub: https://github.com/b1gw00d/CVE-2021-26084
    [CVE-2021-26084]
  15. GitHub: https://github.com/bigblackhat/oFx
    [CVE-2021-26084]
  16. GitHub: https://github.com/binganao/vulns-2022
    [CVE-2021-26084]
  17. GitHub: https://github.com/curated-intel/Log4Shell-IOCs
    [CVE-2021-26084]
  18. GitHub: https://github.com/dinhbaouit/CVE-2021-26084
    [CVE-2021-26084]
  19. GitHub: https://github.com/fardeen-ahmed/Bug-bounty-Writeups
    [CVE-2021-26084]
  20. GitHub: https://github.com/gh0stkey/CVE-2021-26084
    [CVE-2021-26084: CVE-2021-26084 Remote Code Execution on Confluence Servers, reference: ...]
  21. GitHub: https://github.com/harsh-bothra/learn365
    [CVE-2021-26084]
  22. GitHub: https://github.com/joydo/CVE-Writeups
    [CVE-2021-26084]
  23. GitHub: https://github.com/luck-ying/Library-POC
    [CVE-2021-26084]
  24. GitHub: https://github.com/mdisec/mdisec-twitch-yayinlari
    [CVE-2021-26084]
  25. GitHub: https://github.com/mr-r3bot/Confluence-CVE-2021-26084
    [CVE-2021-26084: OGNL Injection in Confluence server version < 7.12.5]
  26. GitHub: https://github.com/orangmuda/CVE-2021-26084
    [CVE-2021-26084: CVE-2021-26084 - Confluence Server Webwork OGNL injection]
  27. GitHub: https://github.com/oxctdev/CVE-2021-26084
    [CVE-2021-26084: CVE-2021-26084 - Confluence Server Webwork OGNL injection]
  28. GitHub: https://github.com/p1gz/CVE-2021-26084-Confluence-OGNL
    [CVE-2021-26084: asjhdsajdlksavksapfoka]
  29. GitHub: https://github.com/pen4uin/pentest-note
    [CVE-2021-26084]
  30. GitHub: https://github.com/pipiscrew/timeline
    [CVE-2021-26084]
  31. GitHub: https://github.com/r0eXpeR/supplier
    [CVE-2021-26084]
  32. GitHub: https://github.com/rudrapwn/source-code-review
    [CVE-2021-26084]
  33. GitHub: https://github.com/tangxiaofeng7/CVE-2021-26084
    [CVE-2021-26084: 批量检测]
  34. GitHub: https://github.com/tzwlhack/ShuiZe_0x727
    [CVE-2021-26084]
  35. GitHub: https://github.com/wdjcy/CVE-2021-26084
    [CVE-2021-26084]
  36. GitHub: https://github.com/woods-sega/woodswiki
    [CVE-2021-26084]
  37. GitHub: https://github.com/0xf4n9x/CVE-2021-26084
    [CVE-2021-26084: CVE-2021-26084 Remote Code Execution on Confluence Servers]
  38. GitHub: https://github.com/1ZRR4H/CVE-2021-26084
    [CVE-2021-26084: Atlassian Confluence CVE-2021-26084 one-liner mass checker]
  39. GitHub: https://github.com/bcdannyboy/CVE-2021-26084_GoPOC
    [CVE-2021-26084: PoC of CVE-2021-26084 written in Golang based on ...]
  40. GitHub: https://github.com/BeRserKerSec/CVE-2021-26084-Nuclei-template
    [CVE-2021-26084: This nuclei template is to verify the vulnerability without executing any commands ...]
  41. GitHub: https://github.com/byteofjoshua/CVE-2021-26084
    [CVE-2021-26084: CVE-2021-26084 - Confluence Server Webwork OGNL injection]
  42. GitHub: https://github.com/carlosevieira/CVE-2021-26084
    [CVE-2021-26084: CVE-2021-26084 - Confluence Pre-Auth RCE]
  43. GitHub: https://github.com/dock0d1/CVE-2021-26084_Confluence
    [CVE-2021-26084: Exploit CVE 2021 26084 Confluence]
  44. GitHub: https://github.com/dorkerdevil/CVE-2021-26084
    [CVE-2021-26084: Confluence OGNL injection]
  45. GitHub: https://github.com/GlennPegden2/cve-2021-26084-confluence
    [CVE-2021-26084: A quick and dirty PoC of cve-2010-26084 as none of the existing ones worked for me. ...]
  46. GitHub: https://github.com/h3v0x/CVE-2021-26084_Confluence
    [CVE-2021-26084: Confluence Server Webwork OGNL injection]
  47. GitHub: https://github.com/JKme/CVE-2021-26084
    [CVE-2021-26084: CVE-2021-26084 Remote Code Execution on Confluence Servers, reference: ...]
  48. GitHub: https://github.com/Jun-5heng/CVE-2021-26084
    [CVE-2021-26084: Confluence远程代码执行RCE / Code By:Jun_sheng]
  49. GitHub: https://github.com/lleavesl/CVE-2021-26084
    [CVE-2021-26084: CVE-2021-26084,Atlassian Confluence OGNL注入漏洞]
  50. GitHub: https://github.com/Loneyers/CVE-2021-26084
    [CVE-2021-26084: CVE-2021-26084 Confluence OGNL injection]
  51. GitHub: https://github.com/ludy-dev/CVE-2021-26084_PoC
    [CVE-2021-26084: [CVE-2021-26084] Confluence pre-auth RCE test script]
  52. GitHub: https://github.com/march0s1as/CVE-2021-26084
    [CVE-2021-26084: Confluence OGNL Injection [CVE-2021-26084].]
  53. GitHub: https://github.com/maskerTUI/CVE-2021-26084
    [CVE-2021-26084: This is exploit]
  54. GitHub: https://github.com/nizarbamida/CVE-2021-26084-patch-
    [CVE-2021-26084: CVE-2021-26084 patch as provided in "Confluence Security Advisory - 2021-08-25"]
  55. GitHub: https://github.com/Osyanina/westone-CVE-2021-26084-scanner
    [CVE-2021-26084: CVE-2021-26084 Remote Code Execution on Confluence Servers]
  56. GitHub: https://github.com/p0nymc1/CVE-2021-26084
    [CVE-2021-26084]
  57. GitHub: https://github.com/quesodipesto/conflucheck
    [CVE-2021-26084: Python 3 script to identify CVE-2021-26084 via network requests.]
  58. GitHub: https://github.com/r0ckysec/CVE-2021-26084_Confluence
    [CVE-2021-26084: CVE-2021-26084 - Confluence Pre-Auth RCE OGNL injection 远程代码执行可回显]
  59. GitHub: https://github.com/rootsmadi/CVE-2021-26084
    [CVE-2021-26084: Confluence server webwork OGNL injection]
  60. GitHub: https://github.com/Sma11New/PocList
    [CVE-2021-26084: 漏洞POC、EXP合集,持续更新。ApacheSolr任意文件读取、蓝凌OA任意� ...]
  61. GitHub: https://github.com/smallpiggy/cve-2021-26084-confluence
    [CVE-2021-26084: Just run command without brain]
  62. GitHub: https://github.com/taythebot/CVE-2021-26084
    [CVE-2021-26084: CVE-2021-26084 - Confluence Server Webwork OGNL injection (RCE)]
  63. GitHub: https://github.com/toowoxx/docker-confluence-patched
    [CVE-2021-26084: Patched Confluence 7.12.2 (CVE-2021-26084)]
  64. GitHub: https://github.com/Udyz/CVE-2021-26084
    [CVE-2021-26084: Atlassian Confluence Pre-Auth RCE]
  65. GitHub: https://github.com/Vulnmachines/Confluence_CVE-2021-26084
    [CVE-2021-26084: Remote Code Execution on Confluence Servers : CVE-2021-26084]
  66. GitHub: https://github.com/wolf1892/confluence-rce-poc
    [CVE-2021-26084: Setting up POC for CVE-2021-26084]
  67. GitHub: https://github.com/Xc1Ym/cve_2021_26084
    [CVE-2021-26084: cve-2021-26084 EXP]
  68. GitHub: https://github.com/z0edff0x3d/CVE-2021-26084-Confluence-OGNL
    [CVE-2021-26084: Asjhdsajdlksavksapfoka]
  69. GitHub: https://github.com/antx-code/CVE-2021-26084
    [CVE-2021-26084: POC of CVE-2021-26084, which is Atlassian Confluence Server OGNL(Object-Graph ...]

Before running any exploit against any system, make sure you are authorized by the owner of the target system(s) to perform such activity. In any other case, this would be considered as an illegal activity.

WARNING: Beware of using unverified exploits from sources such as GitHub or Exploit-DB. These exploits and PoCs could contain malware. For more information, see how to use exploits safely.

Risk Information


CVSS Score Source [?]: CVE-2021-26084
CVSS V2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P/E:H/RL:OF/RC:C
CVSS Base Score:7.5 (High)
Impact Subscore:6.4
Exploitability Subscore:10.0
CVSS Temporal Score:6.5 (Medium)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:6.5 (Medium)
CVSS V3 Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H/RL:O/RC:C
CVSS Base Score:9.8 (Critical)
Impact Subscore:5.9
Exploitability Subscore:3.9
CVSS Temporal Score:9.4 (Critical)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:9.4 (Critical)
STIG Severity [?]: I
STIG Risk Rating: High

Go back to menu.

Plugin Source


The confluence_cve_2021_26084.nbin Nessus plugin is distributed in a propriatory binary format and its source code is protected. This script is Copyright (C) 2021-2022 and is owned by Tenable, Inc. or an Affiliate thereof.

The latest version of this script can be found in these locations depending on your platform:

  • Linux / Unix:
    /opt/nessus/lib/nessus/plugins/confluence_cve_2021_26084.nbin
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\confluence_cve_2021_26084.nbin
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/confluence_cve_2021_26084.nbin

Go back to menu.

How to Run


Here is how to run the Atlassian Confluence Server Webwork OGNL Injection (CVE-2021-26084) as a standalone plugin via the Nessus web user interface (https://localhost:8834/):

  1. Click to start a New Scan.
  2. Select Advanced Scan.
  3. Navigate to the Plugins tab.
  4. On the top right corner click to Disable All plugins.
  5. On the left side table select CGI abuses plugin family.
  6. On the right side table select Atlassian Confluence Server Webwork OGNL Injection (CVE-2021-26084) plugin ID 153087.
  7. Specify the target on the Settings tab and click to Save the scan.
  8. Run the scan.

Here are a few examples of how to run the plugin in the command line. Note that the examples below demonstrate the usage on the Linux / Unix platform.

Basic usage:

/opt/nessus/bin/nasl confluence_cve_2021_26084.nbin -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a confluence_cve_2021_26084.nbin -t <IP/HOST>

Run the plugin with trace script execution written to the console (useful for debugging):

/opt/nessus/bin/nasl -T - confluence_cve_2021_26084.nbin -t <IP/HOST>

Run the plugin with using a state file for the target and updating it (useful for running multiple plugins on the target):

/opt/nessus/bin/nasl -K /tmp/state confluence_cve_2021_26084.nbin -t <IP/HOST>

Go back to menu.

References


IAVA | Information Assurance Vulnerability Alert:
  • 2021-A-0397
See also: Similar and related Nessus plugins:
  • 152864 - Atlassian Confluence < 6.13.23 / 6.14 < 7.4.11 / 7.5 < 7.11.6 / 7.12 < 7.12.5 Webwork OGNL Injection (CONFSERVER-67940)
  • 110771 - Atlassian Confluence < 6.1.3 OAuth Plugin IconUriServlet Internal Network Resource Disclosure CSRF
  • 124281 - Atlassian Confluence < 6.6.13 / 6.7.x < 6.12.4 / 6.13.x < 6.13.4 / 6.14.x < 6.14.3 / 6.15.x < 6.15.2 Directory Traversal Vulnerability
  • 128548 - Atlassian Confluence 6.1.x < 6.6.16 / 6.7.x < 6.13.7 / 6.14.x < 6.15.8 Local File Disclosure Vulnerability
  • 123008 - Atlassian Confluence < 6.6.12 / 6.7.x < 6.12.3 / 6.13.x < 6.13.3 / 6.14.x < 6.14.2 Multiple Vulnerabilities
  • 124004 - Atlassian Confluence < 6.6.12 / 6.7.x < 6.12.3 / 6.13.x < 6.13.3 / 6.14.x < 6.14.2 Template Injection
  • 154244 - Atlassian Confluence Server Arbitrary File Read (CVE-2021-26085)

Version


This page has been produced using Nessus Professional 10.1.2 (#68) LINUX, Plugin set 202205072148.
Plugin file confluence_cve_2021_26084.nbin version 1.016. For more plugins, visit the Nessus Plugin Library.

Go back to menu.