Loading...
Skip to main content

CVE-2021-32824 — Vulnerability in org.apache.dubbo:dubbo-parent —...

CRITICAL

Apache Dubbo vulnerable to remote code execution via Telnet Handler

Published January 3, 2023Updated February 16, 2024Source: osv

Summary

Apache Dubbo is a Java based, open source RPC framework. Versions prior to 2.6.10 and 2.7.10 are vulnerable to pre-authorization remote code execution via arbitrary bean manipulation in the Telnet handler. The Dubbo main service port can be used to access a Telnet Handler which offers some basic methods to collect information about the providers and methods exposed by the service and it can even allow to shutdown the service. This endpoint is unprotected. Additionally, a provider method can be invoked using the `invoke` handler. This handler uses a safe version of FastJson to process the call arguments. However, the resulting list is later processed with `PojoUtils.realize` which can be used to instantiate arbitrary classes and invoke its setters. Even though FastJson is properly protected with a default blocklist, `PojoUtils.realize` is not, and an attacker can leverage that to achieve remote code execution. Versions 2.6.10 and 2.7.10 contain fixes for this issue.

Advisory Timeline

  • First published January 3, 2023 (1378 days ago).
  • Last revised February 16, 2024 — 409 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.apache.dubbo:dubbo-parent to 2.7.10 or later
<!-- Update pom.xml dependency version to 2.7.10 for org.apache.dubbo:dubbo-parent -->
Maven
Update org.apache.dubbo:dubbo-parent to 2.6.10 or later
<!-- Update pom.xml dependency version to 2.6.10 for org.apache.dubbo:dubbo-parent -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: maven (1).

PackageEcosystemAffectedFixed In
org.apache.dubbo:dubbo-parent
maven
2.7.0, 2.7.1, 2.7.2, 2.7.3 (+7 more)2.7.10
org.apache.dubbo:dubbo-parent
maven
All versions2.6.10

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-502
    Deserialization of Untrusted DataMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Frequently Asked Questions

What is CVE-2021-32824?
Apache Dubbo vulnerable to remote code execution via Telnet Handler This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2021-32824?
CVE-2021-32824 affects org.apache.dubbo:dubbo-parent. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2021-32824 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-fprr-rrm8-4534

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies