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 A
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.5.5, 5.3.1-redhat-2, 7.1.0, 6.6.2
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- 1 on Exploit-DB, 2 proofs of concept on GitHub, 1 Nuclei template
Summary
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.
Timeline
- CVE published
- Public exploit on Exploit-DB
EDB-43009
- Record last updated
- EPSS reached 10%
FIRST estimates at least a 10% chance of exploitation in the next 30 days
Affected versions
- n/a Apache Solr before 7.1 with Apache Lucene before 7.1
From lucene-solr · fixed in 5.5.5
- n/a Apache Solr before 7.1 with Apache Lucene before 7.1
From lucene-solr · fixed in 5.3.1-redhat-2
- org.apache.solr:solr-coreMaven
From 7.0.0 · fixed in 7.1.0
- org.apache.solr:solr-coreMaven
From 6.0.0 · fixed in 6.6.2
- org.apache.solr:solr-coreMaven
From 5.5.0 · fixed in 5.5.5
References 28
access.redhat.com
s.apache.org
securityfocus.com
lists.debian.org
Exploit-DB
mail-archives.us.apache.org
debian.org
usn.ubuntu.com
twitter.com
openwall.com
lists.apache.org
- thread.html/r95df34bb158375948da82b4dfe9a1b5d528572d586584162f8f5aeef@<users.solr.apache.org>
- thread.html/r140128dc6bb4f4e0b6a39e962c7ca25a8cbc8e48ed766176c931fccc@<users.solr.apache.org>
- thread.html/r3da74965aba2b5f5744b7289ad447306eeb2940c872801819faa9314@<users.solr.apache.org>
- thread.html/r26c996b068ef6c5e89aa59acb769025cfd343a08e63fbe9e7f3f720f@<oak-issues.jackrabbit.apache.org>