CVE-2013-4221 Restlet is vulnerable to Arbitrary Java Code Execution via crafted XML
Remote attackers can execute arbitrary Java code via crafted XML due to unsafe deserialization in the default configuration of the Restlet library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2013-4221?
CVE-2013-4221 is a high-severity unsafe deserialization vulnerability in n/a, published on 10 Oct 2013. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The default configuration of the ObjectRepresentation class in Restlet before 2.1.4 deserializes objects from untrusted sources using the Java XMLDecoder, which allows remote attackers to execute arbitrary Java code via crafted XML.
Which versions are affected by CVE-2013-4221?
2 open source packages ship an affected version, including org.restlet.jse:org.restlet. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.restlet.jse:org.restlet Maven | All versions | 2.1.4 |
org.restlet.jse:org.restlet Maven | All versions | 2.1.4 |
Products include Restlet Restlet.
How do I fix CVE-2013-4221?
Upgrade org.restlet.jse:org.restlet to 2.1.4 or later.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2013-4221 being exploited?
There is no known exploitation of CVE-2013-4221 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-92j2-5r7p-6hjw, UBUNTU-CVE-2013-4221.