CVE-2016-8744 Deserialization of Untrusted Data in Apache Brooklyn

High 8.8 Published Updated

An authenticated user can exploit unsafe YAML deserialization in Apache Brooklyn to execute arbitrary Java code with system privileges.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2016-8744?

CVE-2016-8744 is a high-severity unsafe deserialization vulnerability in Apache Brooklyn, published on 13 Sep 2017. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Apache Brooklyn uses the SnakeYAML library for parsing YAML inputs. SnakeYAML allows the use of YAML tags to indicate that SnakeYAML should unmarshal data to a Java type. In the default configuration in Brooklyn before 0.10.0, SnakeYAML will allow unmarshalling to any Java type available on the classpath. This could provide an authenticated user with a means to cause the JVM running Brooklyn to load and run Java code without detection by Brooklyn. Such code would have the privileges of the Java process running Brooklyn, including the ability to open files and network connections, and execute system commands. There is known to be a proof-of-concept exploit using this vulnerability.

Weakness: CWE-502

Which versions are affected by CVE-2016-8744?

2 open source packages ship an affected version, including org.apache.brooklyn:brooklyn. It affects 1 product.

PackageAffectedFixed in
org.apache.brooklyn:brooklyn MavenAll versions0.10.0
org.apache.brooklyn:brooklyn MavenAll versions0.10.0

Products include Apache Brooklyn.

How do I fix CVE-2016-8744?

Upgrade org.apache.brooklyn:brooklyn to 0.10.0 or later.

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

Is CVE-2016-8744 being exploited?

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

Sources

Also known as GHSA-9cqh-5x6g-wgm9.

Is CVE-2016-8744 in your software?

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

Check your SBOMs for free