cve/2024/CVE-2024-58134.md
2025-09-29 21:09:30 +02:00

19 lines
1.1 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

### [CVE-2024-58134](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-58134)
![](https://img.shields.io/static/v1?label=Product&message=Mojolicious&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=0.999922%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-321%20Use%20of%20Hard-coded%20Cryptographic%20Key&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-331%20Insufficient%20Entropy&color=brightgreen)
### 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 users session.
### POC
#### Reference
- https://medium.com/securing/baking-mojolicious-cookies-revisited-a-case-study-of-solving-security-problems-through-security-by-13da7c225802
#### Github
No PoCs found on GitHub currently.