CVE-2024-25148 Liferay Portal vulnerable to user impersonation

Medium 5.4 Published Updated

Authenticated attackers can steal user impersonation tokens from linked content, enabling unauthorized access to other user accounts.

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-2024-25148?

CVE-2024-25148 is a medium-severity vulnerability in Liferay Digital Experience Platform, published on 8 Feb 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

In Liferay Portal 7.2.0 through 7.4.1, and older unsupported versions, and Liferay DXP 7.3 before service pack 3, 7.2 before fix pack 15, and older unsupported versions the `doAsUserId` URL parameter may get leaked when creating linked content using the WYSIWYG editor and while impersonating a user. This may allow remote authenticated users to impersonate a user after accessing the linked content.

Weakness: CWE-201

Which versions are affected by CVE-2024-25148?

6 open source packages ship an affected version, including com.liferay.portal:release.dxp.bom and com.liferay.portal:release.portal.bom. It affects 3 products.

PackageAffectedFixed in
com.liferay.portal:release.dxp.bom MavenFrom 7.2.07.2.10.fp15
com.liferay.portal:release.dxp.bom MavenFrom 7.2.07.2.10.fp15
com.liferay.portal:release.dxp.bom MavenFrom 7.3.07.3.10.u4
com.liferay.portal:release.dxp.bom MavenFrom 7.3.07.3.10.u4
com.liferay.portal:release.portal.bom MavenFrom 7.2.07.4.2
com.liferay.portal:release.portal.bom MavenFrom 7.2.07.4.2

Products include Liferay Digital Experience Platform, Liferay Dxp, Liferay Liferay Portal.

How do I fix CVE-2024-25148?

Upgrade com.liferay.portal:release.dxp.bom to a fixed version for your release line: 7.2.10.fp15 or 7.3.10.u4.

Is CVE-2024-25148 being exploited?

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

All Liferay Digital Experience Platform vulnerabilities

Sources

Also known as GHSA-qwj8-qgpr-8crm.

Is CVE-2024-25148 in your software?

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

Check your SBOMs for free