High8.3
(AV:AN/AC:L/AU:N/C:C/I:C/A:C)

PT-2012-40: Remote Code Execution in MongoDB

(PT-2012-40) Positive Technologies Security Advisory
Remote Code Execution in MongoDB

Vulnerable software

MongoDB
Version: 2.x and earlier

Application link:
http://www.mongodb.org/

Severity level

Severity level: High
Impact: Remote Code Execution
Access Vector: Remote  

CVSS v2:
Base Score: 8.3
Vector: (AV:AN/AC:L/AU:N/C:C/I:C/A:C)

CVE: not assigned

Software description

MongoDB is an open-source document-centric database management system (DBMS) that do not require description of scheme of tables.

Vulnerability description

The specialists of the Positive Research center have detected a Remote Code Execution vulnerability in MongoDB application.

If an attacker manages to call REST interface that is run on 28017 port by default, he or she can execute SSJS code.

How to fix

Update your software up to the latest version

Advisory status

10.09.2012 - Vendor gets vulnerability details
13.02.2013 - Vendor releases fixed version and details
10.07.2013 - Public disclosure

Credits

The vulnerability was detected by Mikhail Firstov, Positive Research Center (Positive Technologies Company)

References

http://en.securitylab.ru/lab/PT-2012-40

Reports on the vulnerabilities previously discovered by Positive Research:

http://ptsecurity.com/research/advisory/
http://en.securitylab.ru/lab/

About Positive Technologies

Positive Technologies www.ptsecurity.com is among the key players in the IT security market in Russia.

The principal activities of the company include the development of integrated tools for information security monitoring (MaxPatrol); providing IT security consulting services and technical support; development of the Securitylab leading Russian information security portal.

Among the clients of Positive Technologies, there are more than 40 state enterprises, more than 50 banks and financial organizations, 20 telecommunication companies, more than 40 plant facilities, as well as IT, service and retail companies from Russia, the CIS countries, the Baltic States, China, Ecuador, Germany, Great Britain, Holland, Iran, Israel, Japan, Mexico, the Republic of South Africa, Thailand, Turkey, and the USA.

Positive Technologies is a team of highly skilled developers, advisers and experts with years of vast hands-on experience. The company specialists possess professional titles and certificates; they are the members of various international societies and are actively involved in the IT security field development.