Skip to content
OpenAdvisories
Medium Public exploit CVE-2019-17572 EUVD-2020-0539GHSA-5x3v-2gxr-59m2

Directory traversal in Apache RocketMQ

Published May 14, 2020 · Updated Aug 5, 2024 · Assigned by apache

Description

In Apache RocketMQ 4.2.0 to 4.6.0, when the automatic topic creation in the broker is turned on by default, an evil topic like “../../../../topic2020” is sent from rocketmq-client to the broker, a topic folder will be created in the parent directory in brokers, which leads to a directory traversal vulnerability. Users of the affected versions should apply one of the following: Upgrade to Apache RocketMQ 4.6.1 or later.

Affected products

VendorProductAffectedFixed
— Apache RocketMQ Apache RocketMQ 4.2.0 to 4.6.0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.rocketmq:rocketmq-broker >= 4.2.0, < 4.6.1 4.6.1 GHSA-5x3v-2gxr-59m2

References