CVE-2019-17570 Insecure Deserialization in Apache XML-RPC

Critical 9.8 Published Updated

A malicious XML-RPC server can trigger untrusted deserialization in the client, leading to arbitrary code execution. The library is unmaintained.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-17570?

CVE-2019-17570 is a critical unsafe deserialization vulnerability in Canonical Ubuntu Linux, published on 23 Jan 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An untrusted deserialization was found in the org.apache.xmlrpc.parser.XmlRpcResponseParser:addResult method of Apache XML-RPC (aka ws-xmlrpc) library. A malicious XML-RPC server could target a XML-RPC client causing it to execute arbitrary code. Apache XML-RPC is no longer maintained and this issue will not be fixed.

Weakness: CWE-502

Which versions are affected by CVE-2019-17570?

2 open source packages ship an affected version, including org.apache.xmlrpc:xmlrpc. It affects 5 products.

PackageAffectedFixed in
org.apache.xmlrpc:xmlrpc MavenAll versions to 3.1.3None
org.apache.xmlrpc:xmlrpc MavenAll versions to 3.1.3None
Linux distribution packages (10)
rh-java-common-xmlrpc Red Hat:rhel_software_collections:3::el6All versions1:3.1.3-8.17.el6
rh-java-common-xmlrpc-client Red Hat:rhel_software_collections:3::el6All versions1:3.1.3-8.17.el6
rh-java-common-xmlrpc-common Red Hat:rhel_software_collections:3::el6All versions1:3.1.3-8.17.el6
rh-java-common-xmlrpc-javadoc Red Hat:rhel_software_collections:3::el6All versions1:3.1.3-8.17.el6
rh-java-common-xmlrpc-server Red Hat:rhel_software_collections:3::el6All versions1:3.1.3-8.17.el6
rh-java-common-xmlrpc Red Hat:rhel_software_collections:3::el7All versions1:3.1.3-8.17.el7
rh-java-common-xmlrpc-client Red Hat:rhel_software_collections:3::el7All versions1:3.1.3-8.17.el7
rh-java-common-xmlrpc-common Red Hat:rhel_software_collections:3::el7All versions1:3.1.3-8.17.el7
rh-java-common-xmlrpc-javadoc Red Hat:rhel_software_collections:3::el7All versions1:3.1.3-8.17.el7
rh-java-common-xmlrpc-server Red Hat:rhel_software_collections:3::el7All versions1:3.1.3-8.17.el7

Products include Apache Xml-Rpc, Canonical Ubuntu Linux, Debian Debian Linux, Fedoraproject Fedora, Redhat Software Collections.

How do I fix CVE-2019-17570?

Product is end of life, replace it.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2019-17570 being exploited?

There is no known exploitation of CVE-2019-17570 in the wild and no public exploit code.

Public exploit code: 2 proofs of concept on GitHub.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DLA-2078-1, DSA-4619-1, GHSA-6vwp-35w3-xph8, MGASA-2020-0077, OESA-2022-1545, OESA-2022-2096 and 3 more.

Is CVE-2019-17570 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free