Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
AI teammates
Sign in
Sign up
Fetch the repository succeeded.
Open Source
>
Web System
>
Content Management System
&&
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
126
Star
354
Fork
123
XiaoBingBy
/
TeaCMS
Code
Issues
10
Pull Requests
0
Wiki
Insights
Pipelines
Service
JavaDoc
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
DevLens
Don’t show this again
Update failed. Please try again later!
Remove this flag
Content Risk Flag
This task is identified by
as the content contains sensitive information such as code security bugs, privacy leaks, etc., so it is only accessible to contributors of this repository.
TeaCMS have a logic flaw
Backlog
#I6SXAF
jacky
Opened this issue
2023-04-04 16:02
TeaCMS存在逻辑缺陷 项目介绍 TeaCMS是由Spring-SpringMVC-MyBatis-MySQL数据库开发的一个博客系统。 开源项目地址 https://gitee.com/xiaobingby/TeaCMS 技术选择 后端:1.Spring、2.Spring MVC、3.MyBatis、4.druid-数据库连接池 5.PageHelper-Mybatis通用分页插件、6.FreeMarker-模板引擎 前端:1.Bootstrap、2.jQuery、3.jQuery Form、4.Vue.js、5.pace.js–网页自动加载进度条插件、6.bootstrapValidator.js-最好用的bootstrap表单验证插、7.lobibox-强大的jQuery消息通知框和信息提示框插件、8.ECharts-Javascript 的图表库 后台-UI:、1.Bootstrap-AdminLTE 漏洞概述 TeaCMS后台管理界面存在垂直越权漏洞普通用户demo可以访问超级管理员用户root的接口,进一步修改网站信息。 影响版本 2.3.3.RELEASE 环境搭建 1、下载源码,导入IDEA,使用maven进行编译 2、初始化数据库 漏洞复现 1.登录管理员root用户访问管理员界面,添加0权普通用户demo 登录demo用户,查看后台权限: 2.使用burpsuit抓取该管理员后台设置数据包 数据包如下: 3.将数据包中admin用户的cookie替换成demo用的cookie 发包成功,利用demo用户身份成功更改网站信息: 漏洞分析 缺陷代码位置 @RequestMapping(value = "/config.html") public String config(ModelMap modelMap) { WebConfig webConfig = webconfigDao.selectByPrimaryKey(1); modelMap.put("webConfig", webConfig); return "_admin/system/config"; 缺陷方法:config 这里没有对访问该接口的用户进行身份验证 修复方式 对可允许访问该接口的用户身份类型进行严格限制
TeaCMS存在逻辑缺陷 项目介绍 TeaCMS是由Spring-SpringMVC-MyBatis-MySQL数据库开发的一个博客系统。 开源项目地址 https://gitee.com/xiaobingby/TeaCMS 技术选择 后端:1.Spring、2.Spring MVC、3.MyBatis、4.druid-数据库连接池 5.PageHelper-Mybatis通用分页插件、6.FreeMarker-模板引擎 前端:1.Bootstrap、2.jQuery、3.jQuery Form、4.Vue.js、5.pace.js–网页自动加载进度条插件、6.bootstrapValidator.js-最好用的bootstrap表单验证插、7.lobibox-强大的jQuery消息通知框和信息提示框插件、8.ECharts-Javascript 的图表库 后台-UI:、1.Bootstrap-AdminLTE 漏洞概述 TeaCMS后台管理界面存在垂直越权漏洞普通用户demo可以访问超级管理员用户root的接口,进一步修改网站信息。 影响版本 2.3.3.RELEASE 环境搭建 1、下载源码,导入IDEA,使用maven进行编译 2、初始化数据库 漏洞复现 1.登录管理员root用户访问管理员界面,添加0权普通用户demo 登录demo用户,查看后台权限: 2.使用burpsuit抓取该管理员后台设置数据包 数据包如下: 3.将数据包中admin用户的cookie替换成demo用的cookie 发包成功,利用demo用户身份成功更改网站信息: 漏洞分析 缺陷代码位置 @RequestMapping(value = "/config.html") public String config(ModelMap modelMap) { WebConfig webConfig = webconfigDao.selectByPrimaryKey(1); modelMap.put("webConfig", webConfig); return "_admin/system/config"; 缺陷方法:config 这里没有对访问该接口的用户进行身份验证 修复方式 对可允许访问该接口的用户身份类型进行严格限制
Comments (
0
)
Sign in
to comment
Status
Backlog
Backlog
Doing
Done
Closed
Assignees
Not set
Labels
Not set
Label settings
Milestones
No related milestones
No related milestones
Pull Requests
None yet
None yet
Successfully merging a pull request will close this issue.
Branches
No related branch
Branches (
-
)
Tags (
-
)
Planed to start   -   Planed to end
-
Top level
Not Top
Top Level: High
Top Level: Medium
Top Level: Low
Priority
Not specified
Serious
Main
Secondary
Unimportant
参与者(1)
Java
1
https://gitee.com/xiaobingby/TeaCMS.git
git@gitee.com:xiaobingby/TeaCMS.git
xiaobingby
TeaCMS
TeaCMS
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Comment
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register