Bug 1598621 (CVE-2018-8026)

Summary: CVE-2018-8026 solr: XML external entity expansion in config files allows for arbitrary file read
Product: [Other] Security Response Reporter: Sam Fowler <sfowler>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aileenc, apintea, bkundal, bmaxwell, bmcclain, cdewolf, chazlett, csutherl, darran.lofthouse, dblechte, dfediuck, dimitris, dosoudil, drieden, eedri, fgavrilo, gvarsami, hghasemb, jawilson, jcoleman, jolee, jondruse, jschatte, jstastny, kconner, ldimaggi, lgao, mgoldboi, mgoldman, michal.skrivanek, myarboro, nwallace, pgier, pjurak, ppalaga, psakar, pslavice, puntogil, rnetuka, rstancel, rsvoboda, rwagner, sbonazzo, sherold, sstavrev, tcunning, tkirby, twalsh, vhalbert, vtunka, ylavi
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: solr 6.6.5, solr 7.4 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-10 06:30:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1598622    
Bug Blocks: 1598623    

Description Sam Fowler 2018-07-06 02:37:48 UTC
Apache Solr versions before 6.6.4 and 7.3.1 are vulnerable to XML external entity expansion (XXE) in Solr config files. A remote attacker could exploit this by uploading configsets using Solr's API allowing for arbitrary read of files on the Solr server or internal network.


External Reference:

https://mail-archives.apache.org/mod_mbox/lucene-solr-user/201807.mbox/%3C0cdc01d413b7%24f97ba580%24ec72f080%24%40apache.org%3E


Upstream Bug:

https://issues.apache.org/jira/browse/SOLR-12450


Upstream Patch:

https://issues.apache.org/jira/secure/attachment/12928111/SOLR-12450.patch

Comment 1 Sam Fowler 2018-07-06 02:38:48 UTC
Created solr3 tracking bugs for this issue:

Affects: fedora-all [bug 1598622]