CVE-2024-58134Mojolicious
High 8.1
Follow: this CVE · Mojolicious · Mojolicious We alert you by email or Slack (account required).
- Priority
- 49
- CVSS 3.1
- 8.1
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 63
- Auth required
- Yes
- Published
- May 3, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Mojolicious.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mojolicious | mojolicious | ≥ 0.999922 ≤ 9.40 |
Official sources
References
Links published by the sources. Open them with care.
- docs.mojolicious.org
- github.com Issue Tracking Patch
- github.com Issue Tracking Patch
- github.com Issue Tracking Patch
- github.com
- lists.debian.org
- lists.debian.org
- lists.debian.org
- medium.com Third Party Advisory
- metacpan.org Product
- www.synacktiv.com Exploit