CVE-2024-58134CWE-321CWE-331
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
High · published May 3, 2025
What it is
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.
The record
Technical detail
- CVSS v3.1
- 8.1 · HIGH
- Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- CVSS v4.0
- Not supplied
- EPSS
- 0.00546 · 45.0th percentile
- Weaknesses
- CWE-321 · Use of Hard-coded Cryptographic Key; CWE-331 · Insufficient Entropy
- Published
- 2025-05-03T16:08Z
EPSS history
Timeline