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

Shawn Heisey commented on SOLR-8307:
------------------------------------

I found more instances of XMLInputFactory in the codebase.  Here are the 
classes:

org.apache.solr.handler.DocumentAnalysisRequestHandler
org.apache.solr.handler.XmlUpdateRequestHandlerTest
org.apache.solr.handler.dataimport.XPathRecordReader
org.apache.solr.handler.loader.XMLLoader
org.apache.solr.update.AddBlockUpdateTest
org.apache.solr.util.EmptyEntityResolver

I do not know if all of these need attention or if some could be left alone.

It also appear that other XML parsers are in use.  I found SAXParserFactory and 
DocumentBuilderFactory with grep.  The xerces library is in the ivy config.  My 
little patch isn't going to be enough.  This is the document I'm using for 
information:

https://www.owasp.org/index.php/XML_External_Entity_%28XXE%29_Processing


> XXE Vulnerability
> -----------------
>
>                 Key: SOLR-8307
>                 URL: https://issues.apache.org/jira/browse/SOLR-8307
>             Project: Solr
>          Issue Type: Bug
>          Components: UI
>    Affects Versions: 5.3
>            Reporter: Adam Johnson
>         Attachments: SOLR-8307.patch
>
>
> Use the drop-down in the left menu to select a core. Use the “Watch Changes” 
> feature under the “Plugins / Stats” option. When submitting the changes, XML 
> is passed in the “stream.body” parameter and is vulnerable to XXE.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to