CVE-2022-34916CWE-20

Improper Input Validation (JNDI Injection) in JMSMessageConsumer

published August 21, 2022

CVSS
—
EPSS
3%
Percentile
87.0
In the wild
Unconfirmed
What it is

🚨 An attacker with control over the target LDAP server can exploit Apache Flume's configuration, unleashing remote code execution without breaking a sweat! 🔥 Think of it like a restaurant where the chef trusts any ingredient brought in without questioning its source. If an outsider has access, they could easily slip in something harmful disguised as a tasty dish! The potential consequences here are absolutely devastating! An attacker could execute arbitrary code on the server, which means they could manipulate data, steal sensitive information, or even take down your entire system, all while you thought everything was running smoothly.

Put simply

Think of it like a restaurant where the chef trusts any ingredient brought in without questioning its source. If an outsider has access, they could easily slip in something harmful disguised as a tasty dish! This vulnerability arises when a JMS Source configuration utilizes a JNDI LDAP data source URI, allowing attackers to leverage their control over the LDAP server for executing arbitrary code.

What to do

The potential consequences here are absolutely devastating! An attacker could execute arbitrary code on the server, which means they could manipulate data, steal sensitive information, or even take down your entire system, all while you thought everything was running smoothly. To mitigate this risk, upgrade Apache Flume to version 1.11.0 or later, which restricts JNDI to only allow the use of the 'java' protocol or none at all. Additionally, review your configurations to ensure they don’t inadvertently allow risky protocols. You've got this! Follow these steps, and you’ll be safeguarding your system in no time! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.02942 · 87.0th percentile
Weakness
CWE-20 · Improper Input Validation
Published
2022-08-21T08:15Z
EPSS history
Timeline
  • 21 AUG 08:15Z
    Improper Input Validation (JNDI Injection) in JMSMessageConsumer
    cvelistv5