7.5high
Liferay Portal and Liferay DXP fails to properly import users from LDAP
- Severity
- 7.5high CVSS:3.1 by NVD
- Exploit likelihood
- 1.74% (higher than 78% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-jp3m-vh3g-6ggpBIT-LIFERAY-2021-38266
Description
The Portal Security module in Liferay Portal 7.2.1 and earlier, and Liferay DXP 7.0 before fix pack 90, 7.1 before fix pack 17 and 7.2 before fix pack 5 does not correctly import users from LDAP, which allows remote attackers to prevent a legitimate user from authenticating by attempting to sign in as a user that exist in LDAP.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| com.liferay:com.liferay.portal.security.ldap.impl (Maven) | before 2.0.19 | GitHub Advisory Database |
| com.liferay.portal:release.dxp.bom (Maven) | before 7.3.0-ga1 | GitHub Advisory Database |
| liferay liferay_portal | up to 7.2.1 | NVD |
| liferay digital_experience_platform | 7.0 | NVD |
| liferay (Bitnami) | from 7.0.0 up to 7.0.0, from 7.1.0 up to 7.1.0, from 7.2.0 up to 7.2.0, from 7.0-fix.0 up to 7.0-fix.0 | Bitnami Vulnerability Database |
All scores
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| Bitnami Vulnerability Database | high rating |
What each source says
CVE List
The Portal Security module in Liferay Portal 7.2.1 and earlier, and Liferay DXP 7.0 before fix pack 90, 7.1 before fix pack 17 and 7.2 before fix pack 5 does not correctly import users from LDAP, which allows remote attackers to prevent a legitimate user from authenticating by attempting to sign in as a user that exist in LDAP.
GitHub Advisory Database
Security LDAP Implementation before 2.0.16 from Liferay Portal through v7.2.1 and Liferay DXP through v7.2 does not correctly import users from LDAP, allowing remote attackers to prevent a legitimate user from authenticating by attempting to sign in as a user that exists in LDAP.
NVD (es)
El módulo Portal Security en Liferay Portal 7.2.1 y anteriores, y Liferay DXP 7.0 antes del fix pack 90, 7.1 antes del fix pack 17 y 7.2 antes del fix pack 5 no importa correctamente los usuarios de LDAP, lo que permite a los atacantes remotos impedir que un usuario legítimo se autentique al intentar iniciar sesión como un usuario que existe en LDAP
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-38266 changed 2026-07-09 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-jp3m-vh3g-6ggp changed 2025-07-14 | CC-BY-4.0 |
| NVD | CVE-2021-38266 changed 2026-07-09 | Public domain |
| Bitnami Vulnerability Database | BIT-LIFERAY-2021-38266 changed 2025-07-14 | Apache-2.0 |