Cross-Site Request Forgery (CSRF)Weakness · CWE-352

CVE-2021-29050

HIGH · 8.8 CVSS v3.1 Published 2024-02-20
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
95/100
Remediation priority · Urgent
Remotely reachable No privileges

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
Cross-Site Request Forgery (CSRF) vulnerability in the terms of use page in Liferay Portal before 7.3.6, and Liferay DXP 7.3 before service pack 1, 7.2 before fix pack 11 allows remote attackers to accept the site's terms of use via social engineering and enticing the user to visit a malicious page.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

A CSRF vulnerability in LPortal and Lifer DXP's terms of use acceptance functionality allows authenticated users to unknowingly accept terms of use via a maliciously crafted request triggered from an attacker's page. The attack exploits the lack of anti-CSRF token validation on the terms of use acceptance endpoint.

MitigationApply the vendor patches (LPortal 7.3.6+, DXP 7.3 SP1+, or 7.2 FP11+) which add anti-CSRF token validation to the terms of use acceptance form.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify LPortal or Lifer DXP installation version
    Check the product's version information through the control panel (typically under Control Panel > Configuration > Server Information) or by locating the version file in the installation directory
    Affected if The installed version is before 7.3.6 for LPortal, or before 7.3 SP1 / 7.2 FP11 for DXP
  2. Verify terms of use acceptance feature is enabled
    Navigate to Control Panel > Configuration > Portal Settings > Terms of Use and confirm if the feature is enabled for users
    Affected if Terms of use acceptance is required/enabled for user accounts in the environment
  3. Inspect the terms of use acceptance form for anti-CSRF protection
    Access the terms of use acceptance page, view the HTML source, and check if a CSRF token or security token field is present in the form submission
    Affected if The form lacks a CSRF token parameter or anti-CSRF validation mechanism

Users are affected if their LPortal version is below 7.3.6 or DXP is below 7.3 SP1/7.2 FP11 AND the terms of use acceptance feature is enabled, since the endpoint lacks anti-CSRF token validation.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Apply the vendor patches (LPortal 7.3.6+, DXP 7.3 SP1+, or 7.2 FP11+) which add anti-CSRF token validation to the terms of use acceptance form.

Recommended fix High confidence

Liferay Portal 7.3.6+ | Liferay DXP 7.3 Service Pack 1+ | Liferay DXP 7.2 Fix Pack 11+

  1. 1. Identify the current Liferay product (Portal or DXP) and exact version running in your environment
  2. 2. For Liferay Portal: Upgrade to version 7.3.6 or later
  3. 3. For Liferay DXP 7.3: Apply Service Pack 1 or later
  4. 4. For Liferay DXP 7.2: Apply Fix Pack 11 or later
  5. 5. After upgrade, verify the terms of use functionality works correctly and test for any regressions

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation2.0 h
  • Implementation4.0 h
  • Testing3.0 h
  • Review / QA2.0 h
11.0 hours of engineering $1,930
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,088.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2021-29050 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2021-29050 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data