Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-58135— Mojolicious versions from 7.28 through 9.45 for Perl will generate weak HMAC session cookie secrets via "mojo generate app" by default

Quick assessment

Affected
SRI Mojolicious
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Mojolicious是Mojolicious开源的基于 Perl 的实时网络框架。 Mojolicious 9.39及之前版本存在安全漏洞,该漏洞源于使用不安全的rand函数生成弱HMAC会话密钥,可能导致暴力破解会话密钥。

AI Predicted 5.3 Difficulty: Easy EPSS 0.57% · P47

Possible ATT&CK Techniques 1 AI

T1552.004 · Private Keys

Affected Version Matrix 1

VendorProduct Version RangeStatus
SRI Mojolicious 7.28≤ 9.45 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-58135

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Mojolicious versions from 7.28 through 9.45 for Perl will generate weak HMAC session cookie secrets via "mojo generate app" by default
Source: CVE Program / CVE List V5
Vulnerability Description
Mojolicious versions from 7.28 through 9.45 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. Release 9.46 fixes the issue by providing high quality randomness, even in absence of CryptX. Users should be aware that the update does not replace previously generated weak secrets. A secret generated with the previous version MUST be replaced to ensure the updated version is using a strong secret.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
使用具有密码学弱点缺陷的PRNG
Source: CVE Program / CVE List V5
Vulnerability Title
Mojolicious 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Mojolicious是Mojolicious开源的基于 Perl 的实时网络框架。 Mojolicious 9.39及之前版本存在安全漏洞,该漏洞源于使用不安全的rand函数生成弱HMAC会话密钥,可能导致暴力破解会话密钥。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
SRI Mojolicious 7.28 ~ 9.45 -

II. Public POCs for CVE-2024-58135

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-58135

请登录查看更多情报信息。

Patches & Fixes for CVE-2024-58135 (6)

Vendor Advisories for CVE-2024-58135 (1)

Other References for CVE-2024-58135 (1)

IV. Related Vulnerabilities