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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-48928— Piwigo's secret key can be brute forced

Quick assessment

Affected
Piwigo Piwigo
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.

Piwigo是Piwigo开源的一套基于Web的开源图片库软件。该软件包括图片管理、图片分类和权限管理等功能。 Piwigo 15.0.0之前版本存在安全特征问题漏洞,该漏洞源于安装时secret_key配置参数使用MySQL的MD5(RAND())设置,而RAND()仅提供30位随机性,使得暴力破解密钥成为可能,可能导致跨站请求伪造攻击。

AI Predicted 4.3 Difficulty: Moderate EPSS 0.26% · P17

Possible ATT&CK Techniques 1 AI

T1110 · Brute Force
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-48928

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
Piwigo's secret key can be brute forced
Source: CVE Program / CVE List V5
Vulnerability Description
Piwigo is an open source photo gallery application for the web. In versions on the 14.x branch, when installing, the secret_key configuration parameter is set to MD5(RAND()) in MySQL. However, RAND() only has 30 bits of randomness, making it feasible to brute-force the secret key. The CSRF token is constructed partially from the secret key, and this can be used to check if the brute force succeeded. Trying all possible values takes approximately one hour. The impact of this is limited. The auto login key uses the user's password on top of the secret key. The pwg token uses the user's session identifier on top of the secret key. It seems that values for get_ephemeral_key can be generated when one knows the secret key. Version 15.0.0 contains a fix for the issue.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U
Source: CVE Program / CVE List V5
Vulnerability Type
使用不充分的随机数
Source: CVE Program / CVE List V5
Vulnerability Title
Piwigo 安全特征问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Piwigo是Piwigo开源的一套基于Web的开源图片库软件。该软件包括图片管理、图片分类和权限管理等功能。 Piwigo 15.0.0之前版本存在安全特征问题漏洞,该漏洞源于安装时secret_key配置参数使用MySQL的MD5(RAND())设置,而RAND()仅提供30位随机性,使得暴力破解密钥成为可能,可能导致跨站请求伪造攻击。
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
Piwigo Piwigo >= 14.0.0, < 15.0.0 -

II. Public POCs for CVE-2024-48928

# 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-48928

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

IV. Related Vulnerabilities

V. Comments for CVE-2024-48928

No comments yet


Leave a comment