Talos Vulnerability Report

TALOS-2017-0316

Open Fire User Import Export Plugin XML External Entity Injection

July 19, 2017
CVE Number

CVE-2017-2815

Summary

An exploitable XML entity injection vulnerability exists in OpenFire User Import Export Plugin 2.6.0. A specially crafted web request can cause the retrieval of arbitrary files or denial of service. An authenticated attacker can send a crafted web request to trigger this vulnerability.

Tested Versions

OpenFire User Import Export Plugin 2.6.0

Product URLs

https://www.igniterealtime.org/projects/openfire/plugins/userImportExport.jar

CVSSv3 Score

8.1 - CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

CWE

CWE-611: Improper Restriction of XML External Entity Reference (‘XXE’)

Details

The User Import Export Plugin is vulnerable to an XML External Entity injection attack.

The application can be exploited via either Cross Site Request Forgery or if account with given credentials is compromised.

This vulnerability may allow the retrieval of arbitrary files or the causing of a Denial of Service condition (by making the server read from a file such as `/dev/random’) External entities can also reference URLs, potentially allowing port scanning from the XML parser’s host, or the retrieval of sensitive web content that would otherwise be inaccessible due to network topology and defenses.

Mitigation

Restrict access to known, trusted users and hosts.

Timeline

2017-03-06 - Vendor Disclosure
2017-07-19 - Public Release

Credit

Discovered by Jerzy Kramarz, Michail Sarantidis, Rafael Gil Larios, Giovani Cattani and Anton Garcia of Portcullis Computer Security Limited.