Unauthenticated code execution via HTTP object deserialization
Published Apr 1, 2020 · Updated Aug 5, 2024
Unsafe deserialization in Apache Dubbo 2.5.x, 2.6.0 through 2.6.7, and 2.7.0 through 2.7.4 allows remote attackers to execute code. The HTTP invoker protocol passes an unauthenticated POST body to Spring's HttpInvokerServiceExporter, whose Java ObjectStream accepts arbitrary classes without an allowlist. HTTP remoting must be enabled and a usable gadget chain must be present; successful exploitation executes attacker-controlled code in the Provider process.
Summary
What happened
Unsafe deserialization in Apache Dubbo 2.5.x, 2.6.0 through 2.6.7, and 2.7.0 through 2.7.4 allows remote attackers to execute code. The HTTP invoker protocol passes an unauthenticated POST body to Spring's HttpInvokerServiceExporter, whose Java ObjectStream accepts arbitrary classes without an allowlist. HTTP remoting must be enabled and a usable gadget chain must be present; successful exploitation executes attacker-controlled code in the Provider process.
The record
- CVE
- CVE-2019-17564
- Published
- Apr 1, 2020
- Updated
- Aug 5, 2024
- Vendor
- The Apache Software Foundation
- Product
- Apache Dubbo
- Classifications
- CWE-502, CAPEC-586, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Apr 1, 2020CVE publishedPublication date reported by the CVE source.
- Aug 5, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=2.6.0 to 2.6.7
- Affected versionversion=2.7.0 to 2.7.4
- Affected versionversion=all 2.5.x versions
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Vulhub Apache Dubbo unsafe Java deserialization environmentfunctional · demonstrated
- Checkmarx Apache Dubbo deserialization exploitfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo