Fortinet Discovers MongoDB 'Regular Expression' Parsing Multiple Remote Denial of Service Vulnerabilities
SummaryFortinet's FortiGuard Labs has discovered multiple remote denial of service vulnerabilities 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.
These discovered vulnerabilities are caused due to incorrectly handling specially crafted regular expressions. They could be exploited by attackers to launch denial of service attack.
SolutionsFortiGuard Labs released the following FortiGate IPS signature which covers this specific vulnerability:
Released Apr 15, 2015
Users should apply the solution provided by MongoDB.
Additional InformationThe vulnerabilities actually exist in the 3rd-party PCRE library incorporated into MongoDB. The PCRE library 8.37 has fixed them.
When MongoDB runs with the authentication option '--auth', an attacker needs to be successfully authenticated into MongoDB first.