Apache Cassandra vulnerable to Code Injection due to unsafe configuration
When running Apache Cassandra with the following configuration: enable_user_defined_functions: true enable_scripted_user_defined_functions: true enable_user_defined_functions_threads: false it is possible for an attacker to execute arbitrary code on the host. The attacker would need to have enough permissions to create user defined functions in the cluster to be able to exploit this. Note that this configuration is documented as unsafe, and will continue to be considered unsafe after this CVE.
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2021-44521US | critical9.1 | Exploit | ||
When running Apache Cassandra with the following configuration: enable_user_defined_functions: true enable_scripted_user_defined_functions: true enable_user_defined_functions_threa… | ||||
references
External citations — patches, advisories, analysis.
- http://www.openwall.com/lists/oss-security/2022/02/11/4WEB
- https://github.com/apache/cassandraPACKAGE
- https://issues.apache.org/jira/browse/CASSANDRA-17352WEB
- https://jfrog.com/blog/cve-2021-44521-exploiting-apache-cassandra-user-defined-functions-for-remote-code-executionWEB
- https://lists.apache.org/thread/y4nb9s4co34j8hdfmrshyl09lokm7356WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-44521ADVISORY
- https://security.netapp.com/advisory/ntap-20220225-0001WEB
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan