CVE-2014-3628: Apache Solr - Improper Neutralization of Input During Web Page Generation
Summary
CVE-2014-3628: Improper Neutralization of Input During Web Page Generation in Apache Solr. Affects org.apache.solr:solr versions >= 4.0.0, < 4.10.3. Fixed in 4.10.3. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Apache Solr is an open-source search platform built on Apache Lucene. It provides full-text search, hit highlighting, faceted search, real-time indexing, and more. Solr is widely used for building search applications and is written in Java. The vulnerability in question affects Solr versions 4.x before 4.10.3. Solr's Admin UI Plugin / Stats page is susceptible to a cross-site scripting (XSS) attack, allowing remote attackers to inject arbitrary web script or HTML through the fieldvaluecache object.
Vulnerability Detail
The vulnerability arises due to improper neutralization of input during web page generation in Apache Solr. By exploiting this vulnerability, an attacker can inject malicious scripts or HTML code into the Admin UI Plugin / Stats page. This can lead to various consequences, including the execution of arbitrary code in the context of the victim's browser, session hijacking, or the theft of sensitive information.
How To Fix
Minimum fixed version
4.10.3
This is the first release that contains the fix.
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
If upgrading to the latest version is not immediately feasible, a temporary workaround is to disable or restrict access to the Admin UI Plugin / Stats page. This can be achieved by modifying the Solr configuration to remove or restrict the plugin's functionality. Here's an example of how to disable the plugin in the solrconfig.xml file:
<requestHandler name="/admin/stats" class="solr.admin.AdminHandlers" />
By removing or commenting out this line, the vulnerable functionality will be disabled.
Conclusion
In conclusion, the CVE-2014-3628 vulnerability in Apache Solr exposes the Admin UI Plugin / Stats page to cross-site scripting attacks. Upgrading to version 4.10.3 or later is the recommended solution to mitigate this vulnerability. If immediate upgrade is not possible, disabling or restricting access to the vulnerable functionality can serve as a temporary workaround. For further assistance or support in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for org.apache.solr:solr →
FAQ
Apache Solr is an open-source search platform built on Apache Lucene. It provides full-text search, hit highlighting, faceted search, real-time indexing, and more.
The vulnerability allows remote attackers to inject arbitrary web script or HTML into the Admin UI Plugin / Stats page, potentially leading to the execution of malicious code, session hijacking, or data theft.
The vulnerability affects Apache Solr versions 4.x before 4.10.3.
To fix this vulnerability, it is recommended to upgrade to Apache Solr version 4.10.3 or later.
Yes, a temporary workaround is to disable or restrict access to the Admin UI Plugin / Stats page by modifying the Solr configuration.
Related vulnerabilities
Recent vulnerabilities recorded for org.apache.solr:solr.