CVE-2017-12629
Apache Solr Lucene XXE RCE
Description
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.
INFO
Published Date :
Oct. 14, 2017, 11:29 p.m.
Last Modified :
Nov. 7, 2023, 2:38 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2017-12629 has a 38 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
Affected Products
The following products are affected by CVE-2017-12629
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2017-12629
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
这是一个每天同步Vulnerability-Wiki中docs-base中内容的项目
HTML
Small & Fast Vulnerability Scanner Engine based on XRAY YAML Rule | 基于 XRAY YAML 规则的超轻量快速漏洞扫描引擎 | 可执行文件体积仅 2 MB
poc security vulnerability vulnerability-detection vulnerability-scanner web-security web-vulnerability-scanner
Batchfile Go ANTLR
None
CSS HTML JavaScript
None
None
Go Shell Dockerfile Makefile
Apache Solr Poc CVE-2017-3164 CVE-2017-12629
HTML
poc集合(持续更新ing)
一款简单的Web漏洞扫描器(学习专用)
Dockerfile Python HTML
A Common Vulnerability PoC Knowledge Base一个普遍漏洞POC知识库
vulnerability
本软件首先集成危害性较大框架和部分主流cms的rce(无需登录,或者登录绕过执行rce)和反序列化(利用链简单)。傻瓜式导入url即可实现批量getshell。批量自动化测试。例如:Thinkphp,Struts2,weblogic。出现的最新漏洞进行实时跟踪并且更新例如:log4jRCE,向日葵 禅道RCE 瑞友天翼应用虚拟化系统sql注入导致RCE大华智慧园区上传,金蝶云星空漏洞等等.
cve-2021-41773 cve-2021-43798 cve-2021-45232 cve-2022-1388 cve-2022-22947 cve-2022-22954 cve-2022-22963 cve-2022-22965 cve-2022-23131 cve-2022-29464 cve-2022-30525 qvd-2023-6271 cve-2023-28432 qvd-2023-8621 cve-2023-34960 cve-2023-27372 cve-2024-25600 qvd-2024-11354 cve-2024-5084 cve-2024-36401
C++ C#
None
Python
None
HTML
热门框架/组件/服务漏洞的描述/利用/修复
None
C++ C#
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2017-12629
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2017-12629
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Nov. 07, 2023
Action Type Old Value New Value Added Reference Apache Software Foundation https://lists.apache.org/thread.html/r95df34bb158375948da82b4dfe9a1b5d528572d586584162f8f5aeef%40%3Cusers.solr.apache.org%3E [No types assigned] Added Reference Apache Software Foundation https://lists.apache.org/thread.html/r140128dc6bb4f4e0b6a39e962c7ca25a8cbc8e48ed766176c931fccc%40%3Cusers.solr.apache.org%3E [No types assigned] Added Reference Apache Software Foundation https://lists.apache.org/thread.html/r3da74965aba2b5f5744b7289ad447306eeb2940c872801819faa9314%40%3Cusers.solr.apache.org%3E [No types assigned] Added Reference Apache Software Foundation https://lists.apache.org/thread.html/r26c996b068ef6c5e89aa59acb769025cfd343a08e63fbe9e7f3f720f%40%3Coak-issues.jackrabbit.apache.org%3E [No types assigned] Removed Reference Apache Software Foundation https://lists.apache.org/thread.html/r95df34bb158375948da82b4dfe9a1b5d528572d586584162f8f5aeef@%3Cusers.solr.apache.org%3E Removed Reference Apache Software Foundation https://lists.apache.org/thread.html/r140128dc6bb4f4e0b6a39e962c7ca25a8cbc8e48ed766176c931fccc@%3Cusers.solr.apache.org%3E Removed Reference Apache Software Foundation https://lists.apache.org/thread.html/r3da74965aba2b5f5744b7289ad447306eeb2940c872801819faa9314@%3Cusers.solr.apache.org%3E Removed Reference Apache Software Foundation https://lists.apache.org/thread.html/r26c996b068ef6c5e89aa59acb769025cfd343a08e63fbe9e7f3f720f@%3Coak-issues.jackrabbit.apache.org%3E -
Modified Analysis by [email protected]
Apr. 19, 2022
Action Type Old Value New Value Changed Reference Type https://lists.apache.org/thread.html/r140128dc6bb4f4e0b6a39e962c7ca25a8cbc8e48ed766176c931fccc@%3Cusers.solr.apache.org%3E No Types Assigned https://lists.apache.org/thread.html/r140128dc6bb4f4e0b6a39e962c7ca25a8cbc8e48ed766176c931fccc@%3Cusers.solr.apache.org%3E Mailing List, Vendor Advisory Changed Reference Type https://lists.apache.org/thread.html/r26c996b068ef6c5e89aa59acb769025cfd343a08e63fbe9e7f3f720f@%3Coak-issues.jackrabbit.apache.org%3E No Types Assigned https://lists.apache.org/thread.html/r26c996b068ef6c5e89aa59acb769025cfd343a08e63fbe9e7f3f720f@%3Coak-issues.jackrabbit.apache.org%3E Mailing List, Vendor Advisory Changed Reference Type https://lists.apache.org/thread.html/r3da74965aba2b5f5744b7289ad447306eeb2940c872801819faa9314@%3Cusers.solr.apache.org%3E No Types Assigned https://lists.apache.org/thread.html/r3da74965aba2b5f5744b7289ad447306eeb2940c872801819faa9314@%3Cusers.solr.apache.org%3E Mailing List, Vendor Advisory Changed Reference Type https://lists.apache.org/thread.html/r95df34bb158375948da82b4dfe9a1b5d528572d586584162f8f5aeef@%3Cusers.solr.apache.org%3E No Types Assigned https://lists.apache.org/thread.html/r95df34bb158375948da82b4dfe9a1b5d528572d586584162f8f5aeef@%3Cusers.solr.apache.org%3E Mailing List, Vendor Advisory -
CVE Modified by [email protected]
Aug. 17, 2021
Action Type Old Value New Value Added Reference https://lists.apache.org/thread.html/r26c996b068ef6c5e89aa59acb769025cfd343a08e63fbe9e7f3f720f@%3Coak-issues.jackrabbit.apache.org%3E [No Types Assigned] -
CVE Modified by [email protected]
Jul. 30, 2021
Action Type Old Value New Value Added Reference https://lists.apache.org/thread.html/r3da74965aba2b5f5744b7289ad447306eeb2940c872801819faa9314@%3Cusers.solr.apache.org%3E [No Types Assigned] -
CVE Modified by [email protected]
Jun. 18, 2021
Action Type Old Value New Value Added Reference https://lists.apache.org/thread.html/r140128dc6bb4f4e0b6a39e962c7ca25a8cbc8e48ed766176c931fccc@%3Cusers.solr.apache.org%3E [No Types Assigned] -
CVE Modified by [email protected]
Jun. 18, 2021
Action Type Old Value New Value Added Reference https://lists.apache.org/thread.html/r95df34bb158375948da82b4dfe9a1b5d528572d586584162f8f5aeef@%3Cusers.solr.apache.org%3E [No Types Assigned] -
Modified Analysis by [email protected]
Jan. 27, 2021
Action Type Old Value New Value Removed CVSS V3 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type http://mail-archives.us.apache.org/mod_mbox/www-announce/201710.mbox/%3CCAOOKt51UO_6Vy%3Dj8W%3Dx1pMbLW9VJfZyFWz7pAnXJC_OAdSZubA%40mail.gmail.com%3E Exploit, Mailing List, Vendor Advisory http://mail-archives.us.apache.org/mod_mbox/www-announce/201710.mbox/%3CCAOOKt51UO_6Vy%3Dj8W%3Dx1pMbLW9VJfZyFWz7pAnXJC_OAdSZubA%40mail.gmail.com%3E Mailing List, Vendor Advisory Changed Reference Type https://access.redhat.com/errata/RHSA-2017:3123 No Types Assigned https://access.redhat.com/errata/RHSA-2017:3123 Third Party Advisory Changed Reference Type https://access.redhat.com/errata/RHSA-2017:3124 No Types Assigned https://access.redhat.com/errata/RHSA-2017:3124 Third Party Advisory Changed Reference Type https://access.redhat.com/errata/RHSA-2017:3244 No Types Assigned https://access.redhat.com/errata/RHSA-2017:3244 Third Party Advisory Changed Reference Type https://access.redhat.com/errata/RHSA-2017:3451 No Types Assigned https://access.redhat.com/errata/RHSA-2017:3451 Third Party Advisory Changed Reference Type https://access.redhat.com/errata/RHSA-2017:3452 No Types Assigned https://access.redhat.com/errata/RHSA-2017:3452 Third Party Advisory Changed Reference Type https://access.redhat.com/errata/RHSA-2018:0002 No Types Assigned https://access.redhat.com/errata/RHSA-2018:0002 Third Party Advisory Changed Reference Type https://access.redhat.com/errata/RHSA-2018:0003 No Types Assigned https://access.redhat.com/errata/RHSA-2018:0003 Third Party Advisory Changed Reference Type https://access.redhat.com/errata/RHSA-2018:0004 No Types Assigned https://access.redhat.com/errata/RHSA-2018:0004 Third Party Advisory Changed Reference Type https://access.redhat.com/errata/RHSA-2018:0005 No Types Assigned https://access.redhat.com/errata/RHSA-2018:0005 Third Party Advisory Changed Reference Type https://lists.debian.org/debian-lts-announce/2018/01/msg00028.html No Types Assigned https://lists.debian.org/debian-lts-announce/2018/01/msg00028.html Mailing List, Third Party Advisory Changed Reference Type https://usn.ubuntu.com/4259-1/ No Types Assigned https://usn.ubuntu.com/4259-1/ Third Party Advisory Changed Reference Type https://www.debian.org/security/2018/dsa-4124 No Types Assigned https://www.debian.org/security/2018/dsa-4124 Third Party Advisory Changed CPE Configuration AND OR *cpe:2.3:a:apache:solr:5.5.0:*:*:*:*:*:*:* *cpe:2.3:a:apache:solr:5.5.1:*:*:*:*:*:*:* *cpe:2.3:a:apache:solr:5.5.2:*:*:*:*:*:*:* *cpe:2.3:a:apache:solr:5.5.3:*:*:*:*:*:*:* *cpe:2.3:a:apache:solr:5.5.4:*:*:*:*:*:*:* *cpe:2.3:a:apache:solr:6.0.0:*:*:*:*:*:*:* *cpe:2.3:a:apache:solr:6.0.1:*:*:*:*:*:*:* *cpe:2.3:a:apache:solr:6.1.0:*:*:*:*:*:*:* *cpe:2.3:a:apache:solr:6.2.0:*:*:*:*:*:*:* *cpe:2.3:a:apache:solr:6.2.1:*:*:*:*:*:*:* *cpe:2.3:a:apache:solr:6.3.0:*:*:*:*:*:*:* *cpe:2.3:a:apache:solr:6.4.0:*:*:*:*:*:*:* *cpe:2.3:a:apache:solr:6.4.1:*:*:*:*:*:*:* *cpe:2.3:a:apache:solr:6.4.2:*:*:*:*:*:*:* *cpe:2.3:a:apache:solr:6.5.0:*:*:*:*:*:*:* *cpe:2.3:a:apache:solr:6.5.1:*:*:*:*:*:*:* *cpe:2.3:a:apache:solr:6.6.0:*:*:*:*:*:*:* *cpe:2.3:a:apache:solr:6.6.1:*:*:*:*:*:*:* *cpe:2.3:a:apache:solr:7.0.0:*:*:*:*:*:*:* *cpe:2.3:a:apache:solr:7.0.1:*:*:*:*:*:*:* OR cpe:2.3:a:apache:lucene:*:*:*:*:*:*:*:* versions up to (including) 7.0.1 OR *cpe:2.3:a:apache:solr:*:*:*:*:*:*:*:* versions from (including) 5.5.0 up to (including) 5.5.4 *cpe:2.3:a:apache:solr:*:*:*:*:*:*:*:* versions from (including) 6.0.0 up to (including) 6.6.1 *cpe:2.3:a:apache:solr:*:*:*:*:*:*:*:* versions from (including) 7.0.0 up to (including) 7.0.1 Added CPE Configuration AND OR *cpe:2.3:a:redhat:jboss_enterprise_application_platform:7.0.0:*:*:*:*:*:*:* *cpe:2.3:a:redhat:jboss_enterprise_application_platform:7.1.0:*:*:*:*:*:*:* OR cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* -
CVE Modified by [email protected]
Jan. 31, 2020
Action Type Old Value New Value Added Reference https://usn.ubuntu.com/4259-1/ [No Types Assigned] -
CVE Modified by [email protected]
Mar. 01, 2018
Action Type Old Value New Value Added Reference https://www.debian.org/security/2018/dsa-4124 [No Types Assigned] -
CVE Modified by [email protected]
Feb. 04, 2018
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2018/01/msg00028.html [No Types Assigned] -
CVE Modified by [email protected]
Jan. 05, 2018
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2018:0005 [No Types Assigned] Added Reference https://access.redhat.com/errata/RHSA-2018:0004 [No Types Assigned] Added Reference https://access.redhat.com/errata/RHSA-2018:0003 [No Types Assigned] Added Reference https://access.redhat.com/errata/RHSA-2018:0002 [No Types Assigned] -
CVE Modified by [email protected]
Dec. 14, 2017
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2017:3452 [No Types Assigned] Added Reference https://access.redhat.com/errata/RHSA-2017:3451 [No Types Assigned] -
CVE Modified by [email protected]
Dec. 02, 2017
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2017:3244 [No Types Assigned] Added Reference https://access.redhat.com/errata/RHSA-2017:3124 [No Types Assigned] Added Reference https://access.redhat.com/errata/RHSA-2017:3123 [No Types Assigned] -
Initial Analysis by [email protected]
Nov. 07, 2017
Action Type Old Value New Value Added CVSS V2 (AV:N/AC:L/Au:N/C:P/I:P/A:P) Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type http://openwall.com/lists/oss-security/2017/10/13/1 No Types Assigned http://openwall.com/lists/oss-security/2017/10/13/1 Mailing List, Third Party Advisory Changed Reference Type https://twitter.com/ApacheSolr/status/918731485611401216 No Types Assigned https://twitter.com/ApacheSolr/status/918731485611401216 Third Party Advisory Changed Reference Type https://twitter.com/joshbressers/status/919258716297420802 No Types Assigned https://twitter.com/joshbressers/status/919258716297420802 Third Party Advisory Changed Reference Type https://s.apache.org/FJDl No Types Assigned https://s.apache.org/FJDl Exploit, Mailing List, Vendor Advisory Changed Reference Type http://mail-archives.us.apache.org/mod_mbox/www-announce/201710.mbox/%3CCAOOKt51UO_6Vy%3Dj8W%3Dx1pMbLW9VJfZyFWz7pAnXJC_OAdSZubA%40mail.gmail.com%3E No Types Assigned http://mail-archives.us.apache.org/mod_mbox/www-announce/201710.mbox/%3CCAOOKt51UO_6Vy%3Dj8W%3Dx1pMbLW9VJfZyFWz7pAnXJC_OAdSZubA%40mail.gmail.com%3E Exploit, Mailing List, Vendor Advisory Changed Reference Type https://www.exploit-db.com/exploits/43009/ No Types Assigned https://www.exploit-db.com/exploits/43009/ Exploit, Third Party Advisory, VDB Entry Changed Reference Type https://twitter.com/searchtools_avi/status/918904813613543424 No Types Assigned https://twitter.com/searchtools_avi/status/918904813613543424 Third Party Advisory Changed Reference Type http://www.securityfocus.com/bid/101261 No Types Assigned http://www.securityfocus.com/bid/101261 Third Party Advisory, VDB Entry Added CWE CWE-611 Added CPE Configuration AND OR *cpe:2.3:a:apache:solr:5.5.0:*:*:*:*:*:*:* *cpe:2.3:a:apache:solr:5.5.1:*:*:*:*:*:*:* *cpe:2.3:a:apache:solr:5.5.2:*:*:*:*:*:*:* *cpe:2.3:a:apache:solr:5.5.3:*:*:*:*:*:*:* *cpe:2.3:a:apache:solr:5.5.4:*:*:*:*:*:*:* *cpe:2.3:a:apache:solr:6.0.0:*:*:*:*:*:*:* *cpe:2.3:a:apache:solr:6.0.1:*:*:*:*:*:*:* *cpe:2.3:a:apache:solr:6.1.0:*:*:*:*:*:*:* *cpe:2.3:a:apache:solr:6.2.0:*:*:*:*:*:*:* *cpe:2.3:a:apache:solr:6.2.1:*:*:*:*:*:*:* *cpe:2.3:a:apache:solr:6.3.0:*:*:*:*:*:*:* *cpe:2.3:a:apache:solr:6.4.0:*:*:*:*:*:*:* *cpe:2.3:a:apache:solr:6.4.1:*:*:*:*:*:*:* *cpe:2.3:a:apache:solr:6.4.2:*:*:*:*:*:*:* *cpe:2.3:a:apache:solr:6.5.0:*:*:*:*:*:*:* *cpe:2.3:a:apache:solr:6.5.1:*:*:*:*:*:*:* *cpe:2.3:a:apache:solr:6.6.0:*:*:*:*:*:*:* *cpe:2.3:a:apache:solr:6.6.1:*:*:*:*:*:*:* *cpe:2.3:a:apache:solr:7.0.0:*:*:*:*:*:*:* *cpe:2.3:a:apache:solr:7.0.1:*:*:*:*:*:*:* OR cpe:2.3:a:apache:lucene:7.0.1:*:*:*:*:*:*:* (and previous) -
CVE Modified by [email protected]
Oct. 27, 2017
Action Type Old Value New Value Changed Description 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. 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. Added Reference https://s.apache.org/FJDl [No Types Assigned] Added Reference http://mail-archives.us.apache.org/mod_mbox/www-announce/201710.mbox/%3CCAOOKt51UO_6Vy%3Dj8W%3Dx1pMbLW9VJfZyFWz7pAnXJC_OAdSZubA%40mail.gmail.com%3E [No Types Assigned] -
CVE Modified by [email protected]
Oct. 20, 2017
Action Type Old Value New Value Added Reference https://www.exploit-db.com/exploits/43009/ [No Types Assigned] -
CVE Modified by [email protected]
Oct. 16, 2017
Action Type Old Value New Value Added Reference http://www.securityfocus.com/bid/101261 [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2017-12629
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2017-12629
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
97.41 }} -0.02%
score
0.99948
percentile