Skip to content

Access Control: Apache Solr 7+ - Remote Code Execution (Apache Log4j)

Identifier: apache_solr_log4j_rce

Scanner(s) Support

GraphQL Scanner REST Scanner WebApp Scanner

Description

Apache Log4j2 \<=2.14.1 JNDI features used in configuration, log messages, and parameters do not protect against attacker controlled LDAP and other JNDI related endpoints. This vulnerability affects Solr 7+.

Reference:

Configuration

Example

Example configuration:

---
security_tests:
  apache_solr_log4j_rce:
    assets_allowed:
    - REST
    - GRAPHQL
    - WEBAPP
    skip: false

Reference

assets_allowed

Type : List[AssetType]*

List of assets that this check will cover.

skip

Type : boolean

Skip the test if true.