[ 
https://issues.apache.org/jira/browse/SOLR-11971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16432093#comment-16432093
 ] 

Uwe Schindler edited comment on SOLR-11971 at 4/10/18 11:30 AM:
----------------------------------------------------------------

Hi [~wunder],
as written in my announcement mail, there is no easy way to disable the 
"dataConfig"  parameter in running installations, unless you completely disable 
DIH. So your options are:
- disable DIH completely (yeah, not so nice)
- update to later version
- instruct your reverse proxy to remove "dataConfig" parameter before passing 
to Solr. I have seen configs for nginx doing similar things with the 
"stream.body" parameters.
- run Solr only on localhost
- install a firewall (that's a joke, you should have done this already)

One thing that might work (not sure yet):
- make dataConfig a "invariant" in solrconfig.xml. Does anybody know if this 
works for DIH, too?


was (Author: thetaphi):
Hi [~wunder],
as written in my announcement mail, there is no way to disable the "dataConfig" 
 parameter in running installations, unless you completely disable DIH. So your 
options are:
- disable DIH completely (yeah, not so nice)
- update to later version
- instruct your reverse proxy to remove "dataConfig" parameter before passing 
to Solr. I have seen configs for nginx doing similar things with the 
"stream.body" parameters.
- run Solr only on localhost
- install a firewall (that's a joke, you should have done this already)


> CVE-2018-1308: XXE attack through DIH's dataConfig request parameter
> --------------------------------------------------------------------
>
>                 Key: SOLR-11971
>                 URL: https://issues.apache.org/jira/browse/SOLR-11971
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: contrib - DataImportHandler
>            Reporter: Uwe Schindler
>            Assignee: Uwe Schindler
>            Priority: Major
>             Fix For: 6.6.3, 7.3, master (8.0)
>
>         Attachments: ApacheSolrDIH-XXE.pdf, SOLR-11971.patch
>
>
> We got a security report about an XXE attack when using the 
> {{&dataConfig=<inlinexml>}} of Solr's DataImportHandler. See the attached PDF 
> file with full details (I converted it to PDF, originally it was a DOC file).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to