PT-2025-18941

CVE-2024-58135

·

Published

2025-05-03

·

Updated

2025-10-20

Description by

CVSS 3.1
5.3
Medium
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Name of the Vulnerable Software and Affected Versions Mojolicious versions 7.28 through 9.39
Description The issue concerns the generation of weak HMAC session secrets in Mojolicious for Perl. When creating a default app, a weak secret is written to the application's configuration file using the insecure rand() function. This secret is used for authenticating and protecting the integrity of the application's sessions, potentially allowing an attacker to brute force the application's session keys.
Recommendations For Mojolicious versions 7.28 through 9.39, consider regenerating the session secrets with a secure random number generator to mitigate the risk of brute force attacks. As a temporary workaround, restrict access to sensitive areas of the application that rely on session authentication until a secure secret can be generated.
Exploitability
Exploit
Fix
Vendors
Affected products
Related identifiers
AZL-61741
AZL-61822
Found an issue in the description? Have something to add? Feel free to write us 👾