CyberRota Analysis
AI-GeneratedThe vulnerability affects 9Router deployments prior to version 0.5.6, where the application improperly trusts the client-supplied X-9r-Real-Ip header, allowing remote unauthenticated attackers to bypass API key validation for critical routes. This can lead to unauthorized access to the instance owner's configured LLM providers, resulting in potential financial loss and exposure of sensitive configurations. Organizations using 9Router should prioritize upgrading to version 0.5.6 to mitigate these risks.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
9Router is an AI router & token saver. Prior to 0.5.6, 9Router deployments that allow requests to reach Next.js without the sanitizing custom-server.js wrapper trust the client-supplied X-9r-Real-Ip header in src/dashboardGuard.js when isLocalRequest decides whether canAccessPublicLlmApi may skip API-key validation for /api/v1/* routes. A remote unauthenticated attacker can set X-9r-Real-Ip to 127.0.0.1 and be classified as a local client, including on the verified GET /api/v1/models route. This permits unauthorized use of the instance owner's configured LLM providers, consumption of paid credits, and enumeration of configured providers and models. This issue is fixed in version 0.5.6.