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 file import #45

Closed
prodigysml opened this issue May 29, 2018 · 1 comment
Closed

XXE in file import #45

prodigysml opened this issue May 29, 2018 · 1 comment
Assignees

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 Occured

The parser parses mind map files (which is XML) without proper protections within the parsing function.

The parsing module is called from the function below:

final Document document = Utils.loadXmlDocument(new FileInputStream(file), "UTF-8", true);

A specially crafted mind map file can exploit this XXE issue.

@raydac raydac self-assigned this May 29, 2018
@raydac
Copy link
Owner

raydac commented May 29, 2018

ok, I will check, thank you for the information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants