oss-sec mailing list archives

Re: Assign CVE for common-collections remote code execution on deserialisation flaw


From: Florian Weimer <fweimer () redhat com>
Date: Mon, 9 Nov 2015 07:58:52 +0100

On 11/09/2015 01:36 AM, Jason Shepherd wrote:
Hello oss-esc,

It was found that a flaw in Apache commons-collections Java library allowed remote code execution when Deserialised 
with Java Object Serialization.

This is not a vulnerability in the library.  How can this feature allow
remote code execution if it does not involve any networking at all?

The root cause is the incorrect use of Java deserialization.  As long as
you do not fix that, something else on the classpath will serve the role
of Apache Commons Collections.

Disabling InvokerTransformer deserialization may be a prudent hardening
measure, but calling the existing behavior a vulnerability is a bit of a
stretch.

Florian


Current thread: