همهٔ گزارش‌ها
زیاد

Eval Injection in fastbots

متن اصلی

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

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

بهره‌برداری

CVE-2023-48699

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

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

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

Impact

An attacker could modify the locators.ini locator file with python code that without proper validation it's executed and it could lead to rce. The vulnerability is in the function def locator(self, locator_name: str) in page.py. The vulnerable code that load and execute directly from the file without validation it's:

 return eval(self._bot.locator(self._page_name, locator_name))
Patches

In order to mitigate this issue it's important to upgrade to fastbots version 0.1.5 or above.

References

Merge that fix also this issue

پیوندها

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

  • ubertidavide