MetaMask Browser (on Android) does not enforce Content-Security-Policy header
该报告还没有中文解读。
原文摘录
摘自原文(6212 字符中的一小部分)
Recently I came across a Cross-Site Scripting bug on the website of a well known crypto company. They had a very strict Content-Security-Policy header, effectively preventing me from achieving anything more then a simple HTML injection with it. That all changed when I opened up the website in …
原文中的代码
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="Content-Security-Policy" content="script-src 'none'"> <title></title> </head> <body> CSP enforced with <meta …
默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 MetaMask 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @renniepak · 版权归作者与 MetaMask 所有