Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any plan to add compatibility to 7.2? #1581

Closed
jpatel3 opened this issue Dec 31, 2017 · 4 comments
Closed

Any plan to add compatibility to 7.2? #1581

jpatel3 opened this issue Dec 31, 2017 · 4 comments
Labels

Comments

@jpatel3
Copy link
Contributor

jpatel3 commented Dec 31, 2017

(It's not an issue with django-haystack)

https://www.cvedetails.com/cve/CVE-2017-12629/
Remote code execution occurs in Apache Solr before 7.1 with Apache Lucene before 7.1 by exploiting XXE in conjunction with use of a Config API add-listener command to reach the RunExecutableListener class. Elasticsearch, although it uses Lucene, is NOT vulnerable to this. Note that the XML external entity expansion vulnerability occurs in the XML Query Parser which is available, by default, for any query request with parameters deftype=xmlparser and can be exploited to upload malicious data to the /upload request handler or as Blind XXE using ftp wrapper in order to read arbitrary local files from the Solr server. Note also that the second vulnerability relates to remote code execution using the RunExecutableListener available on all affected versions of Solr.

It affects Solr version - 5.5 to 7.0.1
Solr contributor suggests, that adding -Ddisable.configEdit=true while restarting to solve it temporarily, until the proper fix is available, but upgrading to 7.2 should also help in avoiding this critical vulnerability.

Configuration

  • Operating system version: CentOS
  • Search engine version: Solr 6.5.1
  • Python version: 2.7
  • Django version: 1.9.9
  • Haystack version: 2.5.0
@acdha
Copy link
Contributor

acdha commented Jan 2, 2018

Have you tried using Haystack with 7.2? If they didn't have a backwards-incompatible change with the query or update handlers it should work — the Solr team is usually quite conscientious about that.

@acdha acdha added the question label Feb 8, 2018
@ppmdo
Copy link

ppmdo commented Apr 10, 2018

@acdha Did 7.2 work?

@jpatel3
Copy link
Contributor Author

jpatel3 commented Apr 10, 2018

Haven't tried yet? But I'll have some time this week. I can update here by Friday on it, once I test it.

@ppmdo
Copy link

ppmdo commented Apr 11, 2018

Just tested Solr 7.3.0. I can confirm it works.

@acdha acdha closed this as completed Apr 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants