CVE-2017-12629
CVE-2017-12629
Vexday Risk Score
60Attention
SSVC decision (CISA)
Attend
PoC available → attend closely
Exploit maturity
Functional exploit
Automatable exploit available (Nuclei/Metasploit).
CVSS —EPSS 91.9%KEV nãoPoC públicaNuclei simMetasploit —Patch referenciado
Lifecycle
14 Oct 2017Published on NVD
17 Oct 2017Public PoC
Weaponization speed
2 daysto first PoC
Weaponized quickly — attackers prioritized this vulnerability. Patch urgently.
Recommendation: Plan a near-term fix — a public PoC already exists.
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.
Affected products
n/a · Apache Solr before 7.1 with Apache Lucene before 7.1public PoCs found — 3
githubgithub.com/captain-woof/cve-2017-12629★ 0cve_referencewww.exploit-db.com/exploits/43009/unverifiedexploitdbwww.exploit-db.com/exploits/43009unverified⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.
References
http://mail-archives.us.apache.org/mod_mbox/www-announce/201710.mbox/%3CCAOOKt51UO_6Vy%3Dj8W%3Dx1pMbLW9VJfZyFWz7pAnXJC_OAdSZubA%40mail.gmail.com%3Ehttp://openwall.com/lists/oss-security/2017/10/13/1https://access.redhat.com/errata/RHSA-2017:3123https://access.redhat.com/errata/RHSA-2017:3124https://access.redhat.com/errata/RHSA-2017:3244https://access.redhat.com/errata/RHSA-2017:3451https://access.redhat.com/errata/RHSA-2017:3452https://access.redhat.com/errata/RHSA-2018:0002https://access.redhat.com/errata/RHSA-2018:0003https://access.redhat.com/errata/RHSA-2018:0004https://access.redhat.com/errata/RHSA-2018:0005https://lists.apache.org/thread.html/r140128dc6bb4f4e0b6a39e962c7ca25a8cbc8e48ed766176c931fccc%40%3Cusers.solr.apache.org%3E