CVE-2022-28977: Medium severity Liferay DXP vulnerability

Published Sep 22, 2022
·
Updated

HtmlUtil.escapeRedirect in Liferay Portal 7.3.1 through 7.4.2, and Liferay DXP 7.0 fix pack 91 through 101, 7.1 fix pack 17 through 25, 7.2 fix pack 5 through 14, and 7.3 before service pack 3 can be circumvented by using multiple forward slashes, which allows remote attackers to redirect users to arbitrary external URLs via the (1) 'redirect parameter (2) FORWARDURL parameter, and (3) others parameters that rely on HtmlUtil.escapeRedirect.

Affected Software

75 affected componentsFixes available
Liferay DXP=7.0
Liferay DXP=7.0-fix_pack_100
Liferay DXP=7.0-fix_pack_101
Liferay DXP=7.0-fix_pack_91
Liferay DXP=7.0-fix_pack_92
Liferay DXP=7.0-fix_pack_93
Liferay DXP=7.0-fix_pack_94
Liferay DXP=7.0-fix_pack_95
Liferay DXP=7.0-fix_pack_96
Liferay DXP=7.0-fix_pack_97
Liferay DXP=7.0-fix_pack_98
Liferay DXP=7.0-fix_pack_99
Liferay DXP=7.1
Liferay DXP=7.1-fix_pack_17
Liferay DXP=7.1-fix_pack_18
Liferay DXP=7.1-fix_pack_19
Liferay DXP=7.1-fix_pack_20
Liferay DXP=7.1-fix_pack_21
Liferay DXP=7.1-fix_pack_22
Liferay DXP=7.1-fix_pack_23
Liferay DXP=7.1-fix_pack_24
Liferay DXP=7.1-fix_pack_25
Liferay DXP=7.2
Liferay DXP=7.2-fix_pack_10
Liferay DXP=7.2-fix_pack_11
Liferay DXP=7.2-fix_pack_12
Liferay DXP=7.2-fix_pack_13
Liferay DXP=7.2-fix_pack_14
Liferay DXP=7.2-fix_pack_5
Liferay DXP=7.2-fix_pack_6
Liferay DXP=7.2-fix_pack_7
Liferay DXP=7.2-fix_pack_8
Liferay DXP=7.2-fix_pack_9
Liferay DXP=7.3
Liferay DXP=7.3-sp1
Liferay DXP=7.3-sp2
Liferay Liferay Portal>=7.3.1<7.4.3.4
Liferay Digital Experience Platform=7.0
Liferay Digital Experience Platform=7.0-fix_pack_100
Liferay Digital Experience Platform=7.0-fix_pack_101
Liferay Digital Experience Platform=7.0-fix_pack_91
Liferay Digital Experience Platform=7.0-fix_pack_92
Liferay Digital Experience Platform=7.0-fix_pack_93
Liferay Digital Experience Platform=7.0-fix_pack_94
Liferay Digital Experience Platform=7.0-fix_pack_95
Liferay Digital Experience Platform=7.0-fix_pack_96
Liferay Digital Experience Platform=7.0-fix_pack_97
Liferay Digital Experience Platform=7.0-fix_pack_98
Liferay Digital Experience Platform=7.0-fix_pack_99
Liferay Digital Experience Platform=7.1
Liferay Digital Experience Platform=7.1-fix_pack_17
Liferay Digital Experience Platform=7.1-fix_pack_18
Liferay Digital Experience Platform=7.1-fix_pack_19
Liferay Digital Experience Platform=7.1-fix_pack_20
Liferay Digital Experience Platform=7.1-fix_pack_21
Liferay Digital Experience Platform=7.1-fix_pack_22
Liferay Digital Experience Platform=7.1-fix_pack_23
Liferay Digital Experience Platform=7.1-fix_pack_24
Liferay Digital Experience Platform=7.1-fix_pack_25
Liferay Digital Experience Platform=7.2
Liferay Digital Experience Platform=7.2-fix_pack_10
Liferay Digital Experience Platform=7.2-fix_pack_11
Liferay Digital Experience Platform=7.2-fix_pack_12
Liferay Digital Experience Platform=7.2-fix_pack_13
Liferay Digital Experience Platform=7.2-fix_pack_14
Liferay Digital Experience Platform=7.2-fix_pack_5
Liferay Digital Experience Platform=7.2-fix_pack_6
Liferay Digital Experience Platform=7.2-fix_pack_7
Liferay Digital Experience Platform=7.2-fix_pack_8
Liferay Digital Experience Platform=7.2-fix_pack_9
maven/com.liferay.portal:com.liferay.util.java<7.9.0
7.9.0
maven/com.liferay.portal:release.dxp.bom>=7.2.10.fp5<7.2.10.fp14
7.2.10.fp14
maven/com.liferay.portal:release.dxp.bom>=7.1.10.fp17<7.1.10.fp25
7.1.10.fp25
maven/com.liferay.portal:release.dxp.bom>=7.0.10.fp91<7.0.10.fp101
7.0.10.fp101
maven/com.liferay.portal:release.portal.bom>=7.3.1-ga2<7.4.3.4-ga4
7.4.3.4-ga4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/com.liferay.portal:com.liferay.util.java to a version that resolves this vulnerability.

    Fixed in 7.9.0
  2. Upgrade

    Upgrade maven/com.liferay.portal:release.dxp.bom to a version that resolves this vulnerability.

    Fixed in 7.2.10.fp14
  3. Upgrade

    Upgrade maven/com.liferay.portal:release.dxp.bom to a version that resolves this vulnerability.

    Fixed in 7.1.10.fp25
  4. Upgrade

    Upgrade maven/com.liferay.portal:release.dxp.bom to a version that resolves this vulnerability.

    Fixed in 7.0.10.fp101
  5. Upgrade

    Upgrade maven/com.liferay.portal:release.portal.bom to a version that resolves this vulnerability.

    Fixed in 7.4.3.4-ga4
  6. Upgrade

    Upgrade Liferay Portal to a version that resolves this vulnerability.

    Fixed in 7.3.1

Event History

Sep 22, 2022
CVE Published
via MITRE·12:02 AM
Data Sourced
via MITRE·12:02 AM
Description
Data Sourced
via NVD·01:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Sep 23, 2022
Advisory Published
via GitHub·12:00 AM
Data Sourced
via GitHub·12:00 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the vulnerability ID of this issue?

The vulnerability ID is CVE-2022-28977.

2

What is the severity level of CVE-2022-28977?

CVE-2022-28977 has a severity level of 6.1 (medium).

3

Which software versions are affected by CVE-2022-28977?

CVE-2022-28977 affects Liferay Portal versions 7.3.1 through 7.4.2 and Liferay DXP versions 7.0 fix pack 91 through 101, 7.1 fix pack 17 through 25, 7.2 fix pack 5 through 14, and 7.3 before service pack 3.

4

How can the vulnerability be exploited?

The vulnerability can be exploited by using multiple forward slashes to bypass HtmlUtil.escapeRedirect in Liferay Portal and Liferay DXP, which allows remote attackers to redirect users to malicious websites.

5

Where can I find more information about CVE-2022-28977?

More information about CVE-2022-28977 can be found at the official Liferay website and the Liferay Developer Portal.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203