当前位置: 首页 > news >正文

MCMS issue4: Content copy uses `cms:content:save` to read and clone source content

Vulnerability call chain

1.1 Summary

MCMS has a missing authorization vulnerability: Content copy uses cms:content:save to read and clone source content. A save-only user can read and duplicate source article data they are not authorized to view

  • Attack precondition: The attacker is an authenticated backend manager user with cms:content:save but without cms:content:view, knows a source content id, and the source content belongs to a list-type category
  • Security impact: A save-only user can read and duplicate source article data they are not authorized to view

1.2 Exploit path

Request GET /ms/cms/content/copy?id=<sourceId>. The endpoint reads the source content, resets a few fields, saves it as a new content record, and returns the cloned entity

1.3 Key code evidence

  1. src/main/java/net/mingsoft/cms/action/ContentAction.java

Evidence location: src/main/java/net/mingsoft/cms/action/ContentAction.java#L271
2. src/main/java/net/mingsoft/cms/action/ContentAction.java

Evidence location: src/main/java/net/mingsoft/cms/action/ContentAction.java#L278
3. src/main/java/net/mingsoft/cms/action/ContentAction.java

Evidence location: src/main/java/net/mingsoft/cms/action/ContentAction.java#L305
4. src/main/java/net/mingsoft/cms/action/ContentAction.java

Evidence location: src/main/java/net/mingsoft/cms/action/ContentAction.java#L306

3. Root Cause Analysis

Root Cause 1: Missing server-side authorization on the vulnerable operation.

The endpoint accepts user-controlled authorization-sensitive identifiers or fields, but the write/read path does not prove that the current caller may operate on the target object.

Root Cause 2: Missing object-scope or grant-bound validation.

The implementation relies on endpoint access, UI filtering, or object existence checks instead of enforcing target ownership, tenant boundary, role ceiling, or grantable-resource constraints at the service layer.

Require cms:content:view or equivalent source-content read authorization before copying. Return only the new id if full entity response is not needed

5. Verification after fix

  • Unauthorized callers receive HTTP 403 or equivalent rejection.
  • Out-of-scope target identifiers are rejected before database writes or sensitive reads.
  • Role, permission, tenant, organization, ownership, or grant-bound ceilings are enforced server-side.
  • Direct HTTP requests are rejected even when front-end controls are hidden.
http://www.jsqmd.com/news/1035892/

相关文章:

  • jwt修改kid指向已知文件加密绕过
  • Cursor Pro破解工具2025:解锁AI编程助手的完整功能体验
  • 2026深圳黄金回收领先者测评:权威夺冠,高价领跑 - 奢侈品回收测评
  • ATM网络APC流量控制算法:原理、参数计算与工程实践详解
  • 2026雅安焊缝探伤检测权威机构排行 TOP 本地高频选择,无损检测 + UT+RT+PT 检测 附电话地址 - 中安检测集团
  • 2026孝感焊缝探伤检测权威机构排行 TOP 本地高频选择,无损检测 + UT+RT+PT 检测 附电话地址 - 中安检测集团
  • 如何快速掌握编程:开源游戏化学习平台CodeCombat完整入门指南
  • 2026乌海焊缝探伤检测权威机构排行 TOP 本地高频选择,无损检测 + UT+RT+PT 检测 附电话地址 - 中安检测集团
  • 中国预制房出海对公文写作的启示:如何像搭积木一样“预制”高级材料?
  • 2026年泰州高压发电机组实力厂家推荐榜:口碑深耕/技术沉淀/应急保电领域标杆品牌深度解析 - 品牌发掘
  • RuoYi issue1: Role Menu Permission Overwrite
  • Honey Select 2汉化去码补丁:5分钟打造完美游戏体验
  • 2026西藏焊缝探伤检测权威机构排行 TOP 本地高频选择,无损检测 + UT+RT+PT 检测 附电话地址 - 中安检测集团
  • 基于KEA128的无感BLDC驱动:从硬件设计到反电动势过零检测算法实践
  • Appium复杂手势模拟:从W3C Actions到源码级调试实战
  • DSpace issue3: Registration Token Path Allows Arbitrary netid Binding
  • 国内亚克力定制主流厂家盘点 核心能力横向对比 - 起跑123
  • 2026忻州焊缝探伤检测权威机构排行 TOP 本地高频选择,无损检测 + UT+RT+PT 检测 附电话地址 - 中安检测集团
  • JEEWMS issue1: `saveUser` 可重建用户角色和组织绑定
  • 2026西宁焊缝探伤检测权威机构排行 TOP 本地高频选择,无损检测 + UT+RT+PT 检测 附电话地址 - 中安检测集团
  • 2026年移动拖车发电机组工厂推荐:静音节能与应急供电的实力之选 - 品牌发掘
  • 2026 AIGC 全球挑战赛收官:131 组作品角逐,为北京数字经济发展注入新动能!
  • B站缓存视频容器格式转换技术实现:m4s-converter架构解析与应用指南
  • 模型量化:从 FP16 到 INT4,怎么平衡精度和速度
  • 如何在5分钟内完成专业级虚拟背景设置:OBS背景移除插件终极指南
  • ZigBee网络配置实战:从ZPS工具到休眠设备通信避坑
  • 2026实力之选:泰州阳光发电设备有限公司——沃尔沃发电机组供应商的可靠动力之源 - 品牌发掘
  • 吴忠市空调维修/中央空调维修|本地避坑指南,满分五星平台|欧米到家首选 - 欧米到家
  • 实战指南:3步部署Qwen2-7B-Instruct,解锁企业级AI助手核心功能
  • 2026宿州焊缝探伤检测权威机构排行 TOP 本地高频选择,无损检测 + UT+RT+PT 检测 附电话地址 - 中安检测集团