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.

XR3Player 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.

XR3Player insecurely parses user-supplied XML content within the ParsePlaylist.java file, allowing attackers to perform XXE attacks.

Where the Issue Occurred

Found on line 42 XR3Player/releases/futurecode/rubbishCode/ParsePlaylist.java#L42:

parser.parse(url.toString(), contentType, is, playlist);

Found on line 92 JavaPlaylistParser/src/wseemann/media/jplaylistparser/parser/AutoDetectParser.java#L92:

parser.parse(uri, stream, playlist);

Found on line 136 JavaPlaylistParser/src/wseemann/media/jplaylistparser/parser/asx/ASXPlaylistParser.java#L136:

doc = builder.build(in);

Disclosure Timeline

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