Mojolicious versions from 0.999922 through 9.39 for Perl uses a hard coded string, or the application's class name, as a HMAC session secret by default. These predictable default secrets can be exploited 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.
History

Sat, 03 May 2025 16:15:00 +0000

Type Values Removed Values Added
Description Mojolicious versions from 0.999922 through 9.39 for Perl uses a hard coded string, or the application's class name, as a HMAC session secret by default. These predictable default secrets can be exploited 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.
Title Mojolicious versions from 0.999922 through 9.39 for Perl uses a hard coded string, or the application's class name, as a HMAC session secret by default
Weaknesses CWE-321
CWE-331
References

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published: 2025-05-03T16:08:55.042Z

Updated: 2025-05-05T16:28:34.740Z

Reserved: 2025-04-07T16:06:37.226Z

Link: CVE-2024-58134

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-05-03T16:15:19.310

Modified: 2025-05-05T20:54:19.760

Link: CVE-2024-58134

cve-icon Redhat

No data.