jflyfox / jfinal_cms

jfinal cms是一个java开发的功能强大的信息咨询网站,采用了简洁强大的JFinal作为web框架,模板引擎用的是beetl,数据库用mysql,前端bootstrap框架。支持oauth2认证、帐号注册、密码加密、评论及回复,消息提示,网站访问量统计,文章评论数和浏览量统计,回复管理,支持权限管理。后台模块包含:栏目管理,栏目公告,栏目滚动图片,文章管理,回复管理,意见反馈,我的相册,相册管理,图片管理,专辑管理、视频管理、缓存更新,友情链接,访问统计,联系人管理,模板管理,组织机构管理,用户管理,角色管理,菜单管理,数据字典管理。
http://mtg.jflyfox.com/
Apache License 2.0
628 stars 285 forks source link

XSS vulnerability exists in jfinal_cms V5.1.0 #53

Open superleeh opened 1 year ago

superleeh commented 1 year ago

Summary

There is XSS vulnerability below! The reason for the vulnerability is that there is no filter on user input. According to the guidelines of CMS, We can create a user, and we can control the user's account number, password and email and so on.....

Exploition

After, There are many ways to trigger the vulnerability! The one is that we can make a comment and wait other users to click the user created by ourselves. The another one can get admin's secrect util admin login.

OK! We will create a user at first. image Press the submit button, we get a alert below image we can create a normal user account via this way, and then we can update the information image

image

After we update the user's information, wo would wait! When the admin user login, we can get its secrect! image

image

ElevenKong commented 1 year ago

您好,您的来信我已收到!谢谢! Best  Wishes!                                 ——孔祥亮