TROYANOSYVIRUS
Back to CVEs

CVE-2024-58135

MEDIUM
5.3

Description

Mojolicious versions from 7.28 for Perl will generate weak HMAC session cookie secrets via "mojo generate app" by default When creating a default app skeleton with the "mojo generate app" tool, a weak secret is written to the application's configuration file using the insecure rand() function, and used for authenticating and protecting the integrity of the application's sessions. This may allow an attacker to brute force the application's session keys.

CVE Details

CVSS v3.1 Score5.3
SeverityMEDIUM
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published5/3/2025
Last Modified10/20/2025
Sourcenvd
Honeypot Sightings0

Affected Products

mojolicious:mojolicious

Weaknesses (CWE)

CWE-338CWE-338

IOC Correlations

No correlations recorded

This product uses data from the NVD API but is not endorsed or certified by the NVD.