CVE-2023-35088 Apache InLong: SQL injection in audit endpoint

Critical 9.8 Published Updated

Attackers can execute arbitrary SQL commands via the audit endpoint in Apache InLong, potentially reading or modifying data.

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-35088?

CVE-2023-35088 is a critical SQL injection vulnerability in Apache InLong, published on 25 Jul 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.7.0.  In the toAuditCkSql method, the groupId, streamId, auditId, and dt are directly concatenated into the SQL query statement, which may lead to SQL injection attacks. Users are advised to upgrade to Apache InLong's 1.8.0 or cherry-pick [1] to solve it.

[1] https://github.com/apache/inlong/pull/8198

Weakness: CWE-89

Which versions are affected by CVE-2023-35088?

2 open source packages ship an affected version, including org.apache.inlong:manager-service. It affects 1 product.

PackageAffectedFixed in
org.apache.inlong:manager-service MavenFrom 1.4.01.8.0
org.apache.inlong:manager-service MavenFrom 1.4.01.8.0

Products include Apache Inlong.

How do I fix CVE-2023-35088?

Upgrade org.apache.inlong:manager-service to 1.8.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-35088 being exploited?

There is no known exploitation of CVE-2023-35088 in the wild and no public exploit code.

Sources

Also known as GHSA-r5pv-7g89-cxmc.

Is CVE-2023-35088 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free