CyberRota Analysis
AI-GeneratedMojolicious versions from 4.59 to 9.48 for Perl are vulnerable due to the exposure of a stable session CSRF token, which can be exploited through a BREACH attack. This vulnerability allows an attacker to recover the CSRF token by manipulating responses that include attacker-controlled input, potentially bypassing CSRF protection mechanisms. Organizations using affected versions of Mojolicious should prioritize patching to mitigate the risk of unauthorized access and session hijacking.
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
Mojolicious versions from 4.59 before 9.48 for Perl expose a stable representation of the session CSRF token to a BREACH compression oracle. _csrf_token generates and caches one token per session and returns the same value on every call, and _csrf_field places that value in a hidden `csrf_token` input. When a response carrying the token also echoes attacker-controlled input and is gzip-compressed, the chosen values and the resulting compressed lengths form a BREACH oracle. An attacker able to query it can recover the token and pass csrf_protect validation.