CVE-2024-58134
Last modified
CVE-2024-58134 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. 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.. EPSS estimates a 0.44% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Mojolicious | Mojolicious | >= 0.999922, <= 9.40 |
References
- https://github.com/hashcat/hashcat/pull/4090Issue Tracking, Patch
- https://github.com/mojolicious/mojo/pull/1791Issue Tracking, Patch
- https://github.com/mojolicious/mojo/pull/2200Issue Tracking, Patch
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-58134?
How severe is CVE-2024-58134?
How do I fix CVE-2024-58134?
Are you affected by CVE-2024-58134?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
