Apache Dubbo RCE on customers via Script route poisoning (Nashorn script injection)
Apache Software Foundation Apache Dubbo
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| com.alibaba:dubbo Maven |
|
|
| org.apache.dubbo:dubbo Maven |
|
|
Apache Software Foundation Apache Dubbo
| Product | Affected | Fixed in |
|---|---|---|
| com.alibaba:dubbo Maven |
|
|
| org.apache.dubbo:dubbo Maven |
|
|
Apache Dubbo prior to 2.6.9 and 2.7.9 supports Script routing which will enable a customer to route the request to the right server. These rules are used by the customers when making a request in order to find the right endpoint. When parsing these rules, Dubbo customers use ScriptEngine and run the rule provided by the script which by default may enable executing arbitrary code.
From the CVE record · apache
Apache Dubbo customers use ScriptEngine to parse Script routing rules, which may enable arbitrary code execution when a rule is processed. The input does not specify whether exploitation requires network or local access, authentication, or user interaction.
Check deployments using Maven com.alibaba:dubbo versions >=2.5.0 and <2.6.9 or org.apache.dubbo:dubbo versions >=2.5.0 and <2.7.10.