Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[求助] 萧岑博客似乎没有经过严格审查,存在用户信息严重泄露问题

[复制链接]
shidaichao 发表于 2018-1-30 18:22:34 | 显示全部楼层 |阅读模式
“萧岑博客”插件把帖子变成博文受到部分站长喜爱,但其模板xcblog.htm  的  “var profile = {echo json_encode($profile);};”语句导致浏览器输出用户栏目完整资料,包括隐藏的、没有启用的和用户自己添加的栏目项和值。其演示站:http://www.zjtchy.com/plugin.php?id=xcblog&uid=1#/

  1. <script>
  2. // 全局参数
  3. var setting = {"home_paper_num":10,"list_paper_num":20};
  4. var profile = {"username":"admin","email":"js_mawentao@163.com","uid":"1","realname":"\u5f20\u4e09","gender":"0","birthyear":"0","birthmonth":"0","birthday":"0","constellation":"","zodiac":"","telephone":"","mobile":"13916266074","idcardtype":"\u8eab\u4efd\u8bc1","idcard":"","address":"asdasdas","zipcode":"","nationality":"","birthprovince":"","birthcity":"","birthdist":"","birthcommunity":"","resideprovince":"","residecity":"","residedist":"","residecommunity":"","residesuite":"","graduateschool":"","company":"","education":"","occupation":"","position":"","revenue":"","affectivestatus":"","lookingfor":"","bloodtype":"A","height":"","weight":"","alipay":"","icq":"","qq":"","yahoo":"","msn":"","taobao":"","site":"http:\/\/","bio":"","interest":"","field1":"","field2":"","field3":"","field4":"","field5":"","field6":"","field7":"","field8":"","avatar":"http:\/\/www.zjtchy.com\/uc_server\/avatar.php?uid=1&size=middle"};
  5. var dz = {
复制代码



本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
⑧穿内裤 发表于 2018-1-31 16:16:31 | 显示全部楼层
确实,不必要的信息可以不显示出来
回复

使用道具 举报

民审大大 发表于 2018-1-31 22:40:18 | 显示全部楼层
这应用已经下架,作者在整改了
回复

使用道具 举报

h3cie 发表于 2018-2-5 16:38:51 | 显示全部楼层
上线之前不审的么
回复

使用道具 举报

湖中沉 发表于 2018-2-5 19:23:16 | 显示全部楼层
h3cie 发表于 2018-2-5 16:38
上线之前不审的么

审核不是全能,遗漏总有的。谁能保证每天看上万行代码不出一点纰漏呢
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-11-16 18:09 , Processed in 0.028775 second(s), 3 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表