Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebView默认接口searchBoxJavaBridge_依然存在js注入漏洞 #25

Open
ZDZN opened this issue Jul 7, 2017 · 0 comments
Open

WebView默认接口searchBoxJavaBridge_依然存在js注入漏洞 #25

ZDZN opened this issue Jul 7, 2017 · 0 comments

Comments

@ZDZN
Copy link

ZDZN commented Jul 7, 2017

       您好,我发现该库没有移除WebView的默认接口searchBoxJavaBridge_,使用该默认接口依然可以通过js注入漏洞,注入方法可以参考文章中第三小节中的js方法execute。
       在使用该库之前调用webView.removeJavascriptInterface("searchBoxJavaBridge_");应该就可以解决这个问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant