CVE-2021-39181 Unsafe Deserialization of User Data Using XStream

High 8.8 Published Updated

Authenticated users with authoring roles can execute arbitrary code via unsafe deserialization of XML imports in OpenOlat.

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

What is CVE-2021-39181?

CVE-2021-39181 is a high-severity unsafe deserialization vulnerability in OpenOLAT, published on 1 Sep 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

OpenOlat is a web-based learning management system (LMS). Prior to version 15.3.18, 15.5.3, and 16.0.0, using a prepared import XML file (e.g. a course) any class on the Java classpath can be instantiated, including spring AOP bean factories. This can be used to execute code arbitrary code by the attacker. The attack requires an OpenOlat user account with the authoring role. It can not be exploited by unregistered users. The problem is fixed in versions 15.3.18, 15.5.3, and 16.0.0. There are no known workarounds aside from upgrading.

Weakness: CWE-91

Which versions are affected by CVE-2021-39181?

It affects 1 product.

Products include Frentix Openolat.

How do I fix CVE-2021-39181?

No fix has been published for CVE-2021-39181 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2021-39181 being exploited?

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

Sources

Also known as GHSA-596v-3gwh-2m9w.

Is CVE-2021-39181 in your software?

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

Check your SBOMs for free