Apache Solr Remote Code Execution Vulnerability (CNVD-2023-27598) Notice

Apache Solr Remote Code Execution Vulnerability (CNVD-2023-27598) Notice

abril 20, 2023 | NSFOCUS

Overview

Recently, NSFOCUS CERT found that the analysis article of Apache Solr remote code execution vulnerability was publicly disclosed on the Internet. When Solr is launched in cloud mode and can go offline, an unauthenticated remote attacker can execute arbitrary code on the target system by sending multiple specially crafted packets. Please take measures to protect the affected users as soon as possible.

Apache Solr is an open-source Enterprise search platform of the Apache Lucene project. It is developed by Java and runs on an independent full-text search server in a servlet container (such as Apache Tomcat or Jetty). Its main functions include full-text search, hit tagging, faceted search, dynamic clustering, database integration, and rich text processing.

Scope of Impact

Affected version

  • 8.10.0 <= Apache Solr < 9.2.0

Unaffected version

  • Apache Solr >= 9.2.0
  • Apache Solr < 8.10.0

Mitigation

Official upgrade

Currently, the official security version has been released to fix this vulnerability. It is recommended that affected users upgrade the version as soon as possible for protection:

https://github.com/apache/solr/releases/tag/releases%2Fsolr%2F9.2.0

Temporary mitigation

  1. Restrict access to untrusted IPs by setting a whitelist without affecting the business.
  2. Machines deployed in SolrCloud mode do not go out of the network. In SolrCloud mode, you need to upload ‘security. json’ to ZooKeeper.
  3. Add user identity verification when Solr starts.

Statement

This advisory is only used to describe a potential risk. NSFOCUS does not provide any commitment or promise on this advisory. NSFOCUS and the author will not bear any liability for any direct and/or indirect consequences and losses caused by transmitting and/or using this advisory. NSFOCUS reserves all the rights to modify and interpret this advisory. Please include this statement paragraph when reproducing or transferring this advisory. Do not modify this advisory, add/delete any information to/from it, or use this advisory for commercial purposes without permission from NSFOCUS.

About NSFOCUS

NSFOCUS, Inc., a global network and cyber security leader, protects enterprises and carriers from advanced cyber attacks. The company’s Intelligent Hybrid Security strategy utilizes both cloud and on-premises security platforms, built on a foundation of real-time global threat intelligence, to provide multi-layered, unified and dynamic protection against advanced cyber attacks.

NSFOCUS works with Fortune Global 500 companies, including four of the world’s five largest financial institutions, organizations in insurance, retail, healthcare, critical infrastructure industries as well as government agencies. NSFOCUS has technology and channel partners in more than 60 countries, is a member of both the Microsoft Active Protections Program (MAPP), and the Cloud Security Alliance (CSA).

A wholly owned subsidiary of NSFOCUS Technologies Group Co., Ltd., the company has operations in the Americas, Europe, the Middle East and Asia Pacific.