- 5
- 0
- 约3.4万字
- 约 11页
- 2017-03-06 发布于贵州
- 举报
Hack80告诉PHPYUN云人才系统后台CSRF Getshell
首先从后台getshell开始。网站的配置文件,/plus/config.php,用的是双引号做键值,这导致了安全问题。我们可以把php代码写进双引号里面执行。修改配置文件,提交:然后访问/plus/config.php: 特别的是,因为phpyun后台没有防御CSRF的办法,所以我们可以构造一个表单,诱使管理员访问,修改配置文件,导致getshell。这是CSRF代码,将里面的url修改为你要攻击的站点。然后把这段javascript代码放在任意页面中,诱使管理员访问该页面。 span style color: rgb 34, 34, 34 ; font-family: 微软雅黑, 宋体, Trebuchet MS, Tahoma, Arial, sans-serif; font-size: 14px; line-height: 22px; gum function span style color: rgb 34, 34, 34 ; font-family: 微软雅黑, 宋体, Trebuchet MS, Tahoma, Arial, sans-serif; font-size: 14px; line-height: 22px; span style color: rgb 34, 34, 34 ; font-family: 微软雅黑, 宋体, Trebuchet MS, Tahoma, Arial, sans-serif; font-size: 14px; line-height: 22px; var u span style color: rgb 34, 34, 34 ; font-family: 微软雅黑, 宋体, Trebuchet MS, Tahoma, Arial, sans-serif; font-size: 14px; line-height: 22px; span style color: rgb 34, 34, 34 ; font-family: 微软雅黑, 宋体, Trebuchet MS, Tahoma, Arial, sans-serif; font-size: 14px; line-height: 22px; version:1140213,
span style color: rgb 34, 34, 34 ; font-family: 微软雅黑, 宋体, Trebuchet MS, Tahoma, Arial, sans-serif; font-size: 14px; line-height: 22px; span style color: rgb 34, 34, 34 ; font-family: 微软雅黑, 宋体, Trebuchet MS, Tahoma, Arial, sans-serif; font-size: 14px; line-height: 22px; domain: domain ,
span style color: rgb 34, 34, 34 ; font-family: 微软雅黑, 宋体, Trebuchet MS, Tahoma, Arial, sans-serif; font-size: 14px; line-height: 22px; span style color: rgb 34, 34, 34 ; font-family: 微软雅黑, 宋体, Trebuchet MS, Tahoma, Arial, sans-serif; font-size: 14px; line-height: 22px; backinfo: ,
span style color: rgb 34, 34, 34 ; font-family: 微软雅黑, 宋体, Trebuchet MS, Tahoma, Arial, sans-serif; font-size: 14px; line-height: 22px; span style color: rgb 34, 34, 34 ; font-family: 微软雅黑, 宋体, Trebuchet MS, Tahoma, Arial, sans-serif; font-size: 14px; line-height: 22px; author: /quininer/gum
span style color: rgb 34, 34, 34 ; font-family: 微软雅黑, 宋体, Trebuchet MS, Tahoma, Arial, sans-serif; font-size: 14px; line-height: 22px; span style color: rgb 34, 34,
原创力文档

文档评论(0)