همهٔ گزارش‌ها
متوسط

frr: FRRouting FRR: Privilege escalation via TOCTOU race condition

متن اصلی

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

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

بهره‌برداری

CVE-2022-42917

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

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

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

In FRRouting FRR before 8.5, the service user (usually frr) can escalate its privileges to root by monitoring the configuration directory (/etc/frr) and replacing config files upon creation with, for example, symlinks to change the ownership of arbitrary files. This is a TOCTOU Race Condition caused by a combination of touch and chown.

A flaw was found in FRRouting FRR. A local service user can exploit a Time-of-check to time-of-use (TOCTOU) race condition by monitoring the configuration directory and replacing configuration files with symbolic links during their creation. This manipulation allows the user to change the ownership of arbitrary files. This can lead to privilege escalation, allowing the service user to gain root privileges.