SQL Injection Affecting com.liferay:com.liferay.portal.dao.db package, versions [,5.0.13)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.14% (52nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-COMLIFERAY-5664723
  • published2 Jun 2023
  • disclosed24 May 2023
  • creditUnknown

Introduced: 24 May 2023

CVE-2023-33945  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade com.liferay:com.liferay.portal.dao.db to version 5.0.13 or higher.

Overview

Affected versions of this package are vulnerable to SQL Injection due to improper user-input sanitization. This allows attackers to execute arbitrary SQL commands via the name of a database table's primary key index.

Note:

This vulnerability is only exploitable when chained with other attacks. To exploit this vulnerability, the attacker must modify the database and wait for the application to be upgraded.

CVSS Scores

version 3.1