CVE-2023-52290 Apache StreamPark (incubating): Unchecked SQL query fields trigger SQL injection vulnerability
Authenticated attackers can exploit unvalidated sort fields in Apache StreamPark to perform SQL injection and leak data.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-52290?
CVE-2023-52290 is a high-severity SQL injection vulnerability in Apache StreamPark (incubating), published on 16 Jul 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
In streampark-console the list pages(e.g: application pages), users can sort page by field. This sort field is sent from the front-end to the back-end, and the SQL query is generated using this field. However, because this sort field isn't validated, there is a risk of SQL injection vulnerability. The attacker must successfully log into the system to launch an attack, which may cause data leakage. Since no data will be written, so this is a low-impact vulnerability.
Mitigation:
all users should upgrade to 2.1.4, Such parameters will be blocked.
Weakness: CWE-89
Which versions are affected by CVE-2023-52290?
It affects 1 product.
Products include Apache Streampark.
How do I fix CVE-2023-52290?
No fix has been published for CVE-2023-52290 yet. Limit exposure of the affected software until one is available.
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-52290 being exploited?
There is no known exploitation of CVE-2023-52290 in the wild and no public exploit code.
Other vulnerabilities in Apache StreamPark (incubating)
- CVE-2022-45802 Apache StreamPark (incubating): Upload any file to any directory
- CVE-2024-29070 Apache StreamPark: session not invalidated after logout
- CVE-2022-46365 Apache StreamPark (incubating): Logic error causing any account reset
- CVE-2024-29178 Apache StreamPark: FreeMarker SSTI RCE Vulnerability
- CVE-2023-52291 Apache StreamPark (incubating): Unchecked maven build params could trigger remote command execution
Sources
Also known as GHSA-jx5v-m5q5-f9w9.