Insecure randomness for default password in file sharing when password policy app is disabled
密码学缺陷 / Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) / #1745702
该报告还没有中文解读。
原文摘录
摘自原文(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 所有