WaratekVRT Sign in

CVE-2021-38266 Liferay Portal

Affected softwareLiferay Portal
Severity7.5 High CVSS 3.1 2 scores
Fixed in2.0.19
Published2 Mar 2022
Updated9 Jul 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 4 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 1.7% chance in 30 days

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists: liferay/liferay-portal c3d1e3c.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all
Finding This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious.

CVSS

7.5 HIGH v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 7.5 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H NVD Primary published
CVSS 2.0 5.0 none AV:N/AC:L/Au:N/C:N/I:N/A:P NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
com.liferay:com.liferay.portal.security.ldap.impl 0 2.0.19 unbounded
com.liferay.portal:release.dxp.bom 0 7.3.0-ga1 unbounded

Products and versions

4 products, 115 version entries
SourceVendorProductSchemeAffected versions
osv com.liferay com.liferay.portal.security.ldap.impl generic < 2.0.19
osv com.liferay.portal release.dxp.bom generic < 7.3.0.1
nvd liferay digital experience platform generic 7.0 · 7.0:fix_pack_1 · 7.0:fix_pack_2 · 7.0:fix_pack_3 · 7.0:fix_pack_4 · 7.0:fix_pack_5 · 7.0:fix_pack_6 · 7.0:fix_pack_7 · 7.0:fix_pack_8 · 7.0:fix_pack_9 · 7.0:fix_pack_10 · 7.0:fix_pack_11 · 7.0:fix_pack_12 · 7.0:fix_pack_13 · 7.0:fix_pack_14 · 7.0:fix_pack_15 · 7.0:fix_pack_16 · 7.0:fix_pack_17 · 7.0:fix_pack_18 · 7.0:fix_pack_19 · 7.0:fix_pack_20 · 7.0:fix_pack_21 · 7.0:fix_pack_22 · 7.0:fix_pack_23 · 7.0:fix_pack_24 · 7.0:fix_pack_25 · 7.0:fix_pack_26 · 7.0:fix_pack_27 · 7.0:fix_pack_28 · 7.0:fix_pack_29 · 7.0:fix_pack_30 · 7.0:fix_pack_31 · 7.0:fix_pack_32 · 7.0:fix_pack_33 · 7.0:fix_pack_34 · 7.0:fix_pack_35 · 7.0:fix_pack_36 · 7.0:fix_pack_37 · 7.0:fix_pack_38 · 7.0:fix_pack_39 · 7.0:fix_pack_40 · 7.0:fix_pack_41 · 7.0:fix_pack_42 · 7.0:fix_pack_43 · 7.0:fix_pack_44 · 7.0:fix_pack_45 · 7.0:fix_pack_46 · 7.0:fix_pack_47 · 7.0:fix_pack_48 · 7.0:fix_pack_49 · 7.0:fix_pack_50 · 7.0:fix_pack_51 · 7.0:fix_pack_52 · 7.0:fix_pack_53 · 7.0:fix_pack_54 · 7.0:fix_pack_55 · 7.0:fix_pack_56 · 7.0:fix_pack_57 · 7.0:fix_pack_58 · 7.0:fix_pack_59 · 7.0:fix_pack_60 · 7.0:fix_pack_61 · 7.0:fix_pack_62 · 7.0:fix_pack_63 · 7.0:fix_pack_64 · 7.0:fix_pack_65 · 7.0:fix_pack_66 · 7.0:fix_pack_67 · 7.0:fix_pack_68 · 7.0:fix_pack_69 · 7.0:fix_pack_70 · 7.0:fix_pack_71 · 7.0:fix_pack_72 · 7.0:fix_pack_73 · 7.0:fix_pack_74 · 7.0:fix_pack_75 · 7.0:fix_pack_76 · 7.0:fix_pack_77 · 7.0:fix_pack_78 · 7.0:fix_pack_79 · 7.0:fix_pack_80 · 7.0:fix_pack_81 · 7.0:fix_pack_82 · 7.0:fix_pack_83 · 7.0:fix_pack_84 · 7.0:fix_pack_85 · 7.0:fix_pack_86 · 7.0:fix_pack_87 · 7.0:fix_pack_88 · 7.0:fix_pack_89 · 7.1 · 7.1:fix_pack_1 · 7.1:fix_pack_2 · 7.1:fix_pack_3 · 7.1:fix_pack_4 · 7.1:fix_pack_5 · 7.1:fix_pack_6 · 7.1:fix_pack_7 · 7.1:fix_pack_8 · 7.1:fix_pack_9 · 7.1:fix_pack_10 · 7.1:fix_pack_11 · 7.1:fix_pack_12 · 7.1:fix_pack_13 · 7.1:fix_pack_14 · 7.1:fix_pack_15 · 7.1:fix_pack_16 · 7.2 · 7.2:fix_pack_1 · 7.2:fix_pack_2 · 7.2:fix_pack_3 · 7.2:fix_pack_4
nvd liferay liferay portal generic ≤ 7.2.1

References

URLTags
https://github.com/liferay/liferay-portal/commit/c3d1e3c7b18be0791360bb57428ea8234bcbb736 WEB
https://github.com/liferay/liferay-portal PACKAGE
https://issues.liferay.com/browse/LPE-17191 WEB
https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/cve-2021-38266?p_r_p_assetEntryId=121611673&_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%3D121611673%26_com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet_INSTANCE_jekt_cur%3D0%26p_r_p_resetCur%3Dfalse WEB
https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2021-38266 Vendor Advisory

Timeline

Published2022-03-02By the CVE Program.
NVD record modified2026-07-09NVD's own last-modified date for this record.