Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.


09:00 AM
Larry Loeb
Larry Loeb
Larry Loeb

Solr Search Tool Can Allow Remote Code Execution (RCE) by Default

A security vulnerability affecting the Linux enterprise search tool Apache Solr has been reclassified by Tenable as 'high severity status.'

A security vulnerability affecting the Linux enterprise search tool Apache Solr has been reclassified by Tenableas "high severity status." It seems that the default configuration of Solr on Solr 8.1.1 and 8.2.0 for Linux (but not for Windows) allows a remote code execution (RCE).

The NoSQL tool has been maintained since 2006 by open-source organization Apache Software Foundation, news organization CNET having donated it after building on Apache's Lucene. The ASF team has issued an advisory about the situation.

The team describes the vuln as, "If you use the default solr.in.sh file from the affected releases, then JMX monitoring will be enabled and exposed on RMI_PORT (default=18983), without any authentication. If this port is opened for inbound traffic in your firewall, then anyone with network access to your Solr nodes will be able to access JMX, which may in turn allow them to upload malicious code for execution on the Solr server."

The vuln has become recognized as more serious than initially thought when reports of it emerged this past July. It was then thought that it would only allow cybercriminals or other third parties to access monitoring data. However, a full-blown hole was found to exist on port 8983 that would allow RCE to happen.

A revised proof-of-concept has been put up on GitHub showing how such an attack could proceed.

Mitigation for this situation is fairly simple, but may be a bit complicated to implement. The team advises that users should make sure that the effective solr.in.sh file has ENABLE_REMOTE_JMX_OPTS set to "false" on every Solr node and then restart Solr. The effective solr.in.sh file may reside in /etc/defaults/ or another location depending on the install. As a check, validate that the "com.sun.management.jmxremote" family of properties are not listed in the "Java Properties" section of the Solr Admin UI, or configured in a secure way.

Though the team recommends upgrading to version 8.3 because of all the feature modifications they have done, Tenable thinks that 8.3 will still allow the vuln to be active if it is default configured.

Tenable points out that adding authentication to an instance may help. They also note that "unless the Config API is locked down, an attacker could modify the solrconfig.xml file."

— Larry Loeb has written for many of the last century's major "dead tree" computer magazines, having been, among other things, a consulting editor for BYTE magazine and senior editor for the launch of WebWeek.

Comment  | 
Print  | 
More Insights
Newest First  |  Oldest First  |  Threaded View
US Formally Attributes SolarWinds Attack to Russian Intelligence Agency
Jai Vijayan, Contributing Writer,  4/15/2021
Dependency Problems Increase for Open Source Components
Robert Lemos, Contributing Writer,  4/14/2021
FBI Operation Remotely Removes Web Shells From Exchange Servers
Kelly Sheridan, Staff Editor, Dark Reading,  4/14/2021
Register for Dark Reading Newsletters
White Papers
Current Issue
2021 Top Enterprise IT Trends
We've identified the key trends that are poised to impact the IT landscape in 2021. Find out why they're important and how they will affect you today!
Flash Poll
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
PUBLISHED: 2021-04-21
The ABUS Secvest wireless alarm system FUAA50000 (v3.01.17) fails to properly authenticate some requests to its built-in HTTPS interface. Someone can use this vulnerability to obtain sensitive information from the system, such as usernames and passwords. This information can then be used to reconfig...
PUBLISHED: 2021-04-21
Authelia is an open-source authentication and authorization server providing 2-factor authentication and single sign-on (SSO) for your applications via a web portal. In versions 4.27.4 and earlier, utilizing a HTTP query parameter an attacker is able to redirect users from the web application to any...
PUBLISHED: 2021-04-21
The Debian xscreensaver 5.42+dfsg1-1 package for XScreenSaver has cap_net_raw enabled for the /usr/libexec/xscreensaver/sonar file, which allows local users to gain privileges because this is arguably incompatible with the design of the Mesa 3D Graphics library dependency.
PUBLISHED: 2021-04-21
An issue was discovered in retdec v3.3. In function canSplitFunctionOn() of ir_modifications.cpp, there is a possible out of bounds read due to a heap buffer overflow. The impact is: Deny of Service, Memory Disclosure, and Possible Code Execution.
PUBLISHED: 2021-04-21
An issue was discovered in Bento4 through v1.6.0-637. A NULL pointer dereference exists in the function AP4_StszAtom::GetSampleSize() located in Ap4StszAtom.cpp. It allows an attacker to cause Denial of Service.