CyberRota Analysis
AI-GeneratedAstro web framework versions prior to 7.2.4 are vulnerable to a pathname-based authorization bypass, allowing unauthenticated attackers to access protected routes by manipulating request pathnames. This vulnerability arises from improper handling of non-root base paths, potentially exposing sensitive application areas. Developers and security teams using affected versions should prioritize upgrading to 7.2.4 to mitigate the risk of unauthorized access.
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
Astro is a web framework for content-driven websites. Prior to 7.2.4, Astro stripped a configured non-root base path from request pathnames using a string-prefix check without verifying a path-segment boundary. With base "/app", a request to "/appX/admin" resolved internally to the protected "/admin" route while middleware observed "/appX/admin" in context.url.pathname. In applications that authorize base-prefixed routes by inspecting context.url.pathname, an unauthenticated remote attacker could bypass pathname-based middleware authorization and reach protected routes. This issue is fixed in version 7.2.4.