Skip to content

XXE in file import #45

Closed
Closed
@prodigysml

Description

@prodigysml

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.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions