CVE-2022-42122

A SQL injection vulnerability in the Friendly Url module in Liferay Portal 7.3.7, and Liferay DXP 7.3 fix pack 2 through update 4 allows attackers to execute…

Critical · published November 15, 2022

CVSS v3.1
9.8
EPSS
1%
Percentile
55.5
In the wild
Unconfirmed
What it is

🚨 A crafted SQL command can slip right through the Friendly Url module in Liferay Portal 7.3.7—think of a trustworthy concierge handing out keys to anyone with a fancy enough request! 🔥 Imagine a restaurant where a customer can simply write anything on the reservation card—if the waiter doesn’t check, someone could sneak in a free meal for everyone! This SQL injection vulnerability lets attackers execute any command they choose through the `title` field of a friendly URL. The consequences here are absolutely devastating! An attacker could manipulate the database directly, opening the door to data leaks or even full control of the system. With a SQL command executed, sensitive data could be exposed, modified, or deleted in an instant, which could wreak havoc on your application and its users.

Put simply

Imagine a restaurant where a customer can simply write anything on the reservation card—if the waiter doesn’t check, someone could sneak in a free meal for everyone! This SQL injection vulnerability lets attackers execute any command they choose through the `title` field of a friendly URL. This SQL injection vulnerability allows attackers to inject malicious SQL commands into the `title` field of the Friendly Url module in Liferay Portal, bypassing security measures and executing unauthorized database operations.

What to do

The consequences here are absolutely devastating! An attacker could manipulate the database directly, opening the door to data leaks or even full control of the system. With a SQL command executed, sensitive data could be exposed, modified, or deleted in an instant, which could wreak havoc on your application and its users. Immediate action is critical! Upgrade to Liferay Portal 7.3.8 or DXP 7.3 fix pack 5 or newer to patch this vulnerability. Additionally, review and sanitize input fields to prevent similar exploits in the future. You've got this! By following these steps, you'll protect your system and keep those pesky attackers at bay! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00783 · 55.5th percentile
Published
2022-11-15T00:00Z
EPSS history
Timeline
  • 15 NOV 00:00Z
    A SQL injection vulnerability in the Friendly Url module in Liferay Portal 7.3.7, and Liferay DXP 7.3 fix pack 2 through update 4 allows attackers to execute…
    cvelistv5