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:In affected versions of Confluence Server and Data Center, an OGNL injection vulnerability exists that would allow an unauthenticated attacker to execute arbitrary code on a Confluence Server or Data Center instance. The affected versions are from 1.3.0 before 7.4.17, from 7.13.0 before 7.13.7, from 7.14.0 before 7.14.3, from 7.15.0 before 7.15.2, from 7.16.0 before 7.16.4, from 7.17.0 before 7.17.4, and from 7.18.0 before 7.18.1.
Description
This repository contains Yara rule and the method that a security investigator may want to use for CVE-2022-26134 threat hunting on their Linux confluence servers.
Readme
# Confluence RCE [CVE-2022-26134] Exploit Detection

## Pre-requisites

1. ClamAV

## Clone this repository or download the Yara rule on your confluence server

We are using the Yara rule provided by volexity/threat-intel who first unveiled this vulnerability.

**Git Clone**

```bash
git clone https://github.com/th3b3ginn3r/CVE-2022-26134-Exploit-Detection.git
```

**Raw file download**

CVE-2022-26134.yar: https://raw.githubusercontent.com/th3b3ginn3r/CVE-2022-26134-Exploit-Detection-on-Linux/main/CVE-2022-26134.yar

```bash
curl -o <CVE-2022-26134.yar url>
```

Alternatively, you can also download the Yara rule directly from the volexity repository

## Usage

```bash
sudo clamscan -d /path-to-the/CVE-2022-26134.yar -r /path-to-scan -io #If scannig "/" root directory, include " exclude-dir="^/sys" " in the command.
```
## Reading the results

Now when you have run the scan, you will be presented with the scan summary. Below is a sample of it.

```bash
----------- SCAN SUMMARY -----------
Known viruses: 3 #These are the number of Yara rules in the CVE-2022-26134.yar file
Engine version: 0.xxx.5
Scanned directories: 20000
Scanned files: 200000
Infected files: 0 #See the count of infected files or the list of files that matches the conditions of the Yara rules
Data scanned: 1000.08 MB
Data read: 18000.00 MB (ratio 0.54:1)
Time: 284.885 sec (4 m 44 s)
Start Date: 2022:06:03 00:19:34
End Date:   2022:06:03 00:24:19
```
## Manual Hunting

You may additionaly want to search for suspicious activities in below confluence logs:

1. conf access log (log file name may differ in your environment)
2. catalina*.log

**Detailed write-up on Manual Hunting** :  https://link.medium.com/cebuWoAazqb


## License
[GPL]  GPL-3.0 license
File Snapshot

[4.0K] /data/pocs/86a454f1ce94d21ac6eb91e97782b06cdf73c463 ├── [3.0K] CVE-2022-26134.yar ├── [ 34K] LICENSE └── [1.7K] README.md 0 directories, 3 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →