CyberRota Analysis
AI-GeneratedRouterOS WebFig is vulnerable due to an unauthenticated file-read flaw in the /jsproxy path, allowing attackers to exploit a stale pointer for file authorization. This vulnerability enables unauthorized access to root-owned files, potentially exposing sensitive configuration data, including credentials. Organizations using affected versions of RouterOS should prioritize patching to the fixed versions (6.49.21, 7.23.4, or 7.24.2) to mitigate the risk of credential leakage and unauthorized access.
Original NVD Description
RouterOS WebFig contains an unauthenticated file-read vulnerability in the /jsproxy path where a newly allocated session retains a stale uninitialized principal pointer used for file authorization. An unauthenticated attacker can prepare the allocator so that the file-serving path dereferences this pointer with sufficient rights, then supply parent-directory components in an encrypted URI to escape the WebFig file namespace and disclose root-owned files, including configuration stores containing credentials.This issue affects only 7.x branch was fixed in versions: 7.23.4 (Long-term) and 7.24.2 (Stable)