CVE-2024-58134

Mojolicious versions from 0.999922 for Perl uses a hard coded string, or the application's class name, as an HMAC session cookie secret by default. 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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:mojolicious:mojolicious:*:*:*:*:*:perl:*:*

History

No history.

Information

Published : 2025-05-03 16:15

Updated : 2025-10-20 20:15


NVD link : CVE-2024-58134

Mitre link : CVE-2024-58134

CVE.ORG link : CVE-2024-58134


JSON object : View

Products Affected

mojolicious

  • mojolicious
CWE
CWE-321

Use of Hard-coded Cryptographic Key

CWE-331

Insufficient Entropy