Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XXE in Xml.java #931

Closed
prodigysml opened this issue Sep 29, 2018 · 0 comments
Closed

XXE in Xml.java #931

prodigysml opened this issue Sep 29, 2018 · 0 comments
Assignees
Labels

Comments

@prodigysml
Copy link

The Issue

An XML External Entity attack is a type of attack against an application that parses XML input. This attack occurs when XML input containing a reference to an external entity is processed by a weakly configured XML parser. This attack may lead to the disclosure of confidential data, denial of service, server side request forgery, port scanning from the perspective of the machine where the parser is located, and other system impacts.

Where the Issue Occurred

The following code snippets display the usage of DocumentBuilderFactory without securely disabling entities:

Document doc = documentBuilder.parse(Util.openInputStream(url, headers, null));

@jexp jexp added the Larus label Oct 24, 2018
conker84 added a commit to conker84/neo4j-apoc-procedures that referenced this issue Oct 25, 2018
@jexp jexp closed this as completed in 45bc09c Oct 26, 2018
jexp pushed a commit that referenced this issue Nov 16, 2018
jexp pushed a commit that referenced this issue May 23, 2019
loading of xml files was previously forbidden (#931). With this change,
an dummy entity resolver is registered that does nothing, e.g. does not
load external files.
jexp pushed a commit that referenced this issue May 29, 2019
loading of xml files was previously forbidden (#931). With this change,
an dummy entity resolver is registered that does nothing, e.g. does not
load external files.
conker84 pushed a commit to conker84/neo4j-apoc-procedures that referenced this issue May 29, 2019
…eo4j-contrib#1208)

loading of xml files was previously forbidden (neo4j-contrib#931). With this change,
an dummy entity resolver is registered that does nothing, e.g. does not
load external files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants