Authorization Bypass in Starknet Snap via enableAuthorize parameter leads to unauthorized transaction signing
该报告还没有中文解读。
原文摘录
摘自原文(2003 字符中的一小部分)
Summary: The Starknet Snap by Consensys contains a critical security vulnerability that allows malicious websites to bypass user authorization when signing messages or transactions. The vulnerability exists in the `enableAuthorize` parameter which can be controlled by any website. When set to …
原文中的代码
protected async handleRequest(
params: SignMessageParams,
): Promise<SignMessageResponse> {
const { enableAuthorize, typedDataMessage, address } = params;
if (
// Get Starknet expected not to show the confirm dialog, therefore, `enableAuthorize` will set to false to bypass the …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 MetaMask 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @aszx87410 · 版权归作者与 MetaMask 所有