MongoDB < 2.4.5 / 2.5.1 Multiple Vulnerabilities

This script is Copyright (C) 2013-2014 Tenable Network Security, Inc.


Synopsis :

The remote database server is affected by multiple vulnerabilities.

Description :

The version of the remote MongoDB server is a version prior to
version 2.4.5 / 2.5.1. It is, therefore, potentially affected by the
following vulnerabilities :

- A remote attacker can gain elevated privileges when
authenticating as the internal __system user name for
arbitrary databases. (CVE-2013-4650)

- The JavaScript engine is vulnerable to a flaw that
could be triggered remotely to cause a segmentation
fault, or potentially arbitrary code execution.
(CVE-2013-3969)

See also :

http://www.nessus.org/u?6dfa8c8f
https://jira.mongodb.org/browse/SERVER-9983
https://jira.mongodb.org/browse/SERVER-9878
http://www.nessus.org/u?96e66060
http://blog.scrt.ch/2013/06/04/mongodb-rce-by-databasespraying/

Solution :

Upgrade to MongoDB 2.4.5 / 2.5.1 or later.

Risk factor :

Medium / CVSS Base Score : 6.5
(CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:P)
CVSS Temporal Score : 5.7
(CVSS2#E:ND/RL:OF/RC:C)
Public Exploit Available : true

Family: Databases

Nessus Plugin ID: 67243 ()

Bugtraq ID: 61007
61309

CVE ID: CVE-2013-3969
CVE-2013-4650