GHSA-vwj8-4grf-3r8v
Liferay Portal and Liferay DXP fails to invalidate password reset tokens after use
Quick fix
GHSA-vwj8-4grf-3r8v — com.liferay.portal:com.liferay.portal.impl: upgrade to the fixed version with the command below.
# pom.xml: bump <version>5.7.3</version> for com.liferay.portal:com.liferay.portal.implDetails
In implementation for the portal services before 5.7.3 in Liferay Portal 7.3.0 and earlier, and Liferay DXP 7.0 before fix pack 96, 7.1 before fix pack 18, and 7.2 before fix pack 5, password reset tokens are not invalidated after a user changes their password, which allows remote attackers to change the user’s password via the old password reset token.
Are you affected?
Enter the version of the package you're using.
Affected packages
0Fixed in: 5.7.3# pom.xml: bump <version>5.7.3</version> for com.liferay.portal:com.liferay.portal.impl7.0.0Fixed in: 7.0.10.fp96# pom.xml: bump <version>7.0.10.fp96</version> for com.liferay.portal:release.dxp.bom7.1.0Fixed in: 7.1.10.fp18# pom.xml: bump <version>7.1.10.fp18</version> for com.liferay.portal:release.dxp.bom7.2.0Fixed in: 7.2.10.fp5# pom.xml: bump <version>7.2.10.fp5</version> for com.liferay.portal:release.dxp.bomReferences
- https://nvd.nist.gov/vuln/detail/CVE-2021-33322[ADVISORY]
- https://github.com/liferay/liferay-portal/commit/8f072ee8527a1dd5c0ffa91c4a78641d0e666b95[WEB]
- https://github.com/liferay/liferay-portal/commit/9fe453b34f58286a504d995be8ba50499adcf1b7[WEB]
- https://github.com/liferay/liferay-portal[PACKAGE]
- https://liferay.atlassian.net/browse/LPE-16981[WEB]
- https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/cve-2021-33322-password-change-does-not-invalidate-password-reset-tokens?p_r_p_assetEntryId=121610648&_com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet_INSTANCE_jekt_redirect=https%3A%2F%2Fliferay.dev%3A443%2Fportal%2Fsecurity%2Fknown-vulnerabilities%3Fp_p_id%3Dcom_liferay_asset_publisher_web_portlet_AssetPublisherPortlet_INSTANCE_jekt%26p_p_lifecycle%3D0%26p_p_state%3Dnormal%26p_p_mode%3Dview%26p_r_p_assetEntryId%3D121610648%26_com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet_INSTANCE_jekt_cur%3D0%26p_r_p_resetCur%3Dfalse[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:maven/com.liferay.portal/com.liferay.portal.impl"]}'