Not clearing hex-decoded variable after usage in Authentication
身份认证 / 违反安全设计原则(按标题归类) / #168293
该报告还没有中文解读。
原文摘录
摘自原文(1044 字符中的一小部分)
All the sensitive information variables are zeroed from memory, expect the hex2bin value of "validator".
原文中的代码
$stored = \Sodium\hex2bin($record[$f['validator']]);
\Sodium\memzero($record[$f['validator']]);
if (!\hash_equals($stored, $val)) {
throw new LongTermAuthAlert(
\trk('errors.security.invalid_persistent_token')
);
} …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Paragon Initiative Enterprises 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @sstok · 版权归作者与 Paragon Initiative Enterprises 所有