CVE-2019-16891 Liferay Portal Allows RCE via Deserialization of a JSON Payload

Critical 9.8 Published Updated

Remote attackers can execute arbitrary commands on Liferay Portal CE by sending a malicious JSON payload that triggers unsafe deserialization.

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-16891?

CVE-2019-16891 is a critical unsafe deserialization vulnerability in Liferay Liferay Portal, published on 4 Oct 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Liferay Portal CE 6.2.5 allows remote command execution because of deserialization of a JSON payload.

Weakness: CWE-502

Which versions are affected by CVE-2019-16891?

2 open source packages ship an affected version, including com.liferay.portal:release.portal.bom. It affects 1 product.

PackageAffectedFixed in
com.liferay.portal:release.portal.bom MavenAll versions7.1.1
com.liferay.portal:release.portal.bom MavenAll versions7.1.1

Products include Liferay Liferay Portal.

How do I fix CVE-2019-16891?

Upgrade com.liferay.portal:release.portal.bom to 7.1.1 or later.

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

Is CVE-2019-16891 being exploited?

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

Public exploit code: 1 proofs of concept on GitHub.

All Liferay Liferay Portal vulnerabilities

Sources

Also known as CVE-2022-44147, GHSA-372h-p48h-xw8q.

Is CVE-2019-16891 in your software?

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

Check your SBOMs for free