Apache Kafka Connect API: Possible RCE/Denial of service attack via SASL JAAS JndiLoginModule configuration using Kafka Connect
CVE-2023-25194
Key Information:
- Vendor
Apache
- Status
- Vendor
- CVE Published:
- 7 February 2023
Badges
Key facts
CVE-2023-25194 is a high severity (CVSS 8.8) vulnerability in Apache Kafka Connect API. It is known to be exploited in the wild. 3 public proof-of-concept exploits are available. Its EPSS score is 67.5%, the estimated probability of exploitation in the next 30 days. Fixed in Apache Kafka Connect API 3.4.0.
How risky is it?
- Partly: Works over the network, but needs a login
- Yes: Public exploit code (3 proof-of-concepts)
- Yes: Attacked in the wild
- No: Not on CISA's exploited list
Our verdict
Patch now
Attackers are using it. Patch or mitigate today.
What to do
1Update to a fixed version
2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach Apache Kafka Connect API. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Look for signs of compromise
It has been exploited in the wild, so check logs on exposed Apache Kafka Connect API systems for unusual requests or new processes from before you patched. The 3 public proof-of-concepts show what an attack looks like.
4Why it's rated "Patch now"
- It is being exploited in the wild.
- Exploit code is public, so attacks are easy to copy.
- EPSS gives it a 67.5% chance of exploitation in the next 30 days.
- Its CVSS severity is high (8.8).
What is CVE-2023-25194?
A security vulnerability exists in the Apache Kafka Connect API, allowing authenticated operators to manipulate connector configurations and introduce malicious JAAS settings. When exploiting this flaw, an attacker can connect to their own LDAP server through the Kafka Connect infrastructure, leading to potential remote code execution via deserialization. This vulnerability affects configurations starting from Apache Kafka Connect 2.3.0 and necessitates thorough validation of connector settings. Users are urged to utilize available security properties in newer versions and implement strict controls for connector configurations to mitigate associated risks.
Affected Version(s)
Apache Kafka Connect API 2.3.0 < 3.4.0
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
References
More Apache Vulnerabilities
Key Exchange Vulnerability in Apache Tomcat Products by Apache
Improper Exception Management in Apache Tomcat Affects Multiple Versions
Deserialization Vulnerability in Apache Roller Affects Multiple Versions
EPSS Score
67% chance of being exploited in the next 30 days.
CVSS V3.1
Timeline
- ๐ก
Public PoC available
- ๐พ
Exploit known to exist
Vulnerability published
Vulnerability Reserved
