CVE-2021-30181

Apache Dubbo RCE on customers via Script route poisoning (Nashorn script injection)

published May 29, 2021

Patch now

High probability of exploitation

NVD has not assigned a CVSS score to this record. It sits in the 99.2th percentile for exploit probability.

CVSS
—
EPSS
61%
Percentile
99.2
In the wild
Unconfirmed
What it is

⚠️ A sneaky script routing feature in Apache Dubbo could allow an attacker to execute arbitrary code! 🎭 Think of it like a restaurant that allows customers to write their own orders on a blank ticket. If the kitchen takes those orders without checking, they might end up making something entirely unexpected—or worse, dangerous! If exploited, this vulnerability could allow an attacker to run any code on the server, potentially leading to data breaches, service disruptions, or even full system takeover. The implications could be severe, especially if sensitive data is involved or if the system is critical to operations.

Put simply

Think of it like a restaurant that allows customers to write their own orders on a blank ticket. If the kitchen takes those orders without checking, they might end up making something entirely unexpected—or worse, dangerous! This vulnerability in Apache Dubbo versions prior to 2.6.9 and 2.7.9 arises from its support for Script routing. During the parsing of these routing scripts, the default configuration allows for the execution of arbitrary code, which can be exploited by a malicious actor.

What to do

If exploited, this vulnerability could allow an attacker to run any code on the server, potentially leading to data breaches, service disruptions, or even full system takeover. The implications could be severe, especially if sensitive data is involved or if the system is critical to operations. To mitigate this risk, upgrade your Apache Dubbo to versions 2.6.9 or 2.7.9 or higher as a first step. Additionally, review your script routing configurations and consider disabling or restricting script execution if it’s not essential for your use case. You've got this! Follow these steps to secure your system and keep those scripts in check! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.60858 · 99.2th percentile
Published
2021-05-29T07:30Z
EPSS history
Timeline
  • 29 MAY 07:30Z
    Apache Dubbo RCE on customers via Script route poisoning (Nashorn script injection)
    cvelistv5