CVE-2021-25640 Open Redirect or SSRF vulnerability usage of parseURL
Attackers can bypass host whitelisting in Apache Dubbo to perform Server-Side Request Forgery or open redirects via the parseURL method.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2021-25640?
CVE-2021-25640 is a medium-severity server-side request forgery vulnerability in Apache Dubbo, published on 31 May 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
In Apache Dubbo prior to 2.6.9 and 2.7.9, the usage of parseURL method will lead to the bypass of white host check which can cause open redirect or SSRF vulnerability.
Which versions are affected by CVE-2021-25640?
4 open source packages ship an affected version, including org.apache.dubbo:dubbo and com.alibaba:dubbo. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.dubbo:dubbo Maven | From 2.5.0 | 2.7.10 |
org.apache.dubbo:dubbo Maven | From 2.5.0 | 2.7.10 |
com.alibaba:dubbo Maven | From 2.5.0 | 2.6.9 |
com.alibaba:dubbo Maven | From 2.5.0 | 2.6.9 |
Products include Apache Dubbo.
How do I fix CVE-2021-25640?
Upgrade org.apache.dubbo:dubbo to 2.7.10 or later.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2021-25640 being exploited?
There is no known exploitation of CVE-2021-25640 in the wild and no public exploit code.
Other vulnerabilities in Apache Dubbo
- CVE-2023-29234 Bypass serialize checks in Apache Dubbo
- CVE-2023-46279 Apache Dubbo: Bypass deny serialize list check in Apache Dubbo
- CVE-2021-32824 Regular expression Denial of Service in MooTools
- CVE-2022-39198 Apache Dubbo Hession Deserialization Vulnerability Gadgets Bypass
- CVE-2021-43297 Dubbo Hessian cause RCE when parse error
Sources
Also known as GHSA-gw4j-4229-q4px.