Vulnerability Note VU#495476

Openfire contains an uncontrolled resource consumption vulnerability

Original Release date: 16 Apr 2014 | Last revised: 23 Apr 2014

Overview

Openfire 3.9.1, and possibly earlier versions, contains an uncontrolled resource consumption (CWE-400) vulnerability when using XMPP DEFLATE message compression.

Description

Openfire 3.9.1, and possibly earlier versions, contains an uncontrolled resource consumption (CWE-400) vulnerability when using XMPP DEFLATE message compression. It has been reported that a highly compressed XMPP message of 4MB that uncompresses to 4GB may cause a resource exhaustion denial of service. The highly compressed XMPP messages may be sent in parallel to enhance the denial of service.

Impact

A remote unauthenticated attacker may be able to cause a denial-of-service condition.

Solution

We are currently unaware of a practical solution to this problem. A fix is available in the development branch of Openfire but a stable release is not available yet. Please consider the following workarounds.

Restrict Network Access

As a general good security practice, only allow connections from trusted hosts and networks if possible. Restricting access would prevent an attacker from connecting to the service from a blocked network location.

Disable XMPP Compression

Navigate to the menu Server -> Server Settings -> Compression Settings -> Client Compression Policy and check the option Not Available - Clients will not receive the option to use compressed traffic.

Vendor Information (Learn More)

VendorStatusDate NotifiedDate Updated
OpenfireAffected25 Feb 201416 Apr 2014
If you are a vendor and your product is affected, let us know.

CVSS Metrics (Learn More)

Group Score Vector
Base 7.8 AV:N/AC:L/Au:N/C:N/I:N/A:C
Temporal 7.0 E:F/RL:W/RC:C
Environmental 5.3 CDP:ND/TD:M/CR:ND/IR:ND/AR:ND

References

Credit

Thanks to Giancarlo Pellegrino for reporting this vulnerability.

This document was written by Jared Allar.

Other Information

  • CVE IDs: CVE-2014-2741
  • Date Public: 16 Apr 2014
  • Date First Published: 16 Apr 2014
  • Date Last Updated: 23 Apr 2014
  • Document Revision: 20

Feedback

If you have feedback, comments, or additional information about this vulnerability, please send us email.