Name | CVE-2024-58134 |
Description | Mojolicious versions from 0.999922 through 9.40 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 1104648 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
libmojolicious-perl (PTS) | bullseye | 8.71+dfsg-1 | vulnerable |
| bookworm | 9.31+dfsg-1 | vulnerable |
| sid, trixie | 9.39+dfsg-1 | vulnerable |
The information below is based on the following data on fixed versions.
Notes
[bookworm] - libmojolicious-perl <no-dsa> (Minor issue)
[bullseye] - libmojolicious-perl <postponed> (Minor issue, upstream expects production deployments to reconfigure default session secret)
https://lists.security.metacpan.org/cve-announce/msg/29247502/
The CVE covers the default static/guessable secret, and this behaviour is
unchanged by the new CryptX dependency in v9.39.