SQL Injection Affecting org.apache.cocoon:cocoon-databases-impl package, versions [2.2.0,2.3.0)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
1.12% (85th 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-ORGAPACHECOCOON-6095779
  • published30 Nov 2023
  • disclosed30 Nov 2023
  • creditUnknown

Introduced: 30 Nov 2023

CVE-2022-45135  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade org.apache.cocoon:cocoon-databases-impl to version 2.3.0 or higher.

Overview

Affected versions of this package are vulnerable to SQL Injection through the DatabaseCookieAuthenticatorAction component due to the improper neutralization of special elements in an SQL command. An attacker can manipulate SQL queries and potentially gain unauthorized access to data by injecting malicious SQL code. This is only exploitable if the application does not properly sanitize user-supplied input.

CVSS Scores

version 3.1