CVE-2021-25641

Scores

EPSS

0.746medium74.6%
0%20%40%60%80%100%

Percentile: 74.6%

CVSS

9.8critical3.x
0246810

CVSS Score: 9.8/10

All CVSS Scores

CVSS 3.x
9.8

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS 2.0
7.5

Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P

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.

Scaner-VS 7 — a modern vulnerability management solution

Uses this database for vulnerability detection. High-speed search, cross-platform, advanced configuration audit, and flexible filtering. Suitable for organizations of any size.
Learn more about Scaner-VS 7

Sources

nvd

CWEs

CWE-502

Exploits

Exploit ID: CVE-2021-25641

Source: github-poc

URL: https://github.com/l0n3rs/CVE-2021-25641

Vulnerable Software (1)

Type: Configuration

Vendor: *

Product: dubbo

Operating System: * * *

Trait:
{  "cpe_match": [    {      "cpe23uri": "cpe:2.3:a:apache:dubbo:*:*:*:*:*:*:*:*",      "versionEndExcluding": "2.6.9",      "versionStartIncluding": "2.5.0",      "vulnerable": true    },    {...

Source: nvd

End of list