POJIA破甲
地图 / Insecure randomness for default password in file sharing when password policy app is disabled

Insecure randomness for default password in file sharing when password policy app is disabled

密码学缺陷 / Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) / #1745702

厂商
Nextcloud
严重程度
低危 · CVSS 3.5
赏金
—
弱点
Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
研究员
@gorei
披露日期
2023-03-30
资产
nextcloud/server
CVE
CVE-2023-28835

该报告还没有中文解读。

原文摘录

摘自原文(1822 字符中的一小部分)
Summary: Sharing links can be protected with a password. However, the function used for generating this password is using cryptographically insecure RNG.
原文中的代码
export default async function() {
	// password policy is enabled, let's request a pass
	if (config.passwordPolicy.api && config.passwordPolicy.api.generate) {
		try {
			const request = await axios.get(config.passwordPolicy.api.generate)
			if (request.data.ocs.data.password) {
				return …

默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Nextcloud 所有。

时间线

  • 报告提交
  • 公开披露
阅读 HackerOne 原文 ↗作者 @gorei · 版权归作者与 Nextcloud 所有

同类报告

Grammarly Keyboard for Android "Authorization Code with PKCE" flow implementation vulnerability that allows account takeoverSuperhuman (formerly Grammarly) · 2020-07-24Splatoon 3 Anticheat Seed Randomization WeaknessNintendo · 2026-02-19Predictable Random Number GeneratorNextcloud · 2019-06-26Weak randomness in WebCrypto keygenNode.js · 2022-10-26[crypto-js] Insecure entropy source - Math.random()Node.js third-party modules · 2020-06-04