medium5.9
CVE-2022-42132
Liferay Portal and Liferay DXP Includes LDAP Credentials in the Page URL
Impact
The Test LDAP Users functionality in Liferay Portal 7.0.0 through 7.4.3.4, and Liferay DXP 7.0 fix pack 102 and earlier, 7.1 before fix pack 27, 7.2 before fix pack 17, 7.3 before update 4, and DXP 7.4 GA includes the LDAP credential in the page URL when paginating through the list of users, which allows man-in-the-middle attackers or attackers with access to the request logs to see the LDAP credential.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | com.liferay.portal:release.portal.bom | >= 7.0.0, < 7.4.3.5-ga5 | 7.4.3.5-ga5 |
| maven | com.liferay.portal:release.dxp.bom | >= 7.0.0, <= 7.0.10.fp102 | none recorded |
| maven | com.liferay:com.liferay.portal.settings.authentication.ldap.web | < 5.0.13 | 5.0.13 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Liferay | Digital Experience Platform | Versions 7.0, 7.1, 7.2, 7.3, 7.4 |
| Liferay | Liferay Portal | from 7.0.0 before 7.4.3.5 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://issues.liferay.com/browse/LPE-17438
- https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-42132
- https://github.com/advisories/GHSA-f43m-hhj4-q3jg
- https://nvd.nist.gov/vuln/detail/CVE-2022-42132
- http://liferay.com
- https://github.com/liferay/liferay-portal/commit/4a53b64fb714c7ff989b99ddccc3de116095453d
- https://github.com/liferay/liferay-portal/commit/b6cff511119d71dea38f5485761730f4fb5d4430
- https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/cve-2022-42132?p_r_p_assetEntryId=121613918&_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%3D121613918%26_com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet_INSTANCE_jekt_cur%3D0%26p_r_p_resetCur%3Dfalse
- https://web.archive.org/web/20221020134303/https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2022-42132