SQL Injection Affecting org.apache.submarine:submarine-server-core package, versions [0,]


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.14% (37th 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-ORGAPACHESUBMARINE-7251658
  • published13 Jun 2024
  • disclosed12 Jun 2024
  • creditBaoChengZhang, L0ne1y

Introduced: 12 Jun 2024

CVE-2024-36263  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

Affected versions of this package are vulnerable to SQL Injection over the duplicateCheck endpoint. A user can cause unintended SQL queries to be executed on the underlying database.

Note: A fixed release is not expected as this package is no longer maintained, but a patch disabling the setupRestApiContextHandler() and setupNotebookServer() methods in SubmarineServer.java has been added to the repository.

PoC

GET /api/sys/duplicateCheck?tableName=sys_user&fieldName=1+*+and+user_name&fieldVal=admin HTTP/1.1

CVSS Base Scores

version 3.1