8.8
CWE
89
Advisory Published
Updated

CVE-2022-42121: SQL Injection

First published: Tue Nov 15 2022(Updated: )

A SQL injection vulnerability in the Layout module in Liferay Portal 7.1.3 through 7.4.3.4, and Liferay DXP 7.1 before fix pack 27, 7.2 before fix pack 17, 7.3 before service pack 3, and 7.4 GA allows remote authenticated attackers to execute arbitrary SQL commands via a crafted payload injected into a page template's 'Name' field.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Liferay Liferay Portal>=7.1.3<=7.4.3.4
Liferay DXP=7.1
Liferay DXP=7.1-fix_pack_1
Liferay DXP=7.1-fix_pack_10
Liferay DXP=7.1-fix_pack_11
Liferay DXP=7.1-fix_pack_12
Liferay DXP=7.1-fix_pack_13
Liferay DXP=7.1-fix_pack_14
Liferay DXP=7.1-fix_pack_15
Liferay DXP=7.1-fix_pack_16
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_2
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.1-fix_pack_3
Liferay DXP=7.1-fix_pack_4
Liferay DXP=7.1-fix_pack_5
Liferay DXP=7.1-fix_pack_6
Liferay DXP=7.1-fix_pack_7
Liferay DXP=7.1-fix_pack_8
Liferay DXP=7.1-fix_pack_9
Liferay DXP=7.2
Liferay DXP=7.2-fix_pack_1
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_15
Liferay DXP=7.2-fix_pack_2
Liferay DXP=7.2-fix_pack_3
Liferay DXP=7.2-fix_pack_4
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 DXP=7.4-ga1
Liferay Liferay Portal>=7.1.0<=7.4.2

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2022-42121?

    CVE-2022-42121 is a SQL injection vulnerability in the Layout module in Liferay Portal and Liferay DXP that allows remote authenticated attackers to execute arbitrary SQL commands.

  • Which software versions are affected by CVE-2022-42121?

    Liferay Portal versions 7.1.3 through 7.4.3.4 and Liferay DXP versions 7.1 before fix pack 27, 7.2 before fix pack 17, 7.3 before service pack 3, and 7.4 GA are affected by CVE-2022-42121.

  • What is the severity score of CVE-2022-42121?

    CVE-2022-42121 has a severity score of 8.8, which is considered high.

  • How can I fix CVE-2022-42121?

    To fix CVE-2022-42121, upgrade to a patched version of Liferay Portal (7.4.3.4 or higher) or Liferay DXP (7.1 fix pack 27 or higher, 7.2 fix pack 17 or higher, 7.3 service pack 3 or higher, or 7.4 GA1 or higher).

  • Where can I find more information about CVE-2022-42121?

    More information about CVE-2022-42121 can be found on the Liferay website, the Liferay official issue tracker, 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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203