CVE-2024-58134

Severity CVSS v4.0:
Pending analysis
Type:
CWE-321 Use of Hard-coded Cryptographic Key
Publication date:
03/05/2025
Last modified:
20/10/2025

Description

Mojolicious versions from 0.999922 for Perl uses a hard coded string, or the application&amp;#39;s class name, as an HMAC session cookie secret by default.<br /> <br /> These predictable default secrets can be exploited by an attacker to forge session cookies.  An attacker who knows or guesses the secret could compute valid HMAC signatures for the session cookie, allowing them to tamper with or hijack another user’s session.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:mojolicious:mojolicious:*:*:*:*:*:perl:*:* 0.999922 (including) 9.40 (including)