CVE-2023-30465 Apache InLong: SQL injection in apache inLong 1.5.0
An attacker can exploit SQL injection in Apache InLong to extract user credentials from the database by manipulating the orderType parameter.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-30465?
CVE-2023-30465 is a medium-severity SQL injection vulnerability in Apache InLong, published on 11 Apr 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Apache Software Foundation Apache InLong.This issue affects Apache InLong: from 1.4.0 through 1.5.0. By manipulating the "orderType" parameter and the ordering of the returned content using an SQL injection attack, an attacker can extract the username of the user with ID 1 from the "user" table, one character at a time. Users are advised to upgrade to Apache InLong's 1.6.0 or cherry-pick [1] to solve it. https://programmer.help/blogs/jdbc-deserialization-vulnerability-learning.html
[1] https://github.com/apache/inlong/issues/7529 https://github.com/apache/inlong/issues/7529
Weakness: CWE-89
Which versions are affected by CVE-2023-30465?
4 open source packages ship an affected version, including org.apache.inlong:manager-pojo and org.apache.inlong:manager-service. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.inlong:manager-pojo Maven | From 1.4.0 | 1.6.0 |
org.apache.inlong:manager-pojo Maven | From 1.4.0 | 1.6.0 |
org.apache.inlong:manager-service Maven | From 1.4.0 | 1.6.0 |
org.apache.inlong:manager-service Maven | From 1.4.0 | 1.6.0 |
Products include Apache Inlong.
How do I fix CVE-2023-30465?
Upgrade org.apache.inlong:manager-pojo to 1.6.0 or later.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2023-30465 being exploited?
There is no known exploitation of CVE-2023-30465 in the wild and no public exploit code.
Other vulnerabilities in Apache InLong
- CVE-2026-63037 Apache InLong: Unauthenticated SQL injection in Manager OpenAPI audit alert rule list endpoint
- CVE-2026-63038 Apache InLong: SQL Injection via String Concatenation Vulnerability Report
- CVE-2026-63039 Apache InLong: SQL Injection via Unvalidated MyBatis Dollar-Sign Interpolation in AuditAlertRuleService
- CVE-2025-27531 Apache InLong: An arbitrary file read vulnerability for JDBC
- CVE-2024-26579 Apache Inlong JDBC Vulnerability
Sources
Also known as GHSA-cqr6-3x3f-9wr3.