MEDIUM6.5
GHSA-h9ww-wjg4-jvvg
Liferay Portal and Liferay DXP Fails to Check Permissions in Translation Module
Quick fix
GHSA-h9ww-wjg4-jvvg — com.liferay:com.liferay.translation.web: upgrade to the fixed version with the command below.
# pom.xml: bump <version>2.0.58</version> for com.liferay:com.liferay.translation.webDetails
The Translation module before v2.0.58 from Liferay Portal (v7.4.3.12 through v7.4.3.36), and Liferay DXP 7.4 update 8 through 36 does not check permissions before allowing a user to export a web content for translation, allowing attackers to download a web content page's XLIFF translation file via crafted URL.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/com.liferay:com.liferay.translation.web
Introduced in:
0Fixed in: 2.0.58Fix
# pom.xml: bump <version>2.0.58</version> for com.liferay:com.liferay.translation.webMaven/com.liferay.portal:release.dxp.bom
Introduced in:
7.4.13.u8Fixed in: 7.4.13.u37Fix
# pom.xml: bump <version>7.4.13.u37</version> for com.liferay.portal:release.dxp.bomReferences
- https://nvd.nist.gov/vuln/detail/CVE-2022-38512[ADVISORY]
- https://github.com/liferay/liferay-portal/commit/1934094578ddcd2c1f3d37593b493d3991a6a20f[WEB]
- https://github.com/liferay/liferay-portal/commit/48fd5698fc1935a90e9c5013c328dbc369ba353d[WEB]
- https://github.com/liferay/liferay-portal[PACKAGE]
- https://liferay.atlassian.net/browse/LPE-17610[WEB]
- https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/cve-2022-38512?p_r_p_assetEntryId=121612585&_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%3D121612585%26_com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet_INSTANCE_jekt_cur%3D0%26p_r_p_resetCur%3Dfalse[WEB]
- http://liferay.com[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/com.liferay.translation.web"]}'