CVE-2021-25641
CRITICALApache Dubbo 2.5.0-2.6.8 & 2.7.0-2.7.7 Unauthenticated Deserialization via Serialization ID Tampering
Title source: llmExploitation Summary
EIP tracks 2 public exploits for CVE-2021-25641. PoCs published by Dor-Tumarkin, l0n3rs.
AI-analyzed exploit summary This repository contains a functional exploit for CVE-2021-25641, a deserialization vulnerability in Apache Dubbo. The exploit leverages a FastJson gadget chain to achieve remote code execution (RCE) by sending a crafted payload over the Dubbo protocol.
Description
Each Apache Dubbo server will set a serialization id to tell the clients which serialization protocol it is working on. But for Dubbo versions before 2.7.8 or 2.6.9, an attacker can choose which serialization id the Provider will use by tampering with the byte preamble flags, aka, not following the server's instruction. This means that if a weak deserializer such as the Kryo and FST are somehow in code scope (e.g. if Kryo is somehow a part of a dependency), a remote unauthenticated attacker can tell the Provider to use the weak deserializer, and then proceed to exploit it.
Exploits (2)
This repository contains a functional exploit for CVE-2021-25641, a deserialization vulnerability in Apache Dubbo. The exploit leverages a FastJson gadget chain to achieve remote code execution (RCE) by sending a crafted payload over the Dubbo protocol.
The repository claims to be an exploit for CVE-2021-25641 (Apache Dubbo deserialization vulnerability) but provides no actual exploit code, only a README with vague descriptions and a reference to an external JAR file. This is characteristic of a social engineering lure.
References (1)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H