0dd - The Zero (0) Day Division

The Zero (0) Day Division is a group of security professionals working towards a common goal; securing open-source projects.

UML Designer XXE

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.

UML Designer insecurely parses user-supplied XML content within the ProfileDiagramServices.java file, allowing attackers to perform XXE attacks.

Where the Issue Occurred

Found on line 163 - 173 UML-Designer/plugins/org.obeonetwork.dsl.uml2.design/src/org/obeonetwork/dsl/uml2/design/api/services/ProfileDiagramServices.java#L163-173:

final DocumentBuilderFactory builderFactory = DocumentBuilderFactory.newInstance();
DocumentBuilder builder = null;
try {
	builder = builderFactory.newDocumentBuilder();
} catch (final ParserConfigurationException e) {
	LogServices.INSTANCE.error(exceptionMsg, e);
org.w3c.dom.Document document = null;
try {
	if (builder != null) {
		document = builder.parse(pluginXML.getLocation().toFile());

Disclosure Timeline

  • Issue Reported: 24th October 2018
  • Blog Post Published: 28th October 2018
  • Applied for CVE: