Zero-Day Advisory

Fortinet Discovers MongoDB Remote Denial of Service Vulnerability II

Summary

Fortinet's FortiGuard Labs has discovered a remote denial of service vulnerability in MongoDB.
MongoDB is an open-source document-oriented database for multiple platforms, which provides high performance, high availability and automatic scaling. Compared with the traditional table-based relational database structure, MongoDB takes advantage of JSON-like documents with dynamic schemas, making the integration of data in certain types of applications easier and faster.
The vulnerability is caused due to incorrectly handling a specially-crafted 'createIndex' request which contains an empty name. It allows remote attackers to launch a denial of service attack.

Solutions

FortiGuard Labs released the following FortiGate IPS signature which covers this specific vulnerability:

MongoDB.createIndex.Handling.Remote.DoS
Released Mar 19, 2015

Users should apply the solution provided by MongoDB.

Additional Information

When MongoDB runs with the authentication option '--auth', an attacker needs to be successfully authenticated into MongoDB first. Furthermore, the attacker also needs to have write permission to a database to exploit this vulnerability.

Acknowledgement

This vulnerability was discovered by Xiaopeng Zhang of Fortinet's FortiGuard Labs.

IPS Subscription

Fortinet customers who subscribe to Fortinet's intrusion prevention (IPS) service should be protected against this vulnerability with the appropriate configuration parameters in place. Fortinet's IPS service is one component of FortiGuard Subscription Services, which also offer comprehensive solutions such as antivirus, Web content filtering and antispam capabilities. These services enable protection against threats on both application and network layers. FortiGuard Services are continuously updated by FortiGuard Labs, which enables Fortinet to deliver a combination of multi-layered security intelligence and true zero-day protection from new and emerging threats. These updates are delivered to all FortiGate, FortiMail and FortiClient products. Fortinet strictly follows responsible disclosure guidelines to ensure optimum protection during a threat's lifecycle.