🛡️ CVE-2024-58134 — mojolicious
Description
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.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability none.
Weakness class
CVE-2024-58134 is classified as CWE-321: Use of Hard-coded Cryptographic Key. The product uses a hard-coded, unchangeable cryptographic key.
Affected software
CVE-2024-58134 is recorded against 1 package.
- mojolicious (from 0.999922 up to 9.40)
Timeline and source
Published on 3 May 2025 and last revised on 17 June 2026. A public exploit is known to exist, which raises the urgency of patching considerably. A vendor advisory or fix has been published. Record sourced from NVD.
References
docs.mojolicious.org
github.com
github.com
github.com
github.com
lists.debian.org
lists.debian.org
lists.debian.org
medium.com
metacpan.org
www.synacktiv.com
CVE-2024-58134 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| mojolicious | 0.999922 | 9.40 |
References
Similar Threats
- Medium CVE-2024-58135
Exploit Protection
Are you running mojolicious?
CVE-2024-58134 carries CVSS 8.1 High rating and a public exploit already exists. BotEraser checks your installation against this and other known CVE records, and blocks IPs associated with exploit activity.
Check My Site For CVE-2024-58134 →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.