Openfire 3.9.1, and possibly earlier versions, contains an uncontrolled resource consumption (CWE-400) vulnerability when using XMPP DEFLATE message compression.
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.
A remote unauthenticated attacker may be able to cause a denial-of-service condition.
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.
Filter by status: All Affected Not Affected Unknown
Filter by content: __ Vendor has issued information
__ Sort by: Status Alphabetical
Affected Unknown __ Unaffected
Notified: February 25, 2014 Updated: April 16, 2014
No statement is currently available from the vendor regarding this vulnerability.
We are not aware of further vendor information regarding this vulnerability.
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
Thanks to Giancarlo Pellegrino for reporting this vulnerability.
This document was written by Jared Allar.
CVE IDs: | CVE-2014-2741
Date Public: | 2014-04-16
Date First Published: | 2014-04-16
Date Last Updated: | 2014-04-23 18:54 UTC
Document Revision: | 20