Skip to content
XXE Advisory Intermediate CVE-2017-2815

Open Fire User Import Export Plugin XML External Entity Injection

The OpenFire User Import Export Plugin 2.6.0 is vulnerable to XML External Entity (XXE) injection. An authenticated attacker can send a crafted web request to retrieve arbitrary files or cause a denial of service.

Jerzy Kramarz Follow

Originally disclosed on Cisco Talos

High 8.1 View original

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.

Jerzy Kramarz, Michail Sarantidis, Rafael Gil Larios, Giovani Cattani and Anton Garcia, on Cisco Talos

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the XML parser used by the plugin is configured to allow external entity resolution without restrictions.

Impact

An authenticated attacker could retrieve arbitrary files or cause a denial of service; external entities may also enable port scanning or access to sensitive web content from the parser's host.

What the attacker needed

Valid account credentials; ability to send crafted web request

The fix

Restrict access to known, trusted users and hosts.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

XML External Entity (XXE) is a flaw where an application processes XML input that can include references to external files or URLs. Here, the plugin fails to disable these external entities, so an attacker with a valid account can make the server read local files or hang by reading from a special file like /dev/random.

What is XXE?

An XML parser resolves entities the attacker defines, reading local files or making the server send requests.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

XML external entities (XXE)

The lesson behind this report.

An XML parser resolves entities the attacker defines, reading local files or making the server send requests.